Hello community,
here is the log from the commit of package grpc for openSUSE:Factory checked in at 2019-10-12 22:45:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/grpc (Old)
and /work/SRC/openSUSE:Factory/.grpc.new.2352 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "grpc"
Sat Oct 12 22:45:36 2019 rev:18 rq:737661 version:1.23.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/grpc/grpc.changes 2019-10-03 14:10:13.739981537 +0200
+++ /work/SRC/openSUSE:Factory/.grpc.new.2352/grpc.changes 2019-10-12 22:45:38.045336997 +0200
@@ -1,0 +2,6 @@
+Thu Oct 10 00:23:16 UTC 2019 - Michał Rostecki
+
+- Make sure that patches are included in the source package.
+- Filter out several rpmlintrc warnings for the source package.
+
+-------------------------------------------------------------------
New:
----
grpc-rpmlintrc
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ grpc.spec ++++++
--- /var/tmp/diff_new_pack.97mmoN/_old 2019-10-12 22:45:39.665332855 +0200
+++ /var/tmp/diff_new_pack.97mmoN/_new 2019-10-12 22:45:39.681332814 +0200
@@ -28,7 +28,8 @@
License: Apache-2.0
Group: Development/Tools/Building
URL: https://grpc.io/
-Source: https://github.com/grpc/grpc/archive/v%rver.tar.gz
+Source0: https://github.com/grpc/grpc/archive/v%rver.tar.gz
+Source1: %{name}-rpmlintrc
Patch1: gettid.patch
BuildRequires: %{python_module Cython}
BuildRequires: %{python_module devel}
@@ -148,16 +149,11 @@
%python_install
# Install sources
+make clean
+rm -f "b" "a.out"
+find . -type f "(" -name "*.so" -o -name "*.o" -o -name ".git*" ")" -exec rm -rf {} +
mkdir -p "%buildroot/%src_install_dir"
-tar -xzf %SOURCE0 --strip-components=1 -C "%buildroot/%src_install_dir"
-find "%buildroot/%src_install_dir" -type d -name ".git*" -exec rm -Rf {} +
-# Fix env-script-interpreter rpmlint error
-find "%buildroot/%src_install_dir" -type f \
- -exec sed -i 's|#!%_bindir/env bash|#!/bin/bash|' "{}" + \
- -exec sed -i 's|#!%_bindir/env ruby|#!%_bindir/ruby|' "{}" +
-find "%buildroot/%src_install_dir" -type f "(" -name "*.bzl" -o -name "*.py" ")" \
- -exec sed -i 's|#!%_bindir/env python2.7|#!%_bindir/python2.7|' "{}" + \
- -exec sed -i 's|#!%_bindir/env python|#!%_bindir/python|' "{}" +
+cp -r * "%buildroot/%src_install_dir"
%fdupes %buildroot/%_prefix
++++++ grpc-rpmlintrc ++++++
# Ignore the following errors in the source package.
addFilter("grpc-source.* env-script-interpreter")
addFilter("grpc-source.* files-duplicate")
addFilter("grpc-source.* hidden-file-or-dir")
addFilter("grpc-source.* non-executable-script")
addFilter("grpc-source.* pem-certificate")
addFilter("grpc-source.* script-without-shebang")
addFilter("grpc-source.* suse-filelist-forbidden-fhs23")
addFilter("grpc-source.* version-control-internal-file")