17
0

6 Commits

Author SHA256 Message Date
45611ee9f4 Accepting request 1235067 from home:bluca:branches:openSUSE:Tools
Arch: depend on python-packaging to fix warning /usr/lib/obs/service/set_version:35: RuntimeWarning: install 'packaging' to improve python package versions

OBS-URL: https://build.opensuse.org/request/show/1235067
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-set_version?expand=0&rev=143
2025-01-24 15:55:14 +00:00
7314599af1 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
6bd5843709 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
2f145f72b4 - 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
19cf13bf4b - 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
0899f7c825 Accepting request 1180968 from home:mcepl:branches:openSUSE:Tools
- Fix shebang of the script to use the explicit version of Python
  (bsc#1212476).

OBS-URL: https://build.opensuse.org/request/show/1180968
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
7 changed files with 36 additions and 11 deletions

View File

@@ -1,12 +1,12 @@
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')
url="https://www.github.com/openSUSE/obs-service-set_version"
license=('GPL-2.0+' 'GPL-2.0')
groups=('base-devel')
depends=('python')
depends=('python' 'python-packaging')
source=(obs-service-set_version-${pkgver}.tar.gz)
md5sums=('SKIP')

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)