Accepting request 945540 from devel:openSUSE:Factory:rpmlint

- Fix spec file: install zstdandard package properly.

- Add rpmlintrc filter for pycparser Python package.

OBS-URL: https://build.opensuse.org/request/show/945540
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rpmlint-mini?expand=0&rev=110
This commit is contained in:
Dominique Leuenberger 2022-01-12 23:22:03 +00:00 committed by Git OBS Bridge
commit be55ab8c3e
3 changed files with 13 additions and 2 deletions

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Mon Jan 10 19:47:37 UTC 2022 - Martin Liška <mliska@suse.cz>
- Fix spec file: install zstdandard package properly.
-------------------------------------------------------------------
Mon Jan 10 15:31:47 UTC 2022 - Martin Liška <mliska@suse.cz>
- Add rpmlintrc filter for pycparser Python package.
-------------------------------------------------------------------
Mon Sep 6 12:12:52 UTC 2021 - Martin Liška <mliska@suse.cz>

View File

@ -4,3 +4,4 @@ addFilter("python-bytecode-without-source")
addFilter("files-duplicate")
addFilter("filelist-forbidden-opt")
addFilter("invalid-url")
addFilter("E: devel-file-in-non-devel-package .*site-packages.*fake_libc_include.*")

View File

@ -1,7 +1,7 @@
#
# spec file for package rpmlint-mini
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -80,7 +80,7 @@ for file in $(cat %{SOURCE1}); do
install -D -m 644 $exp %{buildroot}/opt/testing/lib/python%{py3_ver}/$exp
done
popd
cp -a %{python_sitearch}/{rpm,zstd}* %{buildroot}/opt/testing/lib/python%{py3_ver}/site-packages
cp -a %{python_sitearch}/{rpm,zstd,zstandard}* %{buildroot}/opt/testing/lib/python%{py3_ver}/site-packages
cp -a %{python_sitelib} %{buildroot}/opt/testing/lib/python%{py3_ver}
cp -a %{_libdir}/libpython%{py3_ver}*.so.* %{buildroot}/opt/testing/lib
cp -a %{_libdir}/libexpat*.so.* %{buildroot}/opt/testing/lib