use %make_build/%make_install
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
d1da33c92a
commit
fa7f7d2d33
@ -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 <ignatenkobrain@fedoraproject.org> - 1.2.1-8
|
||||
- Rebuild for protobuf 3.4
|
||||
|
||||
Loading…
Reference in New Issue
Block a user