rpms/check/devel .cvsignore, 1.2, 1.3 check.spec, 1.8, 1.9 check-0.9.2-fPIC.patch, 1.1, NONE check-0.9.5-fPIC.patch, 1.1, NONE

Jerry James jjames at fedoraproject.org
Mon Dec 1 19:45:21 UTC 2008


Author: jjames

Update of /cvs/pkgs/rpms/check/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv16292/devel

Modified Files:
	.cvsignore check.spec 
Removed Files:
	check-0.9.2-fPIC.patch check-0.9.5-fPIC.patch 
Log Message:
* Mon Dec  1 2008 Jerry James <loganjerry at gmail.com> - 0.9.5-3
- Fix unowned directory (bz 473635)
- Drop unnecessary BuildRequires
- Replace patches with addition of -fPIC to CFLAGS in the spec file
- Add some more documentation files



Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/check/devel/.cvsignore,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- .cvsignore	19 Dec 2005 19:29:50 -0000	1.2
+++ .cvsignore	1 Dec 2008 19:44:51 -0000	1.3
@@ -1 +1 @@
-check-0.9.3.tar.gz
+check-0.9.5.tar.gz


Index: check.spec
===================================================================
RCS file: /cvs/pkgs/rpms/check/devel/check.spec,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- check.spec	19 Feb 2008 06:56:31 -0000	1.8
+++ check.spec	1 Dec 2008 19:44:51 -0000	1.9
@@ -1,16 +1,14 @@
-Name:		check
-Version:	0.9.5
-Release:	2%{?dist}.1
-Summary:	A unit test framework for C
-Source0:	http://download.sourceforge.net/check/%{name}-%{version}.tar.gz
-Group:		Development/Tools
-License:	LGPLv2+
-URL:		http://check.sourceforge.net/
-BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildRequires:	docbook-utils
+Name:           check
+Version:        0.9.5
+Release:        3%{?dist}
+Summary:        A unit test framework for C
+Source0:        http://download.sourceforge.net/check/%{name}-%{version}.tar.gz
+Group:          Development/Tools
+License:        LGPLv2+
+URL:            http://check.sourceforge.net/
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 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,27 +18,26 @@
 The output from unit tests can be used within source code editors and IDEs.
 
 %package devel
-Summary:	Libraries and headers for developing programs with check
-Group:		Development/Libraries
-Requires:	pkgconfig
-Requires:	%{name} = %{version}-%{release}
+Summary:        Libraries and headers for developing programs with check
+Group:          Development/Libraries
+Requires:       pkgconfig
+Requires:       %{name} = %{version}-%{release}
 
 %description devel
 Libraries and headers for developing programs with check
 
 %package static
 Summary:        Static libraries of check
-Group:		Development/Libraries
+Group:          Development/Libraries
 
 %description static
 Static libraries of check.
 
 %prep
 %setup -q
-%patch0 -p1
 
 %build
-%configure
+%configure CFLAGS="${RPM_OPT_FLAGS} -fPIC"
 make
 
 %install
@@ -48,13 +45,7 @@
 make DESTDIR=$RPM_BUILD_ROOT install
 rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
 rm -rf $RPM_BUILD_ROOT%{_infodir}/dir
-
-# 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
+rm -rf $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -72,17 +63,17 @@
 
 %files
 %defattr(-,root,root,-)
-%doc COPYING.LESSER ChangeLog ChangeLogOld NEWS README SVNChangeLog
+%doc AUTHORS COPYING.LESSER ChangeLog ChangeLogOld NEWS README SVNChangeLog
+%doc THANKS TODO
 %{_libdir}/libcheck.so.*
 %{_infodir}/check*
 
 %files devel
 %defattr(-,root,root,-)
+%doc COPYING.LESSER doc/example
 %{_includedir}/check.h
-%{_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.
@@ -91,6 +82,12 @@
 %{_libdir}/libcheck.a
 
 %changelog
+* Mon Dec  1 2008 Jerry James <loganjerry at gmail.com> - 0.9.5-3
+- Fix unowned directory (bz 473635)
+- Drop unnecessary BuildRequires
+- Replace patches with addition of -fPIC to CFLAGS in the spec file
+- Add some more documentation files
+
 * Tue Feb 19 2008 Fedora Release Engineering <rel-eng at fedoraproject.org> - 0.9.5-2.1
 - Autorebuild for GCC 4.3
 


--- check-0.9.2-fPIC.patch DELETED ---


--- check-0.9.5-fPIC.patch DELETED ---




More information about the fedora-extras-commits mailing list