- 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/package/show/openSUSE:Tools/obs-service-set_version?expand=0&rev=119
This commit is contained in:
2
PKGBUILD
2
PKGBUILD
@@ -1,5 +1,5 @@
|
||||
pkgname=obs-service-set_version
|
||||
pkgver=0.5.14
|
||||
pkgver=0.6.0
|
||||
pkgrel=0
|
||||
pkgdesc="An OBS source service: Update spec file version"
|
||||
arch=('i686' 'x86_64')
|
||||
|
@@ -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">854fd2773fc0683c64a42c7ea42c4c743f3dd57f</param></service></servicedata>
|
||||
<param name="changesrevision">3128c8ac5a8a076d9b6bf5dd9a128162f7b86fe3</param></service></servicedata>
|
@@ -1,9 +1,9 @@
|
||||
Format: 1.0
|
||||
Source: obs-service-set_version
|
||||
Version: 0.5.14-0
|
||||
Version: 0.6.0-0
|
||||
Binary: obs-service-set_version
|
||||
Provides: obs-service-set_version
|
||||
Maintainer: Adrian Schroeter <adrian@suse.de>
|
||||
Maintainer: Dirk Mueller <dmueller@suse.de>
|
||||
Architecture: all
|
||||
Standards-Version: 3.7.2
|
||||
Build-Depends: debhelper (>= 7), python3, flake8 | python3-flake8, python3-ddt, python3-packaging
|
||||
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6d1451f30e2e6c24f11462434e8ef76a342783e2d98027c2be2f70d56bc64eb4
|
||||
size 23218
|
3
obs-service-set_version-0.6.0.tar.gz
Normal file
3
obs-service-set_version-0.6.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8fe52788730eef7986bc759d4576aa94485716c1581c12f3273928e9d9c1abbb
|
||||
size 22865
|
@@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 05 09:07:08 UTC 2023 - dmueller@suse.com
|
||||
|
||||
- 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)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 13 10:46:10 UTC 2021 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file
|
||||
#
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -23,14 +23,8 @@
|
||||
%endif
|
||||
%define service set_version
|
||||
|
||||
%if 0%{?suse_version} > 1315 || 0%{?fedora_version} || 0%{?rhel} >= 8 || 0%{?mageia} >= 8
|
||||
%define use_python python3
|
||||
%else
|
||||
%define use_python python
|
||||
%endif
|
||||
|
||||
Name: obs-service-%{service}
|
||||
Version: 0.5.14
|
||||
Version: 0.6.0
|
||||
Release: 0
|
||||
Summary: An OBS source service: Update spec file version
|
||||
License: GPL-2.0-or-later
|
||||
@@ -41,19 +35,17 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildArch: noarch
|
||||
|
||||
%if %{with obs_scm_testsuite}
|
||||
BuildRequires: %{use_python}-ddt
|
||||
BuildRequires: %{use_python}-flake8
|
||||
BuildRequires: %{use_python}-packaging
|
||||
BuildRequires: python3-ddt
|
||||
BuildRequires: python3-flake8
|
||||
BuildRequires: python3-packaging
|
||||
%endif
|
||||
|
||||
%if 0%{?suse_version}
|
||||
%if 0%{?suse_version} > 1315
|
||||
Requires: python3-base
|
||||
%else
|
||||
Requires: python
|
||||
%endif
|
||||
Recommends: %{use_python}-packaging
|
||||
Requires: python3
|
||||
%endif
|
||||
Recommends: python3-packaging
|
||||
|
||||
%description
|
||||
This is a source service for openSUSE Build Service.
|
||||
@@ -65,11 +57,9 @@ a given version or to the existing files.
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
sed -i -e "1 s,#!/usr/bin/python$,#!/usr/bin/%{use_python}," set_version
|
||||
|
||||
%if %{with obs_scm_testsuite}
|
||||
%check
|
||||
make test PYTHON=%{use_python}
|
||||
make test PYTHON=python3
|
||||
%endif
|
||||
|
||||
%install
|
||||
|
Reference in New Issue
Block a user