[patch/f12/master] Cherry-picked spec file fix-ups from f14 branch.
Tim Waugh
twaugh at fedoraproject.org
Fri Aug 6 16:21:13 UTC 2010
commit ca881725b1a9ec0bd719512310f5bb542195ed15
Author: Tim Waugh <twaugh at redhat.com>
Date: Fri Aug 6 17:06:36 2010 +0100
Cherry-picked spec file fix-ups from f14 branch.
- Added comments for all patches.
- Ship COPYING file.
- Removed sparc ifdefs in spec file.
(cherry picked from commit f474c83f8ab22d59ac204ce13d0525c487bacd78)
patch.spec | 12 ++++++++++--
1 files changed, 10 insertions(+), 2 deletions(-)
---
diff --git a/patch.spec b/patch.spec
index 14135f4..f175c74 100644
--- a/patch.spec
+++ b/patch.spec
@@ -25,7 +25,11 @@ applications.
%prep
%setup -q
+
+# Avoid segfault.
%patch1 -p1 -b .sigsegv
+
+# SELinux support.
%patch100 -p1 -b .selinux
%build
@@ -34,7 +38,6 @@ CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE"
CFLAGS=`echo $CFLAGS|sed -e 's|-fstack-protector||g'`
%endif
%configure
-
make %{?smp_mflags}
%check
@@ -49,11 +52,16 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
-%doc NEWS README
+%doc COPYING NEWS README
%{_bindir}/*
%{_mandir}/*/*
%changelog
+* Fri Aug 6 2010 Tim Waugh <twaugh at redhat.com>
+- Added comments for all patches.
+- Ship COPYING file.
+- Removed sparc ifdefs in spec file.
+
* Wed Mar 10 2010 Dennis Gilmore <dennis at ausil.us> 2.6.1-2
- using -fstack-projector causes weirdness on 32 bit sparc so disabling for now
More information about the scm-commits
mailing list