diff --git a/permissions.changes b/permissions.changes index 7885e08..87df301 100644 --- a/permissions.changes +++ b/permissions.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Mon May 13 11:36:17 UTC 2024 - Matthias Gerstner + +- rename chkstat package to permctl to match the new binary names. Establish + Provides/Obsoletes to keep dependencies and old package cleanup in working + order, see: + https://en.opensuse.org/openSUSE:Package_dependencies#Renaming_a_package + ------------------------------------------------------------------- Mon May 13 10:44:44 UTC 2024 - matthias.gerstner@suse.com diff --git a/permissions.spec b/permissions.spec index b3194ae..4a4d5c0 100644 --- a/permissions.spec +++ b/permissions.spec @@ -35,7 +35,7 @@ BuildRequires: python-rpm-macros BuildRequires: tclap # test suite BuildRequires: python3-base -Requires: chkstat +Requires: permctl Requires: permissions-config Provides: aaa_base:%{_datadir}/permissions @@ -75,7 +75,7 @@ This package does not contain files, it just requires the necessary packages. Summary: SUSE Linux Default Permissions config files Group: Productivity/Security Requires(post): %fillup_prereq -Requires(post): chkstat +Requires(post): permctl #!BuildIgnore: group(trusted) Requires(pre): group(trusted) Obsoletes: permissions-doc <= %{version} @@ -102,14 +102,16 @@ The actual permissions configuration files, /usr/share/permissions/permission.*. # apply all potentially changed permissions %{_bindir}/permctl --system || : -%package -n chkstat +%package -n permctl Summary: SUSE Linux Default Permissions tool Group: Productivity/Security +Provides: chkstat = %version-%release +Obsoletes: chkstat < %version-%release -%description -n chkstat +%description -n permctl Tool to check and set file permissions. -%files -n chkstat +%files -n permctl %{_bindir}/chkstat %{_bindir}/permctl %{_mandir}/man8/permctl.8%{ext_man}