3
0
forked from pool/permissions

Accepting request 397516 from 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 (forwarded request 397400 from dimstar)

OBS-URL: https://build.opensuse.org/request/show/397516
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/permissions?expand=0&rev=105
This commit is contained in:
Dominique Leuenberger 2016-05-26 21:52:53 +00:00 committed by Git OBS Bridge
commit 3f57aedd54
6 changed files with 39 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:89b5cc9c06841865654716617469036b93ef366b1ac370b325ade35ff220ab43
size 21628

View File

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

View File

@ -1,3 +1,20 @@
-------------------------------------------------------------------
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
- chage only needs read rights to /etc/shadow, so setgid shadow is sufficient (bsc#975352)
-------------------------------------------------------------------
Wed Mar 30 11:14:41 UTC 2016 - meissner@suse.com
- permissions: adding gstreamer ptp file caps (bsc#960173)
-------------------------------------------------------------------
Fri Jan 15 14:19:44 UTC 2016 - meissner@suse.com

View File

@ -20,7 +20,7 @@
BuildRequires: libcap-devel
Name: permissions
Version: 2016.01.15.1451
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