From fcb2e836ee7b516df070f7eaf24cea9268f8ecb6 Mon Sep 17 00:00:00 2001 From: lapid Date: Fri, 14 Feb 2020 13:02:39 -0700 Subject: [PATCH 01/18] changed name --- give.spec | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/give.spec b/give.spec index 96248de..c38f22e 100644 --- a/give.spec +++ b/give.spec @@ -1,24 +1,22 @@ -%define realname give -%define realversion 3.1-5 - #don't strip binaries %define __os_install_post /usr/lib/rpm/brp-compress %define debug_package %{nil} -Name: %{realname}-%{realversion} -Version: ptools -Release: 1 +#Name: give-%{version}-%{release} +Name: give +Version: 3.1 +Release: 5%{?dist} Summary: lc file transfer utility License: LLNL Internal Group: System Environment/Base -Source0: %{realname}-%{realversion}.tgz -BuildRoot: %{_tmppath}/%{name}-buildroot +Source0: https://github.com/hpc/give/archive/v3.1-5.tar.gz +BuildRoot: ~/rpmbuild/BUILDROOT URL: https://www.git.lanl.gov/filesystems/give ###################################################################### %prep -%setup -n %{name} +%setup -n %{name}-%{version}-%{release} #Wonderful process to check for config options...wish there was an %elif for this! #Checks to see if both defined, if both aren't defined it checks one, then the other, @@ -66,6 +64,7 @@ exposing the files to third parties. %local_options %install +# delete this step later rm -rf "$RPM_BUILD_ROOT" mkdir -p $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT%{_bindir} From 157d70cd3b536147159110f651c3ab40346e1854 Mon Sep 17 00:00:00 2001 From: lapid Date: Fri, 14 Feb 2020 13:05:07 -0700 Subject: [PATCH 02/18] deleted unnecessary comment --- give.spec | 1 - 1 file changed, 1 deletion(-) diff --git a/give.spec b/give.spec index c38f22e..a18887e 100644 --- a/give.spec +++ b/give.spec @@ -64,7 +64,6 @@ exposing the files to third parties. %local_options %install -# delete this step later rm -rf "$RPM_BUILD_ROOT" mkdir -p $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT%{_bindir} From 5907e2afc02fe84d3975c9cbfe56cd48806ae09d Mon Sep 17 00:00:00 2001 From: lapid Date: Fri, 14 Feb 2020 13:45:17 -0700 Subject: [PATCH 03/18] elaborated top comment --- give.spec | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/give.spec b/give.spec index a18887e..179ca46 100644 --- a/give.spec +++ b/give.spec @@ -1,8 +1,9 @@ -#don't strip binaries +# The default behavior of rpmbuild is to strip binaries after installation +# in order to reduce file size. The two macros defined below override that +# behavior and compresses the man and info pages for debugging purposes. %define __os_install_post /usr/lib/rpm/brp-compress %define debug_package %{nil} -#Name: give-%{version}-%{release} Name: give Version: 3.1 Release: 5%{?dist} From 3ac707d6ad9eeba56461ca7ea9084ffb54e9d154 Mon Sep 17 00:00:00 2001 From: lapid Date: Fri, 14 Feb 2020 14:57:54 -0700 Subject: [PATCH 04/18] changed build section to check for strict checks --- give.spec | 59 +++++++++++++++++-------------------------------------- 1 file changed, 18 insertions(+), 41 deletions(-) diff --git a/give.spec b/give.spec index 179ca46..dd874b4 100644 --- a/give.spec +++ b/give.spec @@ -1,63 +1,40 @@ -# The default behavior of rpmbuild is to strip binaries after installation -# in order to reduce file size. The two macros defined below override that -# behavior and compresses the man and info pages for debugging purposes. +# add --with checks option (default is enable non strict checks) +%bcond_with checks + +# The default behavior of rpmbuild, depending on your OS, often is to strip binaries +# after installation in order to reduce file size. The two macros defined below +# override that behavior and compresses the man and info pages for debugging purposes. +# For more information: https://www.redhat.com/archives/rpm-list/2001-November/msg00257.html %define __os_install_post /usr/lib/rpm/brp-compress %define debug_package %{nil} +%define default_give_dir /usr/give + Name: give Version: 3.1 Release: 5%{?dist} Summary: lc file transfer utility License: LLNL Internal Group: System Environment/Base -Source0: https://github.com/hpc/give/archive/v3.1-5.tar.gz -BuildRoot: ~/rpmbuild/BUILDROOT -URL: https://www.git.lanl.gov/filesystems/give +Source0: https://github.com/hpc/%{name}/archive/v%{version}-%{release}.tar.gz +URL: https://github.com/hpc/give ###################################################################### %prep %setup -n %{name}-%{version}-%{release} -#Wonderful process to check for config options...wish there was an %elif for this! -#Checks to see if both defined, if both aren't defined it checks one, then the other, -#finally if none... just run config with defaults and make. -#For Release 3: -#Also define a text string to include in the RPM description, stating which (if any) of these options was used. %build -%if %{?strict_checks:1}%{!?strict_checks:0} && %{?alt_givedir:1}%{!?alt_givedir:0} - %if "%{strict_checks}" == "no" || "%{strict_checks}" == "No" || "%{strict_checks}" == "NO" - %configure --enable-non-strict-checks --enable-givedir=%{alt_givedir} - %define local_options Built with non-strict-checks and alt givedir=%{alt_givedir} - make - %else - echo "*****BAD PARAM TO STRICT-CHECKS, ACCEPTABLE VALS: no, No, or NO. IF YOU WANT STRICT CHECKING DO NOT DEFINE STRICT CHECKS. IT IS ENABLED BY DEFAULT*****." - exit -1 - %endif +%if %{with checks} + %configure --enable-givedir=%{default_give_dir} + %define local_options Built with strict checks + make %else - %if %{?strict_checks:1}%{!?strict_checks:0} - %if "%{strict_checks}" == "no" || "%{strict_checks}" == "No" || "%{strict_checks}" == "NO" - %configure --enable-non-strict-checks - %define local_options Built with non-strict-checks only - make - %else - echo "*****BAD PARAM TO STRICT-CHECKS, ACCEPTABLE VALS: no, No, or NO. IF YOU WANT STRICT CHECKING DO NOT DEFINE STRICT CHECKS. IT IS ENABLED BY DEFAULT*****." - exit -1 - %endif - %else - %if %{?alt_givedir:1}%{!?alt_givedir:0} - %configure --enable-givedir=%{alt_givedir} - %define local_options Built with alt givedir=%{alt_givedir} only - make - %else - %define local_options Built with default values, strict checking and /usr/givedir - %configure - make - %endif - %endif + %configure --enable-non-strict-checks --enable-givedir=%{default_give_dir} + %define local_options Built with non-strict checks (default) + make %endif - %description Give and take are a set of companion utilities that allow a secure transfer of files from one user to another without From 8d02e00b0ddc911eaf36ef2306865268a737c562 Mon Sep 17 00:00:00 2001 From: lapid Date: Fri, 14 Feb 2020 14:59:23 -0700 Subject: [PATCH 05/18] changed URL to use macro --- give.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/give.spec b/give.spec index dd874b4..dae1262 100644 --- a/give.spec +++ b/give.spec @@ -17,7 +17,7 @@ Summary: lc file transfer utility License: LLNL Internal Group: System Environment/Base Source0: https://github.com/hpc/%{name}/archive/v%{version}-%{release}.tar.gz -URL: https://github.com/hpc/give +URL: https://github.com/hpc/%{name} ###################################################################### From 030c2c9abee5b869ab9cb76c1ab27f2fc29fa898 Mon Sep 17 00:00:00 2001 From: lapid Date: Fri, 14 Feb 2020 15:36:04 -0700 Subject: [PATCH 06/18] allows user to define give_dir as something else --- give.spec | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/give.spec b/give.spec index dae1262..8ed66b1 100644 --- a/give.spec +++ b/give.spec @@ -1,14 +1,16 @@ # add --with checks option (default is enable non strict checks) %bcond_with checks -# The default behavior of rpmbuild, depending on your OS, often is to strip binaries -# after installation in order to reduce file size. The two macros defined below -# override that behavior and compresses the man and info pages for debugging purposes. -# For more information: https://www.redhat.com/archives/rpm-list/2001-November/msg00257.html +# The default behavior of rpmbuild, depending on your OS, often is to strip +# binaries after installation in order to reduce file size. The two macros +# defined below override that behavior and compresses the man and info pages +# for debugging purposes. For more information: +# https://www.redhat.com/archives/rpm-list/2001-November/msg00257.html %define __os_install_post /usr/lib/rpm/brp-compress %define debug_package %{nil} -%define default_give_dir /usr/give +# Default give dir is /usr/give, unless the user overrides it +%{!?give_dir: %define give_dir /usr/give} Name: give Version: 3.1 @@ -26,11 +28,11 @@ URL: https://github.com/hpc/%{name} %build %if %{with checks} - %configure --enable-givedir=%{default_give_dir} + %configure --enable-givedir=%{give_dir} %define local_options Built with strict checks make %else - %configure --enable-non-strict-checks --enable-givedir=%{default_give_dir} + %configure --enable-non-strict-checks --enable-givedir=%{give_dir} %define local_options Built with non-strict checks (default) make %endif @@ -77,6 +79,8 @@ rm -rf $RPM_BUILD_ROOT * Thu Nov 01 2012 Georgia Pedicini - LANL version 3.1-2, tighten permissions * Tue Nov 06 2012 Georgia Pedicini -- Added defined text string to include in description, citing which (if any) options were used in the build. +- Added defined text string to include in description, citing which (if any) +options were used in the build. * Wed May 25 2016 Dominic Manno -- Converted to be python2 and python3 compatible, mostly print statement to function calls +- Converted to be python2 and python3 compatible, mostly print statement to +function calls From be1a7dc11cc593786f7b3c76e22a973c21c987c1 Mon Sep 17 00:00:00 2001 From: lapid Date: Fri, 14 Feb 2020 16:21:33 -0700 Subject: [PATCH 07/18] updated INSTALL to reflect new arguments, marco names, etc --- INSTALL | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/INSTALL b/INSTALL index 3ac6a0d..2df5390 100644 --- a/INSTALL +++ b/INSTALL @@ -36,8 +36,8 @@ RPM Build process: The RPM has a few options to take into consideration: - --define "strict_checks no".................turns strict checks off, the default has strict checking set to yes. This options only takes in: no, No, or NO. If you want strict checks on, don't define it. It's set on by default. - --define "alt_givedir /my/givedir/".........allows you to set your own givedir location. Default is set to /usr/givedir + --with checks............enables strict checks. The default has strict checking set to disabled. + --define "give_dir /my/givedir/".........allows you to set your own givedir location. Default is set to /usr/give ***the directory you provide as DIR must exist, be owned by root, and be mode 0755. If those conditions aren't met 'give' will complain and quit. @@ -49,15 +49,15 @@ The RPM has a few options to take into consideration: build with non-strict checks only: - from a tar: rpmbuild -ta give-3.1-1.tgz --define "strict_checks no" + from a tar: rpmbuild -ta give-3.1-1.tgz --with checks - from a spec: rpmbuild -ba path_to_spec_file/give.spec --define "strict_checks no" + from a spec: rpmbuild -ba path_to_spec_file/give.spec --with checks with both options: - from a tar: rpmbuild -ta give-3.1-1.tgz --define "alt_givedir /desired/givedir" --define "strict_checks no" + from a tar: rpmbuild -ta give-3.1-1.tgz --define "give_dir /desired/givedir" --with checks - from a spec: rpmbuild -ba path_to_spec_file/give.spec --define "alt_givedir /desired/givedir" --define "strict_checks no" + from a spec: rpmbuild -ba path_to_spec_file/give.spec --define "give_dir /desired/givedir" --with checks =============================================================================================================================================================================================================== From 64204524328beeda919ccbafcb3eb58ba07adc3c Mon Sep 17 00:00:00 2001 From: lapid Date: Tue, 18 Feb 2020 12:03:20 -0700 Subject: [PATCH 08/18] removed %{dist} --- give.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/give.spec b/give.spec index 8ed66b1..00eed7d 100644 --- a/give.spec +++ b/give.spec @@ -14,7 +14,7 @@ Name: give Version: 3.1 -Release: 5%{?dist} +Release: 5 Summary: lc file transfer utility License: LLNL Internal Group: System Environment/Base From 44576f18dcb03b7729df0fa5dccc8268478176fe Mon Sep 17 00:00:00 2001 From: lapid Date: Tue, 18 Feb 2020 13:08:24 -0700 Subject: [PATCH 09/18] fixed give_dir default condition --- give.spec | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/give.spec b/give.spec index 00eed7d..2b2401d 100644 --- a/give.spec +++ b/give.spec @@ -9,9 +9,6 @@ %define __os_install_post /usr/lib/rpm/brp-compress %define debug_package %{nil} -# Default give dir is /usr/give, unless the user overrides it -%{!?give_dir: %define give_dir /usr/give} - Name: give Version: 3.1 Release: 5 @@ -28,10 +25,12 @@ URL: https://github.com/hpc/%{name} %build %if %{with checks} + %{!?give_dir: %define give_dir /usr/give} %configure --enable-givedir=%{give_dir} %define local_options Built with strict checks make %else + %{!?give_dir: %define give_dir /usr/give} %configure --enable-non-strict-checks --enable-givedir=%{give_dir} %define local_options Built with non-strict checks (default) make From e8f987d285d8287647873be1bfc189240921b91e Mon Sep 17 00:00:00 2001 From: lapid Date: Wed, 19 Feb 2020 14:44:24 -0700 Subject: [PATCH 10/18] incremented release and added to changelog --- give.spec | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/give.spec b/give.spec index 2b2401d..4863b11 100644 --- a/give.spec +++ b/give.spec @@ -11,11 +11,11 @@ Name: give Version: 3.1 -Release: 5 +Release: 6%{?dist} Summary: lc file transfer utility License: LLNL Internal Group: System Environment/Base -Source0: https://github.com/hpc/%{name}/archive/v%{version}-%{release}.tar.gz +Source0: https://github.com/francinelapid/{name}/archive/v{version}.tar.gz URL: https://github.com/hpc/%{name} @@ -78,8 +78,8 @@ rm -rf $RPM_BUILD_ROOT * Thu Nov 01 2012 Georgia Pedicini - LANL version 3.1-2, tighten permissions * Tue Nov 06 2012 Georgia Pedicini -- Added defined text string to include in description, citing which (if any) -options were used in the build. +- Added defined text string to include in description, citing which (if any) options were used in the build. * Wed May 25 2016 Dominic Manno -- Converted to be python2 and python3 compatible, mostly print statement to -function calls +- Converted to be python2 and python3 compatible, mostly print statement to function calls + * Wed Feb 19 2020 Francine Lapid +- Edited spec file to change defaults and arguments \ No newline at end of file From fac2f3c13fd74c82d1bb2095efb3bb16275663c2 Mon Sep 17 00:00:00 2001 From: lapid Date: Wed, 19 Feb 2020 14:46:47 -0700 Subject: [PATCH 11/18] added new line --- give.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/give.spec b/give.spec index 4863b11..ec15827 100644 --- a/give.spec +++ b/give.spec @@ -82,4 +82,4 @@ rm -rf $RPM_BUILD_ROOT * Wed May 25 2016 Dominic Manno - Converted to be python2 and python3 compatible, mostly print statement to function calls * Wed Feb 19 2020 Francine Lapid -- Edited spec file to change defaults and arguments \ No newline at end of file +- Edited spec file to change defaults and arguments From bf68e3ad5ed403ad4e270afff06e6608a77e0399 Mon Sep 17 00:00:00 2001 From: lapid Date: Wed, 19 Feb 2020 15:11:40 -0700 Subject: [PATCH 12/18] corrected macro referencing version --- give.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/give.spec b/give.spec index ec15827..6aa0c23 100644 --- a/give.spec +++ b/give.spec @@ -15,7 +15,7 @@ Release: 6%{?dist} Summary: lc file transfer utility License: LLNL Internal Group: System Environment/Base -Source0: https://github.com/francinelapid/{name}/archive/v{version}.tar.gz +Source0: https://github.com/francinelapid/{name}/archive/v%{version}.tar.gz URL: https://github.com/hpc/%{name} From 9b66832408343f900bc64cda61f58a20f93ca942 Mon Sep 17 00:00:00 2001 From: lapid Date: Wed, 19 Feb 2020 15:13:22 -0700 Subject: [PATCH 13/18] changed setup build name --- give.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/give.spec b/give.spec index 6aa0c23..fcbb0e6 100644 --- a/give.spec +++ b/give.spec @@ -21,7 +21,7 @@ URL: https://github.com/hpc/%{name} ###################################################################### %prep -%setup -n %{name}-%{version}-%{release} +%setup -n %{name}-%{version} %build %if %{with checks} From 8ac9556278373fde2d21d098666e51325f2ffe68 Mon Sep 17 00:00:00 2001 From: lapid Date: Wed, 11 Mar 2020 12:04:47 -0600 Subject: [PATCH 14/18] changed Source0 to point to original repo --- give.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/give.spec b/give.spec index fcbb0e6..38e31d0 100644 --- a/give.spec +++ b/give.spec @@ -15,7 +15,7 @@ Release: 6%{?dist} Summary: lc file transfer utility License: LLNL Internal Group: System Environment/Base -Source0: https://github.com/francinelapid/{name}/archive/v%{version}.tar.gz +Source0: https://github.com/hpc/%{name}/archive/v%{version}.tar.gz URL: https://github.com/hpc/%{name} From d038a69aa7b4a9b758b28a72f647cd3b05040a7c Mon Sep 17 00:00:00 2001 From: Francine Lapid Date: Mon, 6 Jul 2020 09:34:11 -0600 Subject: [PATCH 15/18] changed checks to strict_checks --- give.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/give.spec b/give.spec index 38e31d0..2438cd5 100644 --- a/give.spec +++ b/give.spec @@ -1,5 +1,5 @@ -# add --with checks option (default is enable non strict checks) -%bcond_with checks +# add --with strict_checks option (default is enable non strict checks) +%bcond_with strict_checks # The default behavior of rpmbuild, depending on your OS, often is to strip # binaries after installation in order to reduce file size. The two macros @@ -24,7 +24,7 @@ URL: https://github.com/hpc/%{name} %setup -n %{name}-%{version} %build -%if %{with checks} +%if %{with strict_checks} %{!?give_dir: %define give_dir /usr/give} %configure --enable-givedir=%{give_dir} %define local_options Built with strict checks From cb29316474e4134e74fb866ad827da5c50196cd7 Mon Sep 17 00:00:00 2001 From: Francine Lapid Date: Mon, 6 Jul 2020 09:39:27 -0600 Subject: [PATCH 16/18] updated INSTALL to reflect --with strict_checks --- INSTALL | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/INSTALL b/INSTALL index 2df5390..9638877 100644 --- a/INSTALL +++ b/INSTALL @@ -36,7 +36,7 @@ RPM Build process: The RPM has a few options to take into consideration: - --with checks............enables strict checks. The default has strict checking set to disabled. + --with strict_checks............enables strict checks. The default has strict checking set to disabled. --define "give_dir /my/givedir/".........allows you to set your own givedir location. Default is set to /usr/give ***the directory you provide as DIR must exist, be owned by root, and be mode 0755. If those conditions aren't met 'give' will complain and quit. @@ -49,15 +49,15 @@ The RPM has a few options to take into consideration: build with non-strict checks only: - from a tar: rpmbuild -ta give-3.1-1.tgz --with checks + from a tar: rpmbuild -ta give-3.1-1.tgz --with strict_checks - from a spec: rpmbuild -ba path_to_spec_file/give.spec --with checks + from a spec: rpmbuild -ba path_to_spec_file/give.spec --with strict_checks with both options: - from a tar: rpmbuild -ta give-3.1-1.tgz --define "give_dir /desired/givedir" --with checks + from a tar: rpmbuild -ta give-3.1-1.tgz --define "give_dir /desired/givedir" --with strict_checks - from a spec: rpmbuild -ba path_to_spec_file/give.spec --define "give_dir /desired/givedir" --with checks + from a spec: rpmbuild -ba path_to_spec_file/give.spec --define "give_dir /desired/givedir" --with strict_checks =============================================================================================================================================================================================================== From 62dc0f16dfe2c3fd72eb5b63a0a320d5a2042731 Mon Sep 17 00:00:00 2001 From: Francine Lapid Date: Mon, 6 Jul 2020 09:56:32 -0600 Subject: [PATCH 17/18] moved define give_dir to its own if/else block --- give.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/give.spec b/give.spec index 2438cd5..1593c2f 100644 --- a/give.spec +++ b/give.spec @@ -24,13 +24,16 @@ URL: https://github.com/hpc/%{name} %setup -n %{name}-%{version} %build +# if give_dir is not defined, give it the value of /usr/give +%if %{?give_dir:0}%{!?give_dir:1} + %define give_dir /usr/give +%endif + %if %{with strict_checks} - %{!?give_dir: %define give_dir /usr/give} %configure --enable-givedir=%{give_dir} %define local_options Built with strict checks make %else - %{!?give_dir: %define give_dir /usr/give} %configure --enable-non-strict-checks --enable-givedir=%{give_dir} %define local_options Built with non-strict checks (default) make From 51d5c5e9b8b8fba6c615a887bc4b883b884909ac Mon Sep 17 00:00:00 2001 From: Francine Lapid Date: Mon, 13 Jul 2020 09:02:51 -0600 Subject: [PATCH 18/18] changed default to strict checks enabled --- INSTALL | 10 +++++----- give.spec | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/INSTALL b/INSTALL index 9638877..a3d8977 100644 --- a/INSTALL +++ b/INSTALL @@ -36,7 +36,7 @@ RPM Build process: The RPM has a few options to take into consideration: - --with strict_checks............enables strict checks. The default has strict checking set to disabled. + --without strict_checks............disables strict checks. The default has strict checking set to enabled. --define "give_dir /my/givedir/".........allows you to set your own givedir location. Default is set to /usr/give ***the directory you provide as DIR must exist, be owned by root, and be mode 0755. If those conditions aren't met 'give' will complain and quit. @@ -49,15 +49,15 @@ The RPM has a few options to take into consideration: build with non-strict checks only: - from a tar: rpmbuild -ta give-3.1-1.tgz --with strict_checks + from a tar: rpmbuild -ta give-3.1-1.tgz --without strict_checks - from a spec: rpmbuild -ba path_to_spec_file/give.spec --with strict_checks + from a spec: rpmbuild -ba path_to_spec_file/give.spec --without strict_checks with both options: - from a tar: rpmbuild -ta give-3.1-1.tgz --define "give_dir /desired/givedir" --with strict_checks + from a tar: rpmbuild -ta give-3.1-1.tgz --define "give_dir /desired/givedir" - from a spec: rpmbuild -ba path_to_spec_file/give.spec --define "give_dir /desired/givedir" --with strict_checks + from a spec: rpmbuild -ba path_to_spec_file/give.spec --define "give_dir /desired/givedir" =============================================================================================================================================================================================================== diff --git a/give.spec b/give.spec index 1593c2f..ce69e1f 100644 --- a/give.spec +++ b/give.spec @@ -1,5 +1,5 @@ -# add --with strict_checks option (default is enable non strict checks) -%bcond_with strict_checks +# add --without strict_checks option (default is enable strict checks) +%bcond_without strict_checks # The default behavior of rpmbuild, depending on your OS, often is to strip # binaries after installation in order to reduce file size. The two macros