rpms/check/devel check-0.9.5-fPIC.patch, NONE, 1.1 check.spec, 1.5, 1.6 sources, 1.2, 1.3
Tom Callaway (spot)
fedora-extras-commits at redhat.com
Thu Aug 2 20:34:55 UTC 2007
Author: spot
Update of /cvs/pkgs/rpms/check/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv30969/devel
Modified Files:
check.spec sources
Added Files:
check-0.9.5-fPIC.patch
Log Message:
0.9.5 for devel, license fix for all.
check-0.9.5-fPIC.patch:
--- NEW FILE check-0.9.5-fPIC.patch ---
diff -up check-0.9.5/configure.BAD check-0.9.5/configure
--- check-0.9.5/configure.BAD 2007-08-02 14:41:44.000000000 -0400
+++ check-0.9.5/configure 2007-08-02 14:41:59.000000000 -0400
@@ -18718,7 +18718,7 @@ LIBTOOL='$(SHELL) $(top_builddir)/libtoo
if test -n "$GCC"; then
- CFLAGS="$CFLAGS -Wall -Wstrict-prototypes -Wmissing-prototypes -Wwrite-strings"
+ CFLAGS="$CFLAGS -Wall -Wstrict-prototypes -Wmissing-prototypes -Wwrite-strings -fPIC"
fi
for ac_prog in gcov
do
Index: check.spec
===================================================================
RCS file: /cvs/pkgs/rpms/check/devel/check.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- check.spec 15 Jul 2006 04:06:14 -0000 1.5
+++ check.spec 2 Aug 2007 20:34:23 -0000 1.6
@@ -1,14 +1,16 @@
Name: check
-Version: 0.9.3
-Release: 5%{?dist}
+Version: 0.9.5
+Release: 1%{?dist}
Summary: A unit test framework for C
Source0: http://download.sourceforge.net/check/%{name}-%{version}.tar.gz
Group: Development/Tools
-License: LGPL
+License: LGPLv2+
URL: http://check.sourceforge.net/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: docbook-utils
-Patch0: check-0.9.2-fPIC.patch
+Requires(post): /sbin/install-info
+Requires(preun): /sbin/install-info
+Patch0: check-0.9.5-fPIC.patch
%description
Check is a unit test framework for C. It features a simple interface for
@@ -20,40 +22,77 @@
%package devel
Summary: Libraries and headers for developing programs with check
Group: Development/Libraries
-Provides: %{name} = %{version}-%{release}
+Requires: pkgconfig
+Requires: %{name} = %{version}-%{release}
%description devel
-Check is a unit test framework for C. It features a simple interface for
-defining unit tests, putting little in the way of the developer. Tests
-are run in a separate address space, so Check can catch both assertion
-failures and code errors that cause segmentation faults or other signals.
-The output from unit tests can be used within source code editors and IDEs.
+Libraries and headers for developing programs with check
+
+%package static
+Summary: Static libraries of check
+Group: Development/Libraries
+
+%description static
+Static libraries of check.
%prep
%setup -q
%patch0 -p1
%build
-# check prefers to be static linked, do not remove
%configure
make
%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
+rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
+
+# redundant files
+rm -f $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}/COPYING.LESSER
+rm -f $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}/ChangeLog*
+rm -f $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}/NEWS
+rm -f $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}/README
+rm -f $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}/SVNChangeLog
%clean
rm -rf $RPM_BUILD_ROOT
+%post
+/sbin/ldconfig
+/sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir || :
+
+%postun -p /sbin/ldconfig
+
+%preun
+if [ $1 = 0 ]; then
+ /sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir || :
+fi
+
+%files
+%defattr(-,root,root,-)
+%doc COPYING.LESSER ChangeLog ChangeLogOld NEWS README SVNChangeLog
+%{_libdir}/libcheck.so.*
+%{_infodir}/check*
+
%files devel
%defattr(-,root,root,-)
%{_includedir}/check.h
-# check prefers to be static linked, do not remove
-%{_libdir}/libcheck.a
+%{_defaultdocdir}/%{name}/example/
+%{_libdir}/libcheck.so
+%{_libdir}/pkgconfig/check.pc
%{_datadir}/doc/%{name}-%{version}
%{_datadir}/aclocal/check.m4
+#check used to be static only, hence this.
+%files static
+%defattr(-,root,root,-)
+%{_libdir}/libcheck.a
+
%changelog
+* Thu Aug 2 2007 Tom "spot" Callaway <tcallawa at redhat.com> 0.9.5-1
+- 0.9.5 bump
+
* Fri Jul 14 2006 Jesse Keating <jkeating at redhat.com> - 0.9.3-5
- rebuild
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/check/devel/sources,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- sources 19 Dec 2005 19:29:50 -0000 1.2
+++ sources 2 Aug 2007 20:34:23 -0000 1.3
@@ -1 +1 @@
-6e5870f7c9c5414572158d8005e91d68 check-0.9.3.tar.gz
+30143c7974b547a12a7da47809a90951 check-0.9.5.tar.gz
More information about the fedora-extras-commits
mailing list