Accepting request 559386 from home:jengelh:branches:server:monitoring

- Drop %__-type macro indirections.

OBS-URL: https://build.opensuse.org/request/show/559386
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/protobuf-c?expand=0&rev=17
This commit is contained in:
Dominique Leuenberger 2018-02-06 16:59:07 +00:00 committed by Git OBS Bridge
parent b016d41212
commit b537b02b94
2 changed files with 10 additions and 5 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Dec 22 14:29:07 UTC 2017 - jengelh@inai.de
- Drop %__-type macro indirections.
-------------------------------------------------------------------
Thu Dec 14 15:59:33 UTC 2017 - dimstar@opensuse.org

View File

@ -78,12 +78,12 @@ cmake \
-DCMAKE_BUILD_WITH_INSTALL_RPATH=FALSE \
-DCMAKE_STRIP="/usr/bin/touch" \
..
%__make %{?_smp_flags}
make %{?_smp_flags}
popd #build
%else
autoreconf -fvi
%configure
%__make %{?_smp_flags}
make %{?_smp_flags}
%endif
%install
@ -92,10 +92,10 @@ pushd build
%makeinstall
popd #build
%else
%makeinstall
%make_install
%endif
%__rm "%{buildroot}%{_libdir}"/*.a
%__rm "%{buildroot}%{_libdir}"/*.la
rm "%{buildroot}/%{_libdir}"/*.a
rm "%{buildroot}/%{_libdir}"/*.la
%post -n libprotobuf-c%{soname} -p /sbin/ldconfig
%postun -n libprotobuf-c%{soname} -p /sbin/ldconfig