Accepting request 700150 from home:jsegitz:branches:Base:System
- Fixed versions. Removed set_version from _service file, doesn't work with the new packaging. Call fix_version.sh to set current date as version instead - Fixed requires for -config and -zypp-plugin OBS-URL: https://build.opensuse.org/request/show/700150 OBS-URL: https://build.opensuse.org/package/show/Base:System/permissions?expand=0&rev=218
This commit is contained in:
parent
741577cc7c
commit
9bbb7deff7
1
_service
1
_service
@ -9,5 +9,4 @@
|
||||
<param name="file">*.tar</param>
|
||||
<param name="compression">xz</param>
|
||||
</service>
|
||||
<service name="set_version" mode="disabled"/>
|
||||
</services>
|
||||
|
6
fix_version.sh
Normal file
6
fix_version.sh
Normal file
@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
version=`date '+%Y%m%d'`
|
||||
|
||||
echo "setting version to ${version}"
|
||||
sed -E -i -e "s/^%define VERSION [0-9]+/%define VERSION ${version}/" permissions.spec
|
@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu May 2 09:46:05 UTC 2019 - jsegitz@suse.com
|
||||
|
||||
- Fixed versions. Removed set_version from _service file, doesn't
|
||||
work with the new packaging. Call fix_version.sh to set current
|
||||
date as version instead
|
||||
- Fixed requires for -config and -zypp-plugin
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 30 08:57:37 UTC 2019 - opensuse-packaging@opensuse.org
|
||||
|
||||
|
@ -57,7 +57,7 @@ This package does not contain files, it just requires the necessary packages.
|
||||
%package doc
|
||||
Summary: SUSE Linux Default Permissions documentation
|
||||
Group: Documentation/Man
|
||||
Version: 20190429%{suse_version}_%{VERSION}
|
||||
Version: %{suse_version}_%{VERSION}
|
||||
Release: 0
|
||||
|
||||
%description doc
|
||||
@ -69,8 +69,9 @@ Documentation for the permission files /etc/permissions*.
|
||||
%package config
|
||||
Summary: SUSE Linux Default Permissions config files
|
||||
Group: Productivity/Security
|
||||
Version: 20190429%{suse_version}_%{VERSION}
|
||||
Version: %{suse_version}_%{VERSION}
|
||||
Release: 0
|
||||
Requires(post): chkstat
|
||||
|
||||
%description config
|
||||
The actual permissions configuration files, /etc/permission.*.
|
||||
@ -91,7 +92,7 @@ The actual permissions configuration files, /etc/permission.*.
|
||||
%package -n chkstat
|
||||
Summary: SUSE Linux Default Permissions tool
|
||||
Group: Productivity/Security
|
||||
Version: 20190429%{suse_version}_%{VERSION}
|
||||
Version: %{suse_version}_%{VERSION}
|
||||
Release: 0
|
||||
|
||||
%description -n chkstat
|
||||
@ -103,7 +104,7 @@ Tool to check and set file permissions.
|
||||
|
||||
%package -n permissions-zypp-plugin
|
||||
BuildArch: noarch
|
||||
Requires: permissions = %version
|
||||
Requires: permissions = %{VERSION}
|
||||
Requires: python3-zypp-plugin
|
||||
Requires: libzypp(plugin:commit) = 1
|
||||
Summary: A zypper commit plugin for calling chkstat
|
||||
|
Loading…
Reference in New Issue
Block a user