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 f474c83f8a
)
This commit is contained in:
parent
005e61cbd6
commit
ca881725b1
12
patch.spec
12
patch.spec
@ -25,7 +25,11 @@ applications.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
|
# Avoid segfault.
|
||||||
%patch1 -p1 -b .sigsegv
|
%patch1 -p1 -b .sigsegv
|
||||||
|
|
||||||
|
# SELinux support.
|
||||||
%patch100 -p1 -b .selinux
|
%patch100 -p1 -b .selinux
|
||||||
|
|
||||||
%build
|
%build
|
||||||
@ -34,7 +38,6 @@ CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE"
|
|||||||
CFLAGS=`echo $CFLAGS|sed -e 's|-fstack-protector||g'`
|
CFLAGS=`echo $CFLAGS|sed -e 's|-fstack-protector||g'`
|
||||||
%endif
|
%endif
|
||||||
%configure
|
%configure
|
||||||
|
|
||||||
make %{?smp_mflags}
|
make %{?smp_mflags}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
@ -49,11 +52,16 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc NEWS README
|
%doc COPYING NEWS README
|
||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
%{_mandir}/*/*
|
%{_mandir}/*/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Aug 6 2010 Tim Waugh <twaugh@redhat.com>
|
||||||
|
- Added comments for all patches.
|
||||||
|
- Ship COPYING file.
|
||||||
|
- Removed sparc ifdefs in spec file.
|
||||||
|
|
||||||
* Wed Mar 10 2010 Dennis Gilmore <dennis@ausil.us> 2.6.1-2
|
* Wed Mar 10 2010 Dennis Gilmore <dennis@ausil.us> 2.6.1-2
|
||||||
- using -fstack-projector causes weirdness on 32 bit sparc so disabling for now
|
- using -fstack-projector causes weirdness on 32 bit sparc so disabling for now
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user