- Don't package static libraries unless there is a VERY good reason to do
so - Don't list gssapi requirement specifically, rpm will figure that out on its own when building the package.
This commit is contained in:
parent
db51df57b1
commit
baafab5c8d
|
@ -11,7 +11,6 @@ Source0: http://nfsv4.bullopensource.org/tarballs/tirpc/%{name}-%{version}.tar.
|
||||||
|
|
||||||
BuildRequires: automake, autoconf, libtool, pkgconfig
|
BuildRequires: automake, autoconf, libtool, pkgconfig
|
||||||
BuildRequires: libgssapi-devel
|
BuildRequires: libgssapi-devel
|
||||||
Requires: libgssapi
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This package contains SunLib's implementation of transport-independent
|
This package contains SunLib's implementation of transport-independent
|
||||||
|
@ -59,6 +58,8 @@ make all
|
||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
mkdir -p %{buildroot}/etc
|
mkdir -p %{buildroot}/etc
|
||||||
make install DESTDIR=%{buildroot}
|
make install DESTDIR=%{buildroot}
|
||||||
|
# Don't package .a or .la files
|
||||||
|
rm -f $RPM_BUILD_ROOT%{_libdir}/*.{a,la}
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%post -p /sbin/ldconfig
|
||||||
|
|
||||||
|
@ -71,13 +72,11 @@ rm -rf %{buildroot}
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc AUTHORS ChangeLog NEWS README
|
%doc AUTHORS ChangeLog NEWS README
|
||||||
%{_libdir}/libtirpc.so.*
|
%{_libdir}/libtirpc.so.*
|
||||||
%{_libdir}/libtirpc.la
|
|
||||||
%{_sysconfdir}/netconfig
|
%{_sysconfdir}/netconfig
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(0644,root,root,755)
|
%defattr(0644,root,root,755)
|
||||||
%{_libdir}/libtirpc.so
|
%{_libdir}/libtirpc.so
|
||||||
%{_libdir}/libtirpc.a
|
|
||||||
%{_includedir}/tirpc/fpmath.h
|
%{_includedir}/tirpc/fpmath.h
|
||||||
%{_includedir}/tirpc/getpeereid.h
|
%{_includedir}/tirpc/getpeereid.h
|
||||||
%{_includedir}/tirpc/libc_private.h
|
%{_includedir}/tirpc/libc_private.h
|
||||||
|
|
Loading…
Reference in New Issue