forked from pool/python-semver
Accepting request 708127 from home:pgajdos
- run the testsuite OBS-URL: https://build.opensuse.org/request/show/708127 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-semver?expand=0&rev=13
This commit is contained in:
committed by
Git OBS Bridge
parent
c066f906e1
commit
0a03fab00b
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-semver
|
||||
#
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -25,7 +25,9 @@ Summary: Python helper for Semantic Versioning
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/k-bx/python-semver
|
||||
Source: https://files.pythonhosted.org/packages/source/s/semver/semver-%{version}.tar.gz
|
||||
# https://github.com/k-bx/python-semver/issues/136
|
||||
Source: https://github.com/k-bx/python-semver/archive/%{version}.tar.gz
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildArch: noarch
|
||||
@@ -36,7 +38,7 @@ A Python module for semantic versioning. Simplifies comparing versions.
|
||||
See also http://semver.org/
|
||||
|
||||
%prep
|
||||
%setup -q -n semver-%{version}
|
||||
%setup -q -n python-semver-%{version}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
@@ -44,6 +46,9 @@ See also http://semver.org/
|
||||
%install
|
||||
%python_install
|
||||
|
||||
%check
|
||||
%pytest
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.rst
|
||||
%{python_sitelib}/semver*
|
||||
|
Reference in New Issue
Block a user