SPECS: check.spec - ldconfig, .so symlink
qboosh
qboosh at pld-linux.org
Mon Jan 22 00:00:42 CET 2007
Author: qboosh Date: Sun Jan 21 23:00:42 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- ldconfig, .so symlink
---- Files affected:
SPECS:
check.spec (1.7 -> 1.8)
---- Diffs:
================================================================
Index: SPECS/check.spec
diff -u SPECS/check.spec:1.7 SPECS/check.spec:1.8
--- SPECS/check.spec:1.7 Tue Jan 16 17:23:33 2007
+++ SPECS/check.spec Mon Jan 22 00:00:35 2007
@@ -11,6 +11,7 @@
URL: http://check.sourceforge.net/
BuildRequires: libtool
BuildRequires: texinfo >= 4.2
+Requires(post,postun): /sbin/ldconfig
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -36,7 +37,7 @@
%build
%configure2_13
%{__make} \
- CFLAGS="%{rpmcflags} -Wall -Wstrict-prototypes -Wmissing-prototypes -Wwrite-strings -fPIC"
+ CFLAGS="%{rpmcflags} -Wall -Wstrict-prototypes -Wmissing-prototypes -Wwrite-strings -fPIC"
%install
rm -rf $RPM_BUILD_ROOT
@@ -47,28 +48,32 @@
exampletestsdir=%{_examplesdir}/%{name}-%{version}/tests \
DESTDIR=$RPM_BUILD_ROOT
-rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name}/
+rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name}
rm -f $RPM_BUILD_ROOT%{_libdir}/libcheck.la
%clean
rm -rf $RPM_BUILD_ROOT
%post
+/sbin/ldconfig
[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
%postun
+/sbin/ldconfig
[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir %{_infodir} >/dev/null 2>&1
%files
%defattr(644,root,root,755)
%doc AUTHORS ChangeLog* NEWS README SVNChangeLog
-%{_aclocaldir}/check.m4
-%{_includedir}/check.h
+%attr(755,root,root) %{_libdir}/libcheck.so.*.*.*
+%attr(755,root,root) %{_libdir}/libcheck.so
+# -static ?
%{_libdir}/libcheck.a
-%{_libdir}/libcheck.so.0.0.0
+%{_includedir}/check.h
+%{_aclocaldir}/check.m4
%{_pkgconfigdir}/check.pc
-%{_examplesdir}/%{name}-%{version}
%{_infodir}/check.info*
+%{_examplesdir}/%{name}-%{version}
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -76,6 +81,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.8 2007/01/21 23:00:35 qboosh
+- ldconfig, .so symlink
+
Revision 1.7 2007/01/16 16:23:33 sls
- installing examples in _examplesdir
- rm _docdir/name
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/check.spec?r1=1.7&r2=1.8&f=u
More information about the pld-cvs-commit
mailing list