diff --git a/libpciaccess.spec b/libpciaccess.spec index e59c887..00b9583 100644 --- a/libpciaccess.spec +++ b/libpciaccess.spec @@ -3,7 +3,7 @@ Name: libpciaccess Version: 0.13.4 -Release: 6%{?dist} +Release: 7%{?dist} Summary: PCI access library Group: System Environment/Libraries @@ -41,32 +41,29 @@ Development package for libpciaccess. %build autoreconf -v --install %configure --disable-static -make %{?_smp_mflags} +%make_build %install -rm -rf $RPM_BUILD_ROOT -make install DESTDIR=$RPM_BUILD_ROOT +%make_install rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la -%clean -rm -rf $RPM_BUILD_ROOT - -%post -p /sbin/ldconfig -%postun -p /sbin/ldconfig +%ldconfig_scriptlets %files -%defattr(-,root,root,-) -%doc COPYING AUTHORS +%license COPYING +%doc AUTHORS %{_libdir}/libpciaccess.so.0 %{_libdir}/libpciaccess.so.0.11.* %files devel -%defattr(-,root,root,-) %{_includedir}/pciaccess.h %{_libdir}/libpciaccess.so %{_libdir}/pkgconfig/pciaccess.pc %changelog +* Sat Feb 03 2018 Igor Gnatenko - 0.13.4-7 +- Switch to %%ldconfig_scriptlets + * Thu Aug 03 2017 Fedora Release Engineering - 0.13.4-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild