[quota] Prevent from stripping by configure option
Petr Pisar
ppisar at fedoraproject.org
Tue Aug 23 15:51:00 UTC 2011
commit 17ea062635346b61c45bd2f6ca58bf743a300484
Author: Petr Písař <ppisar at redhat.com>
Date: Tue Aug 23 17:28:16 2011 +0200
Prevent from stripping by configure option
quota-4.00-no-stripping.patch | 54 -----------------------------------------
quota.spec | 14 ++++------
2 files changed, 6 insertions(+), 62 deletions(-)
---
diff --git a/quota.spec b/quota.spec
index c238083..1effd24 100644
--- a/quota.spec
+++ b/quota.spec
@@ -20,9 +20,6 @@ Source2: quota_nld.sysconfig
# Not accepted changes (378a64006bb1e818e84a1c77808563b802b028fa)
# Some of the lines have been superseded by other commits probably.
Patch0: quota-4.00-warnquota.patch
-# 4.00_pre2 provides --enable-strip-binaries configure option defulting to yes
-# TODO: Use the option instead of the patch
-Patch1: quota-4.00-no-stripping.patch
Patch2: quota-3.06-man-page.patch
Patch3: quota-3.06-pie.patch
Patch4: quota-3.13-wrong-ports.patch
@@ -104,7 +101,6 @@ Linux/UNIX environment.
%prep
%setup -q -n quota-tools
%patch0 -p1
-%patch1 -p1
%patch2 -p1
%ifnarch ppc ppc64
%patch3 -p1
@@ -139,12 +135,13 @@ sed -i -e '/^ *[^#]\{1,\}$/ s/^/#/' quotatab
%build
%configure \
- --enable-ldapmail=try \
+ --enable-ldapmail=try \
+ --enable-netlink=yes \
+ --enable-rootsbin \
%if %{rpcsetquota}
- --enable-rpcsetquota=yes \
+ --enable-rpcsetquota=yes \
%endif
- --enable-rootsbin \
- --enable-netlink=yes
+ --enable-strip-binaries=no
make
@@ -228,6 +225,7 @@ fi
* Tue Aug 23 2011 Petr Pisar <ppisar at redhat.com> - 1:4.00-1
- 4.00 bump
- Remove unneeded LDAP linking patch
+- Prevent from stripping by configure option
* Thu Aug 18 2011 Petr Pisar <ppisar at redhat.com> - 1:4.00-0.17.pre1
- Do not report missing utmp record to syslog (bug #731622)
More information about the scm-commits
mailing list