rpms/check/devel check.spec,1.1,1.2
Tom Callaway (spot)
fedora-extras-commits at redhat.com
Sat Sep 17 13:17:15 UTC 2005
Author: spot
Update of /cvs/extras/rpms/check/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv8287/devel
Modified Files:
check.spec
Log Message:
Trim down check package, get rid of so files (and only build -devel).
Index: check.spec
===================================================================
RCS file: /cvs/extras/rpms/check/devel/check.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- check.spec 12 Sep 2005 14:23:07 -0000 1.1
+++ check.spec 17 Sep 2005 13:17:13 -0000 1.2
@@ -1,6 +1,6 @@
Name: check
Version: 0.9.3
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: A unit test framework for C
Source0: http://download.sourceforge.net/check/%{name}-%{version}.tar.gz
Group: Development/Tools
@@ -8,8 +8,6 @@
URL: http://check.sourceforge.net/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: docbook-utils
-Patch0: check-0.9.2-shared.patch
-Patch1: check-0.9.2-fPIC.patch
%description
Check is a unit test framework for C. It features a simple interface for
@@ -21,15 +19,17 @@
%package devel
Summary: Libraries and headers for developing programs with check
Group: Development/Libraries
-Requires: %{name} = %{version}-%{release}
+Provides: %{name} = %{version}-%{release}
%description devel
-%{summary}.
+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.
%prep
%setup -q
-%patch0 -p1
-%patch1 -p1
%build
%configure
@@ -38,30 +38,21 @@
%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
-cd $RPM_BUILD_ROOT/%{_libdir}
-chmod +x libcheck.so.0.0.0
-ln -s libcheck.so.0.0.0 libcheck.so.0
-ln -s libcheck.so.0.0.0 libcheck.so
%clean
rm -rf $RPM_BUILD_ROOT
-%post -p /sbin/ldconfig
-
-%postun -p /sbin/ldconfig
-
-%files
-%defattr(-,root,root,-)
-%{_libdir}/libcheck.so.*
-%{_datadir}/doc/%{name}-%{version}
-%{_datadir}/aclocal/check.m4
-
%files devel
%defattr(-,root,root,-)
%{_includedir}/check.h
%{_libdir}/libcheck.a
-%{_libdir}/libcheck.so
+%{_datadir}/doc/%{name}-%{version}
+%{_datadir}/aclocal/check.m4
%changelog
+* Sat Sep 17 2005 Tom "spot" Callaway <tcallawa at redhat.com> 0.9.2-2
+- get rid of the so file (not needed)
+- only make devel package
+
* Sun Aug 14 2005 Tom "spot" Callaway <tcallawa at redhat.com> 0.9.2-1
- initial package for Fedora Extras
More information about the fedora-extras-commits
mailing list