diff --git a/protobuf-c.spec b/protobuf-c.spec index 69c4c6a..693502e 100644 --- a/protobuf-c.spec +++ b/protobuf-c.spec @@ -38,14 +38,14 @@ This package contains protobuf-c headers and libraries. %build autoreconf -ifv %configure --disable-static -make %{?_smp_mflags} +%make_build %check make check %install -make install DESTDIR=$RPM_BUILD_ROOT -rm -f $RPM_BUILD_ROOT/%{_libdir}/libprotobuf-c.la +%make_install +rm -vf $RPM_BUILD_ROOT/%{_libdir}/libprotobuf-c.la %post -p /sbin/ldconfig %postun -p /sbin/ldconfig @@ -64,7 +64,6 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/libprotobuf-c.la %{_libdir}/libprotobuf-c.so %{_libdir}/pkgconfig/libprotobuf-c.pc - %changelog * Mon Nov 13 2017 Igor Gnatenko - 1.2.1-8 - Rebuild for protobuf 3.4