diff --git a/libtirpc.spec b/libtirpc.spec index e8b9c74..67620c7 100644 --- a/libtirpc.spec +++ b/libtirpc.spec @@ -1,6 +1,8 @@ +%define _root_libdir /%{_lib} + Name: libtirpc Version: 0.2.1 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Transport Independent RPC Library Group: System Environment/Libraries License: SISSL and BSD @@ -62,9 +64,12 @@ make all %install rm -rf %{buildroot} mkdir -p %{buildroot}/etc -make install DESTDIR=%{buildroot} +mkdir -p %{buildroot}%{_root_libdir} +mkdir -p %{buildroot}%{_libdir}/pkgconfig +make install DESTDIR=%{buildroot} \ + libdir=%{_root_libdir} pkgconfigdir=%{_libdir}/pkgconfig # Don't package .a or .la files -rm -f %{buildroot}%{_libdir}/*.{a,la} +rm -f %{buildroot}%{_root_libdir}/*.{a,la} # Creat the man diretory mv %{buildroot}%{_mandir}/man3 %{buildroot}%{_mandir}/man3t @@ -81,7 +86,7 @@ mv %{buildroot}%{_mandir}/man3 %{buildroot}%{_mandir}/man3t %postun devel # Remove the existance of the man section -#makewhatis -s 3 +#makewhatis -s 3t %clean @@ -90,7 +95,7 @@ rm -rf %{buildroot} %files %defattr(-,root,root) %doc AUTHORS ChangeLog NEWS README -%{_libdir}/libtirpc.so.* +%{_root_libdir}/libtirpc.so.* %config(noreplace)%{_sysconfdir}/netconfig %files devel @@ -98,7 +103,7 @@ rm -rf %{buildroot} %dir %{_includedir}/tirpc %dir %{_includedir}/tirpc/rpc %dir %{_includedir}/tirpc/rpcsvc -%{_libdir}/libtirpc.so +%{_root_libdir}/libtirpc.so %{_libdir}/pkgconfig/libtirpc.pc %{_includedir}/tirpc/netconfig.h %{_includedir}/tirpc/rpc/auth.h @@ -134,6 +139,9 @@ rm -rf %{buildroot} %{_mandir}/*/* %changelog +* Thu Dec 2 2010 Steve Dickson 0.2.1-6 +- Moved the libraries from /usr/lib to /lib + * Mon Aug 30 2010 Steve Dickson 0.2.1-5 - Relicense these SISSL files to 3 clause BSD - Fixed last remaining BSD license issues