SHA256
1
0
forked from pool/permissions

Accepting request 397400 from home:dimstar:branches:Base:System

- Introduce _service to easier update the package. For simplicity,
  change the version from yyyy.mm.dd to yyyymmdd (which is eactly
  %cd in the _service defintion). Upgrading is no problem.

It's up to the maintainer if you prefer this method or whatever you
currently use...

the _service allows to do an update with those commands:
===
osc co Base:System permissions
cd Base:System/permissions
rm *xz
osc service dr
osc ar
osc ci -m 'Update done'
===

It will add use the commit messages from git to formulate the .changelog in the form:
+ Update to version YYYYMMDD:
  - Git commitlog 1
  - Git commitlog 1

Feel free to use or reject

OBS-URL: https://build.opensuse.org/request/show/397400
OBS-URL: https://build.opensuse.org/package/show/Base:System/permissions?expand=0&rev=144
This commit is contained in:
Marcus Meissner 2016-05-23 14:04:56 +00:00 committed by Git OBS Bridge
parent 5b294da664
commit 6899251720
6 changed files with 29 additions and 5 deletions

13
_service Normal file
View File

@ -0,0 +1,13 @@
<services>
<service name="tar_scm" mode="disabled">
<param name="url">https://github.com/openSUSE/permissions.git</param>
<param name="scm">git</param>
<param name="versionformat">%cd</param>
<param name="changesgenerate">enable</param>
</service>
<service name="recompress" mode="disabled">
<param name="file">*.tar</param>
<param name="compression">xz</param>
</service>
<service name="set_version" mode="disabled"/>
</services>

4
_servicedata Normal file
View File

@ -0,0 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/openSUSE/permissions.git</param>
<param name="changesrevision">a0d1ad1352f3badc255dcc46a41901461af2e5f5</param></service></servicedata>

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c4f601eaad4b344256cc680b50b623c7f466f19370d38b050c81795a2e0fa3fd
size 21677

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b998e9f84b759d0df6ab2dba04cf13ad2f70b8e6294024508c64b6c90a02260f
size 19540

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon May 23 09:15:22 UTC 2016 - dimstar@opensuse.org
- Introduce _service to easier update the package. For simplicity,
change the version from yyyy.mm.dd to yyyymmdd (which is eactly
%cd in the _service defintion). Upgrading is no problem.
-------------------------------------------------------------------
Mon May 23 09:00:11 UTC 2016 - meissner@suse.com

View File

@ -20,7 +20,7 @@
BuildRequires: libcap-devel
Name: permissions
Version: 2016.04.13.1704
Version: 20160413
Release: 0
Provides: aaa_base:/etc/permissions
PreReq: %fillup_prereq
@ -28,7 +28,7 @@ Summary: SUSE Linux Default Permissions
License: GPL-2.0+
Group: Productivity/Security
# Maintained in github by the security team.
Source: permissions-%{version}.tar.bz2
Source: permissions-%{version}.tar.xz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Url: http://github.com/openSUSE/permissions