From 30aa4f3ce53dbf00c53fb81fc30afdd66fcda37885beb415091fe1c538095f23 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Fri, 18 May 2018 15:11:37 +0000 Subject: [PATCH] kill certs OBS-URL: https://build.opensuse.org/package/show/devel:tools/grpc?expand=0&rev=24 --- grpc.spec | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/grpc.spec b/grpc.spec index cd68740..a4d2800 100644 --- a/grpc.spec +++ b/grpc.spec @@ -61,14 +61,14 @@ applications that want to make use of the gRPC reference implementation. %setup -q %build -%make_jobs STRIP=/bin/true V=1 VERBOSE=1 CFLAGS="%optflags" CXXFLAGS="%optflags" +make %{?_smp_mflags} STRIP=/bin/true V=1 VERBOSE=1 CFLAGS="%optflags" CXXFLAGS="%optflags" %install b="%buildroot" %make_install prefix="$b/%_prefix" STRIP=/bin/true V=1 VERBOSE=1 find "$b/%_includedir" -type f -exec chmod a-x {} + pushd "$b/usr" -rm -f lib/*.a +rm -fv lib/*.a share/grpc/*.pem perl -i -pe 's{^prefix=.*}{prefix=%_prefix}' lib/pkgconfig/*.pc perl -i -pe 's{^libdir=.*}{libdir=%_libdir}' lib/pkgconfig/*.pc if test ! -d lib64 && test "%_lib" = lib64; then @@ -92,6 +92,5 @@ popd %_includedir/* %_libdir/pkgconfig/*.pc %_libdir/*.so -%_datadir/grpc/ %changelog