kill certs
OBS-URL: https://build.opensuse.org/package/show/devel:tools/grpc?expand=0&rev=24
This commit is contained in:
parent
b6a645a3b5
commit
30aa4f3ce5
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user