8
0

50 Commits

Author SHA256 Message Date
a018d62fe8 Accepting request 1189245 from openSUSE:Tools
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1189245
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-set_version?expand=0&rev=50
2024-07-24 13:29:38 +00:00
6b8734be70 fix
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-set_version?expand=0&rev=141
2024-07-16 11:50:30 +00:00
2e8d406269 update
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-set_version?expand=0&rev=140
2024-07-16 11:43:47 +00:00
2a573b436e Accepting request 1181880 from openSUSE:Tools
- expand __python3 with python3 to work outside suse rpm packaging

- Update to version 0.6.5:
  * Update spec file to the one used in the packaging
  * Move revision detection into _revision_detect

- Fix shebang of the script to use the explicit version of Python
  (bsc#1212476).

OBS-URL: https://build.opensuse.org/request/show/1181880
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-set_version?expand=0&rev=49
2024-06-21 14:02:15 +00:00
b469da4737 - expand __python3 with python3 to work outside suse rpm packaging
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-set_version?expand=0&rev=138
2024-06-20 07:59:46 +00:00
c83ac04544 - Update to version 0.6.5:
* Move revision detection into _revision_detect

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-set_version?expand=0&rev=137
2024-06-18 15:32:18 +00:00
bf3e22defa - Fix shebang of the script to use the explicit version of Python
(bsc#1212476).

OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-set_version?expand=0&rev=136
2024-06-18 15:27:19 +00:00
7f21ce209c Accepting request 1174046 from openSUSE:Tools
- Update to version 0.6.4:
  * Treat LegacyVersion as InvalidVersion
  * Add testing python 3.10 - 3.12

OBS-URL: https://build.opensuse.org/request/show/1174046
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-set_version?expand=0&rev=48
2024-05-15 19:24:24 +00:00
39862cab17 Accepting request 1172198 from openSUSE:Tools
- Update to version 0.6.3:
  * [dist] import spec file from O:S:U
  * Mute warning about missing EMAIL env variable in unit tests
  * Fix unit tests
  * Replace invalid use of os.errno with errno module
  * Replace @VERSION@ placeholders in .dsc files
  * Remove usage of deprecated imp module with importlib
  * Detect revision and set pkgrel for Arch packages

OBS-URL: https://build.opensuse.org/request/show/1172198
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-set_version?expand=0&rev=47
2024-05-07 16:02:17 +00:00
9ec0fb9a4e Accepting request 1139483 from openSUSE:Tools
OBS-URL: https://build.opensuse.org/request/show/1139483
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-set_version?expand=0&rev=46
2024-01-18 20:51:51 +00:00
20eb393ad1 Accepting request 1090360 from openSUSE:Tools
- Builds on CentOS_[5678] and possibly other distros failed because 
  their 'rpm' didn't recognize the "Recommends:" tag. I've wrapped 
  that tag in an "%if 0%{?suse_version}" to work around it. 
  Build is now passing on the CentOS distros.

OBS-URL: https://build.opensuse.org/request/show/1090360
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-set_version?expand=0&rev=45
2023-06-03 22:12:05 +00:00
6912633048 Accepting request 1059386 from openSUSE:Tools
- Update to version 0.6.2:
  * Avoid the Flake8 warning and restore conditional import

OBS-URL: https://build.opensuse.org/request/show/1059386
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-set_version?expand=0&rev=44
2023-01-20 16:37:30 +00:00
7f6ca9c3b6 Accepting request 1058989 from openSUSE:Tools
- Update to version 0.6.1:
  * Handle already converted versions gracefully
  * Flake8 fixes (missing import)
  * Test python3 by default

OBS-URL: https://build.opensuse.org/request/show/1058989
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-set_version?expand=0&rev=43
2023-01-18 12:08:28 +00:00
850027fe57 Accepting request 1056150 from openSUSE:Tools
- Update to version 0.6.0:
  * Test against Python 3.10 which is the Tumbleweed default
  * Remove TravisCI - we switched to GitHub Actions
  * handle removed packaging.version.LegacyVersion (Fixes #83)

OBS-URL: https://build.opensuse.org/request/show/1056150
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-set_version?expand=0&rev=42
2023-01-06 16:04:59 +00:00
af501ce561 Accepting request 941631 from openSUSE:Tools
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/941631
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-set_version?expand=0&rev=41
2021-12-21 17:40:15 +00:00
a6a4e5b343 Accepting request 906285 from openSUSE:Tools
- Update to version 0.5.14:
  * changed debugging output to logging module
  * Explicitely specifying --fromfile should win over .obsinfo
  * Add new switch --fromfile
  * Add zst to recognized suffixes (zstd support)

OBS-URL: https://build.opensuse.org/request/show/906285
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-set_version?expand=0&rev=40
2021-07-18 21:44:59 +00:00
d1c90118e0 Accepting request 870317 from openSUSE:Tools
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/870317
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-set_version?expand=0&rev=39
2021-02-11 11:46:03 +00:00
222c7e3a2a Accepting request 723246 from openSUSE:Tools
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/723246
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-set_version?expand=0&rev=38
2019-08-15 10:28:26 +00:00
69191c6864 Accepting request 705000 from openSUSE:Tools
OBS-URL: https://build.opensuse.org/request/show/705000
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-set_version?expand=0&rev=37
2019-05-24 09:32:46 +00:00
e7be6f88b6 Accepting request 702480 from openSUSE:Tools
OBS-URL: https://build.opensuse.org/request/show/702480
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-set_version?expand=0&rev=36
2019-05-13 12:51:46 +00:00
eac0bf3e92 Accepting request 653725 from openSUSE:Tools
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/653725
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-set_version?expand=0&rev=35
2018-12-04 19:57:32 +00:00
bfd366a83b Accepting request 637853 from openSUSE:Tools
OBS-URL: https://build.opensuse.org/request/show/637853
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-set_version?expand=0&rev=34
2018-09-25 13:43:56 +00:00
aa3c697ef1 Accepting request 636140 from openSUSE:Tools
- Update to version 0.5.9:
  * avoid crashes due to false is_zipfile() response
- enable test suite

OBS-URL: https://build.opensuse.org/request/show/636140
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-set_version?expand=0&rev=33
2018-09-18 09:44:59 +00:00
0c04b82265 Accepting request 558810 from openSUSE:Tools
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/558810
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-set_version?expand=0&rev=32
2017-12-21 10:29:30 +00:00
2fedfc3ce5 Accepting request 541545 from openSUSE:Tools
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/541545
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-set_version?expand=0&rev=31
2017-11-14 12:02:09 +00:00
35958a0ae4 Accepting request 537602 from openSUSE:Tools
try to fix python3 problem in build env

OBS-URL: https://build.opensuse.org/request/show/537602
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-set_version?expand=0&rev=30
2017-10-31 14:43:53 +00:00
8942b8b7ec Accepting request 534346 from openSUSE:Tools
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/534346
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-set_version?expand=0&rev=29
2017-10-18 08:53:44 +00:00
71ff641cd3 Accepting request 527308 from openSUSE:Tools
1

OBS-URL: https://build.opensuse.org/request/show/527308
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-set_version?expand=0&rev=28
2017-09-19 15:35:26 +00:00
4b35d1156d Accepting request 509085 from openSUSE:Tools
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/509085
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-set_version?expand=0&rev=27
2017-07-11 06:27:04 +00:00
e2162158a8 Accepting request 492873 from openSUSE:Tools
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/492873
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-set_version?expand=0&rev=26
2017-05-06 16:30:33 +00:00
582cd4a5d4 Accepting request 477941 from openSUSE:Tools
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/477941
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-set_version?expand=0&rev=25
2017-03-12 19:04:34 +00:00
133e5aeda1 Accepting request 450040 from openSUSE:Tools
support obscpio archives directly

OBS-URL: https://build.opensuse.org/request/show/450040
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-set_version?expand=0&rev=24
2017-01-17 13:35:32 +00:00
8e5da26360 Accepting request 391253 from openSUSE:Tools
1

OBS-URL: https://build.opensuse.org/request/show/391253
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-set_version?expand=0&rev=23
2016-04-28 14:55:49 +00:00
330324db6b Accepting request 386889 from openSUSE:Tools
1

OBS-URL: https://build.opensuse.org/request/show/386889
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-set_version?expand=0&rev=22
2016-04-12 17:37:25 +00:00
03ac20c76a Accepting request 367521 from openSUSE:Tools
1

OBS-URL: https://build.opensuse.org/request/show/367521
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-set_version?expand=0&rev=21
2016-03-09 14:17:07 +00:00
e4f2aba359 Accepting request 330269 from openSUSE:Tools
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/330269
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-set_version?expand=0&rev=20
2015-09-11 07:04:20 +00:00
Stephan Kulow
145d16969d Accepting request 327140 from openSUSE:Tools
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/327140
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-set_version?expand=0&rev=19
2015-08-28 06:26:33 +00:00
Stephan Kulow
7f74e33d6b Accepting request 320314 from openSUSE:Tools
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/320314
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-set_version?expand=0&rev=18
2015-08-05 04:52:03 +00:00
Stephan Kulow
c6359921c9 Accepting request 249594 from openSUSE:Tools
1

OBS-URL: https://build.opensuse.org/request/show/249594
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-set_version?expand=0&rev=17
2014-09-17 15:26:40 +00:00
Stephan Kulow
a82ac12712 Accepting request 248870 from openSUSE:Tools
1

OBS-URL: https://build.opensuse.org/request/show/248870
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-set_version?expand=0&rev=16
2014-09-12 15:04:10 +00:00
Stephan Kulow
9d18c34965 Accepting request 240224 from openSUSE:Tools
1

OBS-URL: https://build.opensuse.org/request/show/240224
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-set_version?expand=0&rev=14
2014-07-11 04:46:12 +00:00
Stephan Kulow
37f26c234a Accepting request 226380 from openSUSE:Tools
fix arch linux updating

OBS-URL: https://build.opensuse.org/request/show/226380
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-set_version?expand=0&rev=13
2014-03-18 12:55:49 +00:00
Stephan Kulow
35b3c0896b Accepting request 225944 from openSUSE:Tools
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/225944
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-set_version?expand=0&rev=12
2014-03-14 14:17:23 +00:00
Stephan Kulow
c01c932941 Accepting request 224865 from openSUSE:Tools
better fix ... a rewrite

OBS-URL: https://build.opensuse.org/request/show/224865
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-set_version?expand=0&rev=11
2014-03-07 06:05:47 +00:00
Stephan Kulow
5a555104c4 Accepting request 221879 from openSUSE:Tools
- Update to version 0.3.2:
  + Be more liberal in root-dir version detection

OBS-URL: https://build.opensuse.org/request/show/221879
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-set_version?expand=0&rev=10
2014-02-12 06:04:05 +00:00
Stephan Kulow
e94f98a983 Accepting request 221578 from openSUSE:Tools
- Update to version 0.3.1:
  + Check tarball content's root-dir for version
  + Use a for-loop for different endings

OBS-URL: https://build.opensuse.org/request/show/221578
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-set_version?expand=0&rev=9
2014-02-11 10:03:27 +00:00
Tomáš Chvátal
58548130be Accepting request 205125 from openSUSE:Tools
- Move service to github.com/openSUSE/obs-service-set_version
- Add _service file to update package from there
- Drop local sources and use tarball from source services (forwarded request 205119 from saschpe)

OBS-URL: https://build.opensuse.org/request/show/205125
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-set_version?expand=0&rev=8
2013-10-30 14:47:48 +00:00
Tomáš Chvátal
655fc9afd4 Accepting request 203754 from openSUSE:Tools
Take Debian version and revision number from debian.changelog. (forwarded request 202603 from jblunck)

OBS-URL: https://build.opensuse.org/request/show/203754
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-set_version?expand=0&rev=7
2013-10-18 17:22:03 +00:00
Stephan Kulow
1e86a416ee Accepting request 175299 from openSUSE:Tools
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/175299
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-set_version?expand=0&rev=5
2013-05-16 09:15:14 +00:00
Stephan Kulow
e3edc3d417 Accepting request 126311 from openSUSE:Tools
OBS-URL: https://build.opensuse.org/request/show/126311
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/obs-service-set_version?expand=0&rev=3
2012-06-28 13:37:19 +00:00
7 changed files with 35 additions and 10 deletions

View File

@@ -1,5 +1,5 @@
pkgname=obs-service-set_version
pkgver=0.6.4
pkgver=0.6.6
pkgrel=0
pkgdesc="An OBS source service: Update spec file version"
arch=('i686' 'x86_64')

View File

@@ -4,4 +4,4 @@
<param name="changesrevision">eaedc529acba421821e0e5dcb4956c66e7f315a9</param></service>
<service name="tar_scm">
<param name="url">https://github.com/openSUSE/obs-service-set_version.git</param>
<param name="changesrevision">9bfad978a01befdbb58a573ee0b571464116319a</param></service></servicedata>
<param name="changesrevision">5a4de9958df115ddff484083f2a1cb0aaa9e776a</param></service></servicedata>

View File

@@ -1,6 +1,6 @@
Format: 1.0
Source: obs-service-set_version
Version: 0.6.4-0
Version: 0.6.6-0
Binary: obs-service-set_version
Provides: obs-service-set_version
Maintainer: Dirk Mueller <dmueller@suse.de>

View File

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

Binary file not shown.

View File

@@ -1,3 +1,27 @@
-------------------------------------------------------------------
Tue Jul 16 11:43:30 UTC 2024 - adrian@suse.de
- Update to version 0.6.6:
* Hardcode "0" as release for PKGBUILD as well
-------------------------------------------------------------------
Thu Jun 20 07:59:18 UTC 2024 - Dirk Müller <dmueller@suse.com>
- expand __python3 with python3 to work outside suse rpm packaging
-------------------------------------------------------------------
Tue Jun 18 15:31:41 UTC 2024 - dmueller@suse.com
- Update to version 0.6.5:
* Update spec file to the one used in the packaging
* Move revision detection into _revision_detect
-------------------------------------------------------------------
Fri Jun 14 18:33:15 UTC 2024 - Matej Cepl <mcepl@cepl.eu>
- Fix shebang of the script to use the explicit version of Python
(bsc#1212476).
-------------------------------------------------------------------
Tue May 14 16:03:17 UTC 2024 - dmueller@suse.com

View File

@@ -24,7 +24,7 @@
%define service set_version
Name: obs-service-%{service}
Version: 0.6.4
Version: 0.6.6
Release: 0
Summary: An OBS source service: Update spec file version
License: GPL-2.0-or-later
@@ -40,9 +40,7 @@ BuildRequires: python3-flake8
BuildRequires: python3-packaging
%endif
%if 0%{?suse_version} > 1315
Requires: python3-base
%else
%if !0%{?suse_version}
Requires: python3
%endif
%if 0%{?suse_version}
@@ -68,6 +66,9 @@ make test PYTHON=python3
mkdir -p %{buildroot}%{_prefix}/lib/obs/service
install -m 0755 set_version %{buildroot}%{_prefix}/lib/obs/service
install -m 0644 set_version.service %{buildroot}%{_prefix}/lib/obs/service
# Doing %%python3_fix_shebang_path old fashioned way for the backward compatibility
sed -i "1s@#\\!.*python\S*@#\\!$(realpath /usr/bin/python3)@" \
%{buildroot}%{_prefix}/lib/obs/service/set_version
%files
%defattr(-,root,root)