use defined version
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=319
This commit is contained in:
parent
b14fb8c1a0
commit
f3635d8a31
2
PKGBUILD
2
PKGBUILD
@ -1,5 +1,5 @@
|
|||||||
pkgname=obs-service-tar_scm
|
pkgname=obs-service-tar_scm
|
||||||
pkgver=0.10.34.1667392550.026bf0e
|
pkgver=0.10.35
|
||||||
pkgrel=0
|
pkgrel=0
|
||||||
pkgdesc="Source Service for the OpenSUSE Build Service (OBS)"
|
pkgdesc="Source Service for the OpenSUSE Build Service (OBS)"
|
||||||
arch=('any')
|
arch=('any')
|
||||||
|
7
_service
7
_service
@ -3,14 +3,15 @@
|
|||||||
<param name="url">https://github.com/openSUSE/obs-service-tar_scm.git</param>
|
<param name="url">https://github.com/openSUSE/obs-service-tar_scm.git</param>
|
||||||
<param name="scm">git</param>
|
<param name="scm">git</param>
|
||||||
<param name="exclude">.git</param>
|
<param name="exclude">.git</param>
|
||||||
<param name="version">git-master</param>
|
<param name="version">0.10.35</param>
|
||||||
<param name="versionformat">@PARENT_TAG@.%ct.%h</param>
|
|
||||||
<param name="changesgenerate">enable</param>
|
<param name="changesgenerate">enable</param>
|
||||||
<param name="extract">dist/obs-service-tar_scm.spec</param>
|
<param name="extract">dist/obs-service-tar_scm.spec</param>
|
||||||
<param name="versionrewrite-pattern">v(.*)</param>
|
<param name="versionrewrite-pattern">v(.*)</param>
|
||||||
<param name="revision">master</param>
|
<param name="revision">0.10.35</param>
|
||||||
<param name="latest-signed-tag">true</param>
|
<param name="latest-signed-tag">true</param>
|
||||||
|
<!--
|
||||||
<param name="maintainers-asc">_maintainers</param>
|
<param name="maintainers-asc">_maintainers</param>
|
||||||
|
-->
|
||||||
</service>
|
</service>
|
||||||
<service name="set_version" mode="disabled">
|
<service name="set_version" mode="disabled">
|
||||||
<param name="basename">obs-service-tar_scm</param>
|
<param name="basename">obs-service-tar_scm</param>
|
||||||
|
@ -9,4 +9,4 @@
|
|||||||
<param name="url">git://github.com/openSUSE/obs-service-tar_scm.git</param>
|
<param name="url">git://github.com/openSUSE/obs-service-tar_scm.git</param>
|
||||||
<param name="changesrevision">85bfc3fabb06212b49a389afb3310bfbf2996913</param></service><service name="tar_scm">
|
<param name="changesrevision">85bfc3fabb06212b49a389afb3310bfbf2996913</param></service><service name="tar_scm">
|
||||||
<param name="url">https://github.com/openSUSE/obs-service-tar_scm.git</param>
|
<param name="url">https://github.com/openSUSE/obs-service-tar_scm.git</param>
|
||||||
<param name="changesrevision">026bf0e08d904f092e7dbdb893bd204efc7f59c9</param></service></servicedata>
|
<param name="changesrevision">85bfc3fabb06212b49a389afb3310bfbf2996913</param></service></servicedata>
|
@ -1,6 +1,6 @@
|
|||||||
Format: 1.0
|
Format: 1.0
|
||||||
Source: obs-service-tar-scm
|
Source: obs-service-tar-scm
|
||||||
Version: 0.10.34.1667392550.026bf0e
|
Version: 0.10.35
|
||||||
Provides: obs-service-obs_scm, obs-service-tar
|
Provides: obs-service-obs_scm, obs-service-tar
|
||||||
Binary: obs-service-tar_scm
|
Binary: obs-service-tar_scm
|
||||||
Maintainer: Adrian Schroeter <adrian@suse.de>
|
Maintainer: Adrian Schroeter <adrian@suse.de>
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:d5ae8a33e2bf302ceabd7f5cf126a52c116250dcee2dd8169d062fc20bf337f1
|
|
||||||
size 156812
|
|
3
obs-service-tar_scm-0.10.35.tar.gz
Normal file
3
obs-service-tar_scm-0.10.35.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:ee80f7fd183b809646a2aef9b759917952ee040b0a4f6939f753ccf87de77e8d
|
||||||
|
size 90896
|
@ -16,7 +16,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%if 0%{?fedora_version}%{?rhel}
|
%if 0%{?fedora_version}%{?centos_version}%{?rhel_version}%{?almalinux}
|
||||||
%define _pkg_base %nil
|
%define _pkg_base %nil
|
||||||
%else
|
%else
|
||||||
%define _pkg_base -base
|
%define _pkg_base -base
|
||||||
@ -40,7 +40,7 @@
|
|||||||
ExclusiveArch: skip-build
|
ExclusiveArch: skip-build
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if 0%{?suse_version} >= 1315 || 0%{?fedora_version} >= 29 || 0%{?rhel} >= 8
|
%if 0%{?suse_version} >= 1315 || 0%{?fedora_version} >= 29 || 0%{?centos_version} >= 800 || 0%{?rhel_version} >= 800 || 0%{?almalinux} >= 8
|
||||||
%bcond_without python3
|
%bcond_without python3
|
||||||
%else
|
%else
|
||||||
%bcond_with python3
|
%bcond_with python3
|
||||||
@ -71,14 +71,14 @@ ExclusiveArch: skip-build
|
|||||||
%endif
|
%endif
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if 0%{?fedora_version} || 0%{?rhel}
|
%if 0%{?fedora_version} || 0%{?rhel_version} || 0%{?centos_version} || 0%{?scientificlinux_version} || 0%{?almalinux}
|
||||||
%if 0%{?fedora_version} >= 29 || 0%{?rhel} >= 8
|
%if 0%{?fedora_version} >= 29 || 0%{?rhel_version} >= 800 || 0%{?centos_version} >= 800 || 0%{?almalinux} >= 8
|
||||||
%define pyyaml_package %{use_python}-PyYAML
|
%define pyyaml_package %{use_python}-PyYAML
|
||||||
%else
|
%else
|
||||||
%define pyyaml_package PyYAML
|
%define pyyaml_package PyYAML
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if 0%{?fedora_version} >= 24 || 0%{?rhel} >= 8
|
%if 0%{?fedora_version} >= 24 || 0%{?rhel_version} >= 800 || 0%{?centos_version} >= 800 || 0%{?almalinux} >= 8
|
||||||
%define locale_package glibc-langpack-en
|
%define locale_package glibc-langpack-en
|
||||||
%else
|
%else
|
||||||
%define locale_package glibc-common
|
%define locale_package glibc-common
|
||||||
@ -92,7 +92,7 @@ ExclusiveArch: skip-build
|
|||||||
|
|
||||||
# Mageia 8 has package names python-*
|
# Mageia 8 has package names python-*
|
||||||
# but requires python3 in shebang
|
# but requires python3 in shebang
|
||||||
%if 0%{?mageia} >= 8 || 0%{?rhel} >= 8
|
%if 0%{?mageia} >= 8 || 0%{?centos_version} >= 800 || 0%{?rhel_version} >= 800 || 0%{?almalinux} >= 8
|
||||||
%define python_path %{_bindir}/python3
|
%define python_path %{_bindir}/python3
|
||||||
%else
|
%else
|
||||||
%define python_path %{_bindir}/%{use_python}
|
%define python_path %{_bindir}/%{use_python}
|
||||||
@ -119,8 +119,8 @@ Recommends: %{use_python}-keyrings.alt \
|
|||||||
|
|
||||||
%define pkg_name obs-service-tar_scm
|
%define pkg_name obs-service-tar_scm
|
||||||
Name: %{pkg_name}%{nsuffix}
|
Name: %{pkg_name}%{nsuffix}
|
||||||
%define version_unconverted 0.10.34.1667392550.026bf0e
|
%define version_unconverted 0.10.35
|
||||||
Version: 0.10.34.1667392550.026bf0e
|
Version: 0.10.35
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: An OBS source service: create tar ball from svn/git/hg
|
Summary: An OBS source service: create tar ball from svn/git/hg
|
||||||
License: GPL-2.0-or-later
|
License: GPL-2.0-or-later
|
||||||
@ -137,15 +137,13 @@ BuildRequires: %{locale_package}
|
|||||||
BuildRequires: %{pkg_name} = %{version}
|
BuildRequires: %{pkg_name} = %{version}
|
||||||
BuildRequires: %{use_python}-keyring
|
BuildRequires: %{use_python}-keyring
|
||||||
BuildRequires: %{use_python}-keyrings.alt
|
BuildRequires: %{use_python}-keyrings.alt
|
||||||
|
BuildRequires: %{use_python}-mock
|
||||||
BuildRequires: %{use_python}-six
|
BuildRequires: %{use_python}-six
|
||||||
BuildRequires: %{use_python}-unittest2
|
BuildRequires: %{use_python}-unittest2
|
||||||
BuildRequires: bzr
|
BuildRequires: bzr
|
||||||
BuildRequires: git-core
|
BuildRequires: git-core
|
||||||
BuildRequires: mercurial
|
BuildRequires: mercurial
|
||||||
BuildRequires: subversion
|
BuildRequires: subversion
|
||||||
%if !%{with python3}
|
|
||||||
BuildRequires: %{use_python}-mock
|
|
||||||
%endif
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
BuildRequires: %{locale_package}
|
BuildRequires: %{locale_package}
|
||||||
@ -171,7 +169,6 @@ BuildRequires: python >= 2.6
|
|||||||
#
|
#
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
Requires: %{python_path}
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This is a source service for openSUSE Build Service.
|
This is a source service for openSUSE Build Service.
|
||||||
|
Loading…
Reference in New Issue
Block a user