- Update to version 2.6.1+git20250109.dfc27180:
* whitelistings: add sssd permissions drop-in file for helper caps (bsc#1233131) OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=1182
This commit is contained in:
commit
c500dc1373
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
4
_multibuild
Normal file
4
_multibuild
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
<multibuild>
|
||||||
|
<package>strict</package>
|
||||||
|
<package>test</package>
|
||||||
|
</multibuild>
|
17
_service
Normal file
17
_service
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
<services>
|
||||||
|
<service name="tar_scm" mode="manual">
|
||||||
|
<param name="versionformat">2.6.1+git%cd.%h</param>
|
||||||
|
<param name="url">https://github.com/rpm-software-management/rpmlint.git</param>
|
||||||
|
<param name="scm">git</param>
|
||||||
|
<param name="revision">opensuse</param>
|
||||||
|
<param name="changesgenerate">enable</param>
|
||||||
|
</service>
|
||||||
|
<service name="recompress" mode="manual">
|
||||||
|
<param name="compression">xz</param>
|
||||||
|
<param name="file">*.tar</param>
|
||||||
|
</service>
|
||||||
|
<service name="set_version" mode="manual" />
|
||||||
|
<service name="format_spec_file" mode="manual">
|
||||||
|
<param name="specfile">rpmlint.spec</param>
|
||||||
|
</service>
|
||||||
|
</services>
|
4
_servicedata
Normal file
4
_servicedata
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
<servicedata>
|
||||||
|
<service name="tar_scm">
|
||||||
|
<param name="url">https://github.com/rpm-software-management/rpmlint.git</param>
|
||||||
|
<param name="changesrevision">dfc271801610cae825c025b8b9b0f0ee63d1f6b7</param></service></servicedata>
|
12
disable-flake-and-cov.patch
Normal file
12
disable-flake-and-cov.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
diff --git a/pytest.ini b/pytest.ini
|
||||||
|
index 819ea304..06b8aa7d 100644
|
||||||
|
--- a/pytest.ini
|
||||||
|
+++ b/pytest.ini
|
||||||
|
@@ -1,7 +1,6 @@
|
||||||
|
[pytest]
|
||||||
|
addopts =
|
||||||
|
-vv
|
||||||
|
- --cov=rpmlint
|
||||||
|
-n auto
|
||||||
|
-p no:legacypath
|
||||||
|
pythonpath= .
|
3
rpmlint-2.5.0+git20240624.609e1aa.tar.xz
Normal file
3
rpmlint-2.5.0+git20240624.609e1aa.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:80506194ce54b74cde2e74f81ccb285f6a97ab0c191490f6b2e24844fbec2239
|
||||||
|
size 7775596
|
3
rpmlint-2.6.1+git20240802.da40b67.tar.xz
Normal file
3
rpmlint-2.6.1+git20240802.da40b67.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:b63c742b8d4a7c40cb2324b3ed9563b4c995a7b13bdfe25dc73b538d30efa0e6
|
||||||
|
size 7778300
|
BIN
rpmlint-2.6.1+git20240807.9387990.tar.xz
(Stored with Git LFS)
Normal file
BIN
rpmlint-2.6.1+git20240807.9387990.tar.xz
(Stored with Git LFS)
Normal file
Binary file not shown.
3
rpmlint-2.6.1+git20240903.3c1fddf.tar.xz
Normal file
3
rpmlint-2.6.1+git20240903.3c1fddf.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:da9d9fa8d471459725eeb1d6227d610e02ad95c0a937104a3381641993a3e584
|
||||||
|
size 7778528
|
3
rpmlint-2.6.1+git20240918.5cb5647.tar.xz
Normal file
3
rpmlint-2.6.1+git20240918.5cb5647.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:b76b23f980fe40dbb5d1f558b73a6bba1ee1456a5d57f6be05b0384b961e8c6f
|
||||||
|
size 6120916
|
3
rpmlint-2.6.1+git20240918.9e0efea.tar.xz
Normal file
3
rpmlint-2.6.1+git20240918.9e0efea.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:d00f89e0e5b96823623a467367e717f06bb314cdbffe62f1ed3486bd18491337
|
||||||
|
size 7778576
|
3
rpmlint-2.6.1+git20241016.ae941eb7.tar.xz
Normal file
3
rpmlint-2.6.1+git20241016.ae941eb7.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:95e78509379557288eaa75c92b563970519855d77317e1767e71a0ba952f1631
|
||||||
|
size 6125644
|
3
rpmlint-2.6.1+git20241017.b725184.tar.xz
Normal file
3
rpmlint-2.6.1+git20241017.b725184.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:1162de4baace86ca452471495b047522b309c6a338feaecc562bbbd549423254
|
||||||
|
size 6126244
|
3
rpmlint-2.6.1+git20241024.1f09e50.tar.xz
Normal file
3
rpmlint-2.6.1+git20241024.1f09e50.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:9e9485343cb536198d5572b9f33947c86b6ed83aa260d7318a7d75f618340201
|
||||||
|
size 6126188
|
3
rpmlint-2.6.1+git20241111.4884f6a.tar.xz
Normal file
3
rpmlint-2.6.1+git20241111.4884f6a.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:0d18f2f49e197a5f88494e412ddabe1a13b2d5f5d27c2e3a88d4e7cc0f1de1c0
|
||||||
|
size 6126376
|
3
rpmlint-2.6.1+git20241115.da2ed92.tar.xz
Normal file
3
rpmlint-2.6.1+git20241115.da2ed92.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:cd6b2c8b9709866f1e3dcf409690323f150eff72f79ebf658b7561151a066e57
|
||||||
|
size 6078244
|
3
rpmlint-2.6.1+git20241119.2e09c30.tar.xz
Normal file
3
rpmlint-2.6.1+git20241119.2e09c30.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:1668d8a643658d061172cbc70c3031b161ba8b40676ff8aa85a686895a815e38
|
||||||
|
size 6078452
|
3
rpmlint-2.6.1+git20241129.0f107c1.tar.xz
Normal file
3
rpmlint-2.6.1+git20241129.0f107c1.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:62d784524b0cf4dffa311059d6282de32078e9c2a0c39f4762c63b66593cc4fb
|
||||||
|
size 6078184
|
3
rpmlint-2.6.1+git20241206.0bc429f2.tar.xz
Normal file
3
rpmlint-2.6.1+git20241206.0bc429f2.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:7e5b23967fe51b62c542605e4954e24ec6ee2db1cacf6f2fe43ce4031264cfdf
|
||||||
|
size 6078484
|
3
rpmlint-2.6.1+git20250109.dfc27180.tar.xz
Normal file
3
rpmlint-2.6.1+git20250109.dfc27180.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:53aea4ecb292d4deb8f0b457dbc79be5271e486392953ee663eda828b69040e5
|
||||||
|
size 6078744
|
6294
rpmlint.changes
Normal file
6294
rpmlint.changes
Normal file
File diff suppressed because it is too large
Load Diff
133
rpmlint.spec
Normal file
133
rpmlint.spec
Normal file
@ -0,0 +1,133 @@
|
|||||||
|
#
|
||||||
|
# spec file
|
||||||
|
#
|
||||||
|
# Copyright (c) 2025 SUSE LLC
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%define flavor @BUILD_FLAVOR@%{nil}
|
||||||
|
%if "%{flavor}" == ""
|
||||||
|
%define name_suffix %{nil}
|
||||||
|
%else
|
||||||
|
%define name_suffix -%{flavor}
|
||||||
|
%endif
|
||||||
|
Name: rpmlint%{name_suffix}
|
||||||
|
Version: 2.6.1+git20250109.dfc27180
|
||||||
|
Release: 0
|
||||||
|
Summary: RPM file correctness checker
|
||||||
|
License: GPL-2.0-or-later
|
||||||
|
URL: https://github.com/rpm-software-management/rpmlint
|
||||||
|
Source0: rpmlint-%{version}.tar.xz
|
||||||
|
Patch0: disable-flake-and-cov.patch
|
||||||
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: python-rpm-macros
|
||||||
|
BuildRequires: python3-pip
|
||||||
|
BuildRequires: python3-setuptools
|
||||||
|
BuildRequires: python3-wheel
|
||||||
|
BuildArch: noarch
|
||||||
|
%if "%{flavor}" == "test"
|
||||||
|
BuildRequires: appstream-glib
|
||||||
|
BuildRequires: binutils
|
||||||
|
BuildRequires: checkbashisms
|
||||||
|
BuildRequires: dash
|
||||||
|
BuildRequires: desktop-file-utils
|
||||||
|
BuildRequires: myspell-cs_CZ
|
||||||
|
BuildRequires: myspell-en_US
|
||||||
|
BuildRequires: python3-pybeam
|
||||||
|
BuildRequires: python3-pyenchant
|
||||||
|
BuildRequires: python3-pytest
|
||||||
|
BuildRequires: python3-pytest-xdist
|
||||||
|
BuildRequires: python3-python-magic
|
||||||
|
BuildRequires: python3-pyxdg
|
||||||
|
BuildRequires: python3-rpm
|
||||||
|
BuildRequires: python3-tomli-w
|
||||||
|
BuildRequires: python3-zstandard
|
||||||
|
BuildRequires: xz
|
||||||
|
BuildRequires: (python3-tomli if python3-base < 3.11)
|
||||||
|
%ifarch x86_64
|
||||||
|
BuildRequires: glibc-32bit
|
||||||
|
%endif
|
||||||
|
%endif
|
||||||
|
%if "%{flavor}" == ""
|
||||||
|
Requires: appstream-glib
|
||||||
|
Requires: bash
|
||||||
|
Requires: binutils
|
||||||
|
Requires: checkbashisms
|
||||||
|
Requires: cpio
|
||||||
|
Requires: dash
|
||||||
|
Requires: desktop-file-utils
|
||||||
|
Requires: file
|
||||||
|
Requires: findutils
|
||||||
|
Requires: myspell-en_US
|
||||||
|
Requires: python3-pybeam
|
||||||
|
Requires: python3-pyenchant
|
||||||
|
Requires: python3-python-magic
|
||||||
|
Requires: python3-pyxdg
|
||||||
|
Requires: python3-rpm
|
||||||
|
%if 0%{?python3_version_nodots} < 311
|
||||||
|
Requires: python3-tomli
|
||||||
|
%endif
|
||||||
|
Requires: python3-tomli-w
|
||||||
|
Requires: python3-zstandard
|
||||||
|
Requires: rpm-build
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%description
|
||||||
|
rpmlint is a tool to check common errors on RPM packages. Binary and
|
||||||
|
source packages can be checked.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -p1 -n rpmlint-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
%if "%{flavor}" != "strict"
|
||||||
|
%python3_pyproject_wheel
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%install
|
||||||
|
%if "%{flavor}" != "test"
|
||||||
|
mkdir -p %{buildroot}%{_sysconfdir}/xdg/rpmlint
|
||||||
|
install -m644 configs/openSUSE/scoring-strict.override.toml %{buildroot}%{_sysconfdir}/xdg/rpmlint
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%if "%{flavor}" == ""
|
||||||
|
%python3_pyproject_install
|
||||||
|
fdupes %{buildroot}%{python3_sitelib}
|
||||||
|
install -m644 configs/openSUSE/* %{buildroot}%{_sysconfdir}/xdg/rpmlint
|
||||||
|
rm %{buildroot}%{_sysconfdir}/xdg/rpmlint/scoring-strict.override.toml
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%if "%{flavor}" == "test"
|
||||||
|
%check
|
||||||
|
python3 -m pytest
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%files
|
||||||
|
%if "%{flavor}" == ""
|
||||||
|
%license COPYING
|
||||||
|
%doc README*
|
||||||
|
%{_bindir}/rpmlint
|
||||||
|
%{_bindir}/rpmdiff
|
||||||
|
%{python3_sitelib}/rpmlint*
|
||||||
|
%dir %{_sysconfdir}/xdg/rpmlint
|
||||||
|
%config %{_sysconfdir}/xdg/rpmlint/*
|
||||||
|
|
||||||
|
%else
|
||||||
|
%if "%{flavor}" == "strict"
|
||||||
|
%dir %{_sysconfdir}/xdg/rpmlint
|
||||||
|
%config %{_sysconfdir}/xdg/rpmlint/scoring-strict.override.toml
|
||||||
|
%endif
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%changelog
|
Loading…
Reference in New Issue
Block a user