diff --git a/libtirpc.spec b/libtirpc.spec index d3bc692..cac6254 100644 --- a/libtirpc.spec +++ b/libtirpc.spec @@ -6,7 +6,7 @@ Group: System Environment/Libraries License: GPL URL: http://nfsv4.bullopensource.org/ -BuildRoot: %{_tmppath}/%{name}-%{version}-root-%(%{__id_u} -n) +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Source0: http://nfsv4.bullopensource.org/tarballs/tirpc/%{name}-%{version}.tar.bz2 BuildRequires: automake, autoconf, libtool, pkgconfig @@ -51,7 +51,7 @@ developing programs which use the tirpc library. %build autoreconf -fisv -%configure --enable-gss --prefix=%{buildroot} +%configure --enable-gss make all %install @@ -59,7 +59,7 @@ rm -rf %{buildroot} mkdir -p %{buildroot}/etc make install DESTDIR=%{buildroot} # Don't package .a or .la files -rm -f $RPM_BUILD_ROOT%{_libdir}/*.{a,la} +rm -f %{buildroot}%{_libdir}/*.{a,la} %post -p /sbin/ldconfig @@ -72,7 +72,7 @@ rm -rf %{buildroot} %defattr(-,root,root) %doc AUTHORS ChangeLog NEWS README %{_libdir}/libtirpc.so.* -%{_sysconfdir}/netconfig +%config(noreplace)%{_sysconfdir}/netconfig %files devel %defattr(0644,root,root,755)