rpmlint/rpmlint.spec

136 lines
3.6 KiB
RPMSpec
Raw Normal View History

#
# spec file for package rpmlint
#
# Copyright (c) 2024 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.5.0+git20240226.8b18627
Release: 0
Summary: RPM file correctness checker
License: GPL-2.0-or-later
URL: https://github.com/rpm-software-management/rpmlint
Accepting request 901418 from home:StevenK:branches:devel:openSUSE:Factory:rpmlint - Install configs with 644. - Update to Rpmlint 2.0: * RPMLint now is a "normal" Python application and now supports being imported like a standard Python module! This means that all the normal use-cases for RPMLint are still supported, but now you can make it a part of larger Python-based applications or services. * RPMLint uses a declarative TOML-based syntax for configuring RPMLint policy instead of Python code. * RPMLint now has an override system for the descriptions shown for various checks, so that distributions who want to give specific policy information can do so without patching the code. * RPMLint includes many more checks! Nearly all of the generally useful checks created by the openSUSE community have been merged into the tree, so distributions can now benefit from a wider offering of checks to implement policy enforcement. * RPMLint is Python 3 only and now supports Python 3.6 and newer. * RPMLint is now built and installed like a standard Python application using setuptools. - Removed legacy patches: * invalid-filerequires.diff * no-badness-return.diff * no-doc-for-lib.diff * only-reg-files-are-scripts.diff * remove-ghostfile-checks.diff * rpm415-workaround.diff * rpmgroup-checks.diff * rpmlint-suse.diff * suse-binarieschecks.diff * suse-checks.diff * suse-filter-exception.diff * suse-filter-more-verbose.diff OBS-URL: https://build.opensuse.org/request/show/901418 OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=780
2021-06-24 08:33:48 +02:00
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"
Accepting request 901418 from home:StevenK:branches:devel:openSUSE:Factory:rpmlint - Install configs with 644. - Update to Rpmlint 2.0: * RPMLint now is a "normal" Python application and now supports being imported like a standard Python module! This means that all the normal use-cases for RPMLint are still supported, but now you can make it a part of larger Python-based applications or services. * RPMLint uses a declarative TOML-based syntax for configuring RPMLint policy instead of Python code. * RPMLint now has an override system for the descriptions shown for various checks, so that distributions who want to give specific policy information can do so without patching the code. * RPMLint includes many more checks! Nearly all of the generally useful checks created by the openSUSE community have been merged into the tree, so distributions can now benefit from a wider offering of checks to implement policy enforcement. * RPMLint is Python 3 only and now supports Python 3.6 and newer. * RPMLint is now built and installed like a standard Python application using setuptools. - Removed legacy patches: * invalid-filerequires.diff * no-badness-return.diff * no-doc-for-lib.diff * only-reg-files-are-scripts.diff * remove-ghostfile-checks.diff * rpm415-workaround.diff * rpmgroup-checks.diff * rpmlint-suse.diff * suse-binarieschecks.diff * suse-checks.diff * suse-filter-exception.diff * suse-filter-more-verbose.diff OBS-URL: https://build.opensuse.org/request/show/901418 OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=780
2021-06-24 08:33:48 +02:00
BuildRequires: appstream-glib
BuildRequires: binutils
BuildRequires: checkbashisms
BuildRequires: dash
BuildRequires: desktop-file-utils
Accepting request 901418 from home:StevenK:branches:devel:openSUSE:Factory:rpmlint - Install configs with 644. - Update to Rpmlint 2.0: * RPMLint now is a "normal" Python application and now supports being imported like a standard Python module! This means that all the normal use-cases for RPMLint are still supported, but now you can make it a part of larger Python-based applications or services. * RPMLint uses a declarative TOML-based syntax for configuring RPMLint policy instead of Python code. * RPMLint now has an override system for the descriptions shown for various checks, so that distributions who want to give specific policy information can do so without patching the code. * RPMLint includes many more checks! Nearly all of the generally useful checks created by the openSUSE community have been merged into the tree, so distributions can now benefit from a wider offering of checks to implement policy enforcement. * RPMLint is Python 3 only and now supports Python 3.6 and newer. * RPMLint is now built and installed like a standard Python application using setuptools. - Removed legacy patches: * invalid-filerequires.diff * no-badness-return.diff * no-doc-for-lib.diff * only-reg-files-are-scripts.diff * remove-ghostfile-checks.diff * rpm415-workaround.diff * rpmgroup-checks.diff * rpmlint-suse.diff * suse-binarieschecks.diff * suse-checks.diff * suse-filter-exception.diff * suse-filter-more-verbose.diff OBS-URL: https://build.opensuse.org/request/show/901418 OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=780
2021-06-24 08:33:48 +02:00
BuildRequires: myspell-cs_CZ
BuildRequires: myspell-en_US
BuildRequires: python3-pybeam
BuildRequires: python3-pyenchant
BuildRequires: python3-pytest
Accepting request 901418 from home:StevenK:branches:devel:openSUSE:Factory:rpmlint - Install configs with 644. - Update to Rpmlint 2.0: * RPMLint now is a "normal" Python application and now supports being imported like a standard Python module! This means that all the normal use-cases for RPMLint are still supported, but now you can make it a part of larger Python-based applications or services. * RPMLint uses a declarative TOML-based syntax for configuring RPMLint policy instead of Python code. * RPMLint now has an override system for the descriptions shown for various checks, so that distributions who want to give specific policy information can do so without patching the code. * RPMLint includes many more checks! Nearly all of the generally useful checks created by the openSUSE community have been merged into the tree, so distributions can now benefit from a wider offering of checks to implement policy enforcement. * RPMLint is Python 3 only and now supports Python 3.6 and newer. * RPMLint is now built and installed like a standard Python application using setuptools. - Removed legacy patches: * invalid-filerequires.diff * no-badness-return.diff * no-doc-for-lib.diff * only-reg-files-are-scripts.diff * remove-ghostfile-checks.diff * rpm415-workaround.diff * rpmgroup-checks.diff * rpmlint-suse.diff * suse-binarieschecks.diff * suse-checks.diff * suse-filter-exception.diff * suse-filter-more-verbose.diff OBS-URL: https://build.opensuse.org/request/show/901418 OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=780
2021-06-24 08:33:48 +02:00
BuildRequires: python3-pytest-xdist
BuildRequires: python3-python-magic
Accepting request 901418 from home:StevenK:branches:devel:openSUSE:Factory:rpmlint - Install configs with 644. - Update to Rpmlint 2.0: * RPMLint now is a "normal" Python application and now supports being imported like a standard Python module! This means that all the normal use-cases for RPMLint are still supported, but now you can make it a part of larger Python-based applications or services. * RPMLint uses a declarative TOML-based syntax for configuring RPMLint policy instead of Python code. * RPMLint now has an override system for the descriptions shown for various checks, so that distributions who want to give specific policy information can do so without patching the code. * RPMLint includes many more checks! Nearly all of the generally useful checks created by the openSUSE community have been merged into the tree, so distributions can now benefit from a wider offering of checks to implement policy enforcement. * RPMLint is Python 3 only and now supports Python 3.6 and newer. * RPMLint is now built and installed like a standard Python application using setuptools. - Removed legacy patches: * invalid-filerequires.diff * no-badness-return.diff * no-doc-for-lib.diff * only-reg-files-are-scripts.diff * remove-ghostfile-checks.diff * rpm415-workaround.diff * rpmgroup-checks.diff * rpmlint-suse.diff * suse-binarieschecks.diff * suse-checks.diff * suse-filter-exception.diff * suse-filter-more-verbose.diff OBS-URL: https://build.opensuse.org/request/show/901418 OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=780
2021-06-24 08:33:48 +02:00
BuildRequires: python3-pyxdg
BuildRequires: python3-rpm
%if 0%{?python3_version_nodots < 311}
BuildRequires: python3-tomli
%endif
BuildRequires: python3-tomli-w
BuildRequires: python3-zstandard
BuildRequires: xz
%ifarch x86_64
BuildRequires: glibc-32bit
%endif
%endif
%if "%{flavor}" == ""
Accepting request 901418 from home:StevenK:branches:devel:openSUSE:Factory:rpmlint - Install configs with 644. - Update to Rpmlint 2.0: * RPMLint now is a "normal" Python application and now supports being imported like a standard Python module! This means that all the normal use-cases for RPMLint are still supported, but now you can make it a part of larger Python-based applications or services. * RPMLint uses a declarative TOML-based syntax for configuring RPMLint policy instead of Python code. * RPMLint now has an override system for the descriptions shown for various checks, so that distributions who want to give specific policy information can do so without patching the code. * RPMLint includes many more checks! Nearly all of the generally useful checks created by the openSUSE community have been merged into the tree, so distributions can now benefit from a wider offering of checks to implement policy enforcement. * RPMLint is Python 3 only and now supports Python 3.6 and newer. * RPMLint is now built and installed like a standard Python application using setuptools. - Removed legacy patches: * invalid-filerequires.diff * no-badness-return.diff * no-doc-for-lib.diff * only-reg-files-are-scripts.diff * remove-ghostfile-checks.diff * rpm415-workaround.diff * rpmgroup-checks.diff * rpmlint-suse.diff * suse-binarieschecks.diff * suse-checks.diff * suse-filter-exception.diff * suse-filter-more-verbose.diff OBS-URL: https://build.opensuse.org/request/show/901418 OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=780
2021-06-24 08:33:48 +02:00
Requires: appstream-glib
Requires: bash
Accepting request 901418 from home:StevenK:branches:devel:openSUSE:Factory:rpmlint - Install configs with 644. - Update to Rpmlint 2.0: * RPMLint now is a "normal" Python application and now supports being imported like a standard Python module! This means that all the normal use-cases for RPMLint are still supported, but now you can make it a part of larger Python-based applications or services. * RPMLint uses a declarative TOML-based syntax for configuring RPMLint policy instead of Python code. * RPMLint now has an override system for the descriptions shown for various checks, so that distributions who want to give specific policy information can do so without patching the code. * RPMLint includes many more checks! Nearly all of the generally useful checks created by the openSUSE community have been merged into the tree, so distributions can now benefit from a wider offering of checks to implement policy enforcement. * RPMLint is Python 3 only and now supports Python 3.6 and newer. * RPMLint is now built and installed like a standard Python application using setuptools. - Removed legacy patches: * invalid-filerequires.diff * no-badness-return.diff * no-doc-for-lib.diff * only-reg-files-are-scripts.diff * remove-ghostfile-checks.diff * rpm415-workaround.diff * rpmgroup-checks.diff * rpmlint-suse.diff * suse-binarieschecks.diff * suse-checks.diff * suse-filter-exception.diff * suse-filter-more-verbose.diff OBS-URL: https://build.opensuse.org/request/show/901418 OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=780
2021-06-24 08:33:48 +02:00
Requires: binutils
Requires: checkbashisms
Requires: cpio
Requires: dash
Requires: desktop-file-utils
Requires: file
Requires: findutils
Accepting request 901418 from home:StevenK:branches:devel:openSUSE:Factory:rpmlint - Install configs with 644. - Update to Rpmlint 2.0: * RPMLint now is a "normal" Python application and now supports being imported like a standard Python module! This means that all the normal use-cases for RPMLint are still supported, but now you can make it a part of larger Python-based applications or services. * RPMLint uses a declarative TOML-based syntax for configuring RPMLint policy instead of Python code. * RPMLint now has an override system for the descriptions shown for various checks, so that distributions who want to give specific policy information can do so without patching the code. * RPMLint includes many more checks! Nearly all of the generally useful checks created by the openSUSE community have been merged into the tree, so distributions can now benefit from a wider offering of checks to implement policy enforcement. * RPMLint is Python 3 only and now supports Python 3.6 and newer. * RPMLint is now built and installed like a standard Python application using setuptools. - Removed legacy patches: * invalid-filerequires.diff * no-badness-return.diff * no-doc-for-lib.diff * only-reg-files-are-scripts.diff * remove-ghostfile-checks.diff * rpm415-workaround.diff * rpmgroup-checks.diff * rpmlint-suse.diff * suse-binarieschecks.diff * suse-checks.diff * suse-filter-exception.diff * suse-filter-more-verbose.diff OBS-URL: https://build.opensuse.org/request/show/901418 OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=780
2021-06-24 08:33:48 +02:00
Requires: myspell-en_US
Requires: python3-pybeam
Accepting request 901418 from home:StevenK:branches:devel:openSUSE:Factory:rpmlint - Install configs with 644. - Update to Rpmlint 2.0: * RPMLint now is a "normal" Python application and now supports being imported like a standard Python module! This means that all the normal use-cases for RPMLint are still supported, but now you can make it a part of larger Python-based applications or services. * RPMLint uses a declarative TOML-based syntax for configuring RPMLint policy instead of Python code. * RPMLint now has an override system for the descriptions shown for various checks, so that distributions who want to give specific policy information can do so without patching the code. * RPMLint includes many more checks! Nearly all of the generally useful checks created by the openSUSE community have been merged into the tree, so distributions can now benefit from a wider offering of checks to implement policy enforcement. * RPMLint is Python 3 only and now supports Python 3.6 and newer. * RPMLint is now built and installed like a standard Python application using setuptools. - Removed legacy patches: * invalid-filerequires.diff * no-badness-return.diff * no-doc-for-lib.diff * only-reg-files-are-scripts.diff * remove-ghostfile-checks.diff * rpm415-workaround.diff * rpmgroup-checks.diff * rpmlint-suse.diff * suse-binarieschecks.diff * suse-checks.diff * suse-filter-exception.diff * suse-filter-more-verbose.diff OBS-URL: https://build.opensuse.org/request/show/901418 OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=780
2021-06-24 08:33:48 +02:00
Requires: python3-pyenchant
Requires: python3-python-magic
Accepting request 901418 from home:StevenK:branches:devel:openSUSE:Factory:rpmlint - Install configs with 644. - Update to Rpmlint 2.0: * RPMLint now is a "normal" Python application and now supports being imported like a standard Python module! This means that all the normal use-cases for RPMLint are still supported, but now you can make it a part of larger Python-based applications or services. * RPMLint uses a declarative TOML-based syntax for configuring RPMLint policy instead of Python code. * RPMLint now has an override system for the descriptions shown for various checks, so that distributions who want to give specific policy information can do so without patching the code. * RPMLint includes many more checks! Nearly all of the generally useful checks created by the openSUSE community have been merged into the tree, so distributions can now benefit from a wider offering of checks to implement policy enforcement. * RPMLint is Python 3 only and now supports Python 3.6 and newer. * RPMLint is now built and installed like a standard Python application using setuptools. - Removed legacy patches: * invalid-filerequires.diff * no-badness-return.diff * no-doc-for-lib.diff * only-reg-files-are-scripts.diff * remove-ghostfile-checks.diff * rpm415-workaround.diff * rpmgroup-checks.diff * rpmlint-suse.diff * suse-binarieschecks.diff * suse-checks.diff * suse-filter-exception.diff * suse-filter-more-verbose.diff OBS-URL: https://build.opensuse.org/request/show/901418 OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=780
2021-06-24 08:33:48 +02:00
Requires: python3-pyxdg
Requires: python3-rpm
%if 0%{?python3_version_nodots < 311}
Requires: python3-tomli
%endif
Requires: python3-tomli-w
Requires: python3-zstandard
Accepting request 901418 from home:StevenK:branches:devel:openSUSE:Factory:rpmlint - Install configs with 644. - Update to Rpmlint 2.0: * RPMLint now is a "normal" Python application and now supports being imported like a standard Python module! This means that all the normal use-cases for RPMLint are still supported, but now you can make it a part of larger Python-based applications or services. * RPMLint uses a declarative TOML-based syntax for configuring RPMLint policy instead of Python code. * RPMLint now has an override system for the descriptions shown for various checks, so that distributions who want to give specific policy information can do so without patching the code. * RPMLint includes many more checks! Nearly all of the generally useful checks created by the openSUSE community have been merged into the tree, so distributions can now benefit from a wider offering of checks to implement policy enforcement. * RPMLint is Python 3 only and now supports Python 3.6 and newer. * RPMLint is now built and installed like a standard Python application using setuptools. - Removed legacy patches: * invalid-filerequires.diff * no-badness-return.diff * no-doc-for-lib.diff * only-reg-files-are-scripts.diff * remove-ghostfile-checks.diff * rpm415-workaround.diff * rpmgroup-checks.diff * rpmlint-suse.diff * suse-binarieschecks.diff * suse-checks.diff * suse-filter-exception.diff * suse-filter-more-verbose.diff OBS-URL: https://build.opensuse.org/request/show/901418 OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=780
2021-06-24 08:33:48 +02:00
Requires: rpm-build
%endif
%description
rpmlint is a tool to check common errors on RPM packages. Binary and
source packages can be checked.
%prep
Accepting request 901418 from home:StevenK:branches:devel:openSUSE:Factory:rpmlint - Install configs with 644. - Update to Rpmlint 2.0: * RPMLint now is a "normal" Python application and now supports being imported like a standard Python module! This means that all the normal use-cases for RPMLint are still supported, but now you can make it a part of larger Python-based applications or services. * RPMLint uses a declarative TOML-based syntax for configuring RPMLint policy instead of Python code. * RPMLint now has an override system for the descriptions shown for various checks, so that distributions who want to give specific policy information can do so without patching the code. * RPMLint includes many more checks! Nearly all of the generally useful checks created by the openSUSE community have been merged into the tree, so distributions can now benefit from a wider offering of checks to implement policy enforcement. * RPMLint is Python 3 only and now supports Python 3.6 and newer. * RPMLint is now built and installed like a standard Python application using setuptools. - Removed legacy patches: * invalid-filerequires.diff * no-badness-return.diff * no-doc-for-lib.diff * only-reg-files-are-scripts.diff * remove-ghostfile-checks.diff * rpm415-workaround.diff * rpmgroup-checks.diff * rpmlint-suse.diff * suse-binarieschecks.diff * suse-checks.diff * suse-filter-exception.diff * suse-filter-more-verbose.diff OBS-URL: https://build.opensuse.org/request/show/901418 OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=780
2021-06-24 08:33:48 +02:00
%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
Accepting request 901418 from home:StevenK:branches:devel:openSUSE:Factory:rpmlint - Install configs with 644. - Update to Rpmlint 2.0: * RPMLint now is a "normal" Python application and now supports being imported like a standard Python module! This means that all the normal use-cases for RPMLint are still supported, but now you can make it a part of larger Python-based applications or services. * RPMLint uses a declarative TOML-based syntax for configuring RPMLint policy instead of Python code. * RPMLint now has an override system for the descriptions shown for various checks, so that distributions who want to give specific policy information can do so without patching the code. * RPMLint includes many more checks! Nearly all of the generally useful checks created by the openSUSE community have been merged into the tree, so distributions can now benefit from a wider offering of checks to implement policy enforcement. * RPMLint is Python 3 only and now supports Python 3.6 and newer. * RPMLint is now built and installed like a standard Python application using setuptools. - Removed legacy patches: * invalid-filerequires.diff * no-badness-return.diff * no-doc-for-lib.diff * only-reg-files-are-scripts.diff * remove-ghostfile-checks.diff * rpm415-workaround.diff * rpmgroup-checks.diff * rpmlint-suse.diff * suse-binarieschecks.diff * suse-checks.diff * suse-filter-exception.diff * suse-filter-more-verbose.diff OBS-URL: https://build.opensuse.org/request/show/901418 OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=780
2021-06-24 08:33:48 +02:00
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
Accepting request 901418 from home:StevenK:branches:devel:openSUSE:Factory:rpmlint - Install configs with 644. - Update to Rpmlint 2.0: * RPMLint now is a "normal" Python application and now supports being imported like a standard Python module! This means that all the normal use-cases for RPMLint are still supported, but now you can make it a part of larger Python-based applications or services. * RPMLint uses a declarative TOML-based syntax for configuring RPMLint policy instead of Python code. * RPMLint now has an override system for the descriptions shown for various checks, so that distributions who want to give specific policy information can do so without patching the code. * RPMLint includes many more checks! Nearly all of the generally useful checks created by the openSUSE community have been merged into the tree, so distributions can now benefit from a wider offering of checks to implement policy enforcement. * RPMLint is Python 3 only and now supports Python 3.6 and newer. * RPMLint is now built and installed like a standard Python application using setuptools. - Removed legacy patches: * invalid-filerequires.diff * no-badness-return.diff * no-doc-for-lib.diff * only-reg-files-are-scripts.diff * remove-ghostfile-checks.diff * rpm415-workaround.diff * rpmgroup-checks.diff * rpmlint-suse.diff * suse-binarieschecks.diff * suse-checks.diff * suse-filter-exception.diff * suse-filter-more-verbose.diff OBS-URL: https://build.opensuse.org/request/show/901418 OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=780
2021-06-24 08:33:48 +02:00
python3 -m pytest
%endif
%files
%if "%{flavor}" == ""
%license COPYING
%doc README*
%{_bindir}/rpmlint
%{_bindir}/rpmdiff
Accepting request 901418 from home:StevenK:branches:devel:openSUSE:Factory:rpmlint - Install configs with 644. - Update to Rpmlint 2.0: * RPMLint now is a "normal" Python application and now supports being imported like a standard Python module! This means that all the normal use-cases for RPMLint are still supported, but now you can make it a part of larger Python-based applications or services. * RPMLint uses a declarative TOML-based syntax for configuring RPMLint policy instead of Python code. * RPMLint now has an override system for the descriptions shown for various checks, so that distributions who want to give specific policy information can do so without patching the code. * RPMLint includes many more checks! Nearly all of the generally useful checks created by the openSUSE community have been merged into the tree, so distributions can now benefit from a wider offering of checks to implement policy enforcement. * RPMLint is Python 3 only and now supports Python 3.6 and newer. * RPMLint is now built and installed like a standard Python application using setuptools. - Removed legacy patches: * invalid-filerequires.diff * no-badness-return.diff * no-doc-for-lib.diff * only-reg-files-are-scripts.diff * remove-ghostfile-checks.diff * rpm415-workaround.diff * rpmgroup-checks.diff * rpmlint-suse.diff * suse-binarieschecks.diff * suse-checks.diff * suse-filter-exception.diff * suse-filter-more-verbose.diff OBS-URL: https://build.opensuse.org/request/show/901418 OBS-URL: https://build.opensuse.org/package/show/devel:openSUSE:Factory:rpmlint/rpmlint?expand=0&rev=780
2021-06-24 08:33:48 +02:00
%{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