- 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

OBS-URL: https://build.opensuse.org/package/show/Base:System/permissions?expand=0&rev=340
This commit is contained in:
Matthias Gerstner 2024-05-13 11:37:11 +00:00 committed by Git OBS Bridge
parent 2cc579008f
commit 95652b1f73
2 changed files with 15 additions and 5 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Mon May 13 11:36:17 UTC 2024 - Matthias Gerstner <matthias.gerstner@suse.com>
- 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

View File

@ -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}