Rebuild for GCC 4.7.
Minor spec file cleanups.
This commit is contained in:
parent
a2da1c490f
commit
08a2e2f357
19
check.spec
19
check.spec
@ -1,13 +1,13 @@
|
||||
Name: check
|
||||
Version: 0.9.8
|
||||
Release: 3%{?dist}
|
||||
Release: 4%{?dist}
|
||||
Summary: A unit test framework for C
|
||||
Source0: http://downloads.sourceforge.net/check/%{name}-%{version}.tar.gz
|
||||
Group: Development/Tools
|
||||
License: LGPLv2+
|
||||
URL: http://check.sourceforge.net/
|
||||
Requires(post): /sbin/install-info
|
||||
Requires(preun): /sbin/install-info
|
||||
Requires(post): info
|
||||
Requires(preun): info
|
||||
|
||||
%description
|
||||
Check is a unit test framework for C. It features a simple interface for
|
||||
@ -20,7 +20,7 @@ The output from unit tests can be used within source code editors and IDEs.
|
||||
Summary: Libraries and headers for developing programs with check
|
||||
Group: Development/Libraries
|
||||
Requires: pkgconfig
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
Libraries and headers for developing programs with check
|
||||
@ -40,15 +40,11 @@ Static libraries of check.
|
||||
make
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make DESTDIR=$RPM_BUILD_ROOT install
|
||||
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
||||
rm -rf $RPM_BUILD_ROOT%{_infodir}/dir
|
||||
rm -rf $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%post
|
||||
/sbin/ldconfig
|
||||
if [ -e %{_infodir}/%{name}.info* ]; then
|
||||
@ -65,14 +61,12 @@ if [ $1 = 0 -a -e %{_infodir}/%{name}.info* ]; then
|
||||
fi
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS COPYING.LESSER ChangeLog ChangeLogOld NEWS README SVNChangeLog
|
||||
%doc THANKS TODO
|
||||
%{_libdir}/libcheck.so.*
|
||||
%{_infodir}/check*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%doc doc/example
|
||||
%{_includedir}/check.h
|
||||
%{_libdir}/libcheck.so
|
||||
@ -81,11 +75,14 @@ fi
|
||||
|
||||
#check used to be static only, hence this.
|
||||
%files static
|
||||
%defattr(-,root,root,-)
|
||||
%doc COPYING.LESSER
|
||||
%{_libdir}/libcheck.a
|
||||
|
||||
%changelog
|
||||
* Fri Jan 6 2012 Jerry James <loganjerry@gmail.com> - 0.9.8-4
|
||||
- Rebuild for GCC 4.7
|
||||
- Minor spec file cleanups.
|
||||
|
||||
* Mon Feb 14 2011 Jerry James <loganjerry@gmail.com> - 0.9.8-3
|
||||
- Rebuild for new gcc (Fedora 15 mass rebuild)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user