forked from pool/python-node-semver
- Use github source
- Run tests OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-node-semver?expand=0&rev=3
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c32bfc976fd9e003c4a15665e5fe9f337366ba6b60aeb34e4479da9d7bbb0081
|
||||
size 10236
|
||||
3
python-node-semver-0.2.0.tar.gz
Normal file
3
python-node-semver-0.2.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b982bfc8af25e01ca8bcc13922c3a572caba4da5a208b0557bd1592838e2d1c4
|
||||
size 15844
|
||||
@@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 25 21:53:07 UTC 2017 - mpluskal@suse.com
|
||||
|
||||
- Use github source
|
||||
- Run tests
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 25 19:24:25 UTC 2017 - mpluskal@suse.com
|
||||
|
||||
|
||||
@@ -24,8 +24,9 @@ Summary: Port of node-semver
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
Url: https://github.com/podhmo/python-semver
|
||||
Source: https://files.pythonhosted.org/packages/source/n/node-semver/node-semver-%{version}.tar.gz
|
||||
Source: https://github.com/podhmo/python-semver/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
@@ -36,7 +37,7 @@ BuildArch: noarch
|
||||
python version of node-semver (https://github.com/isaacs/node-semver)
|
||||
|
||||
%prep
|
||||
%setup -q -n node-semver-%{version}
|
||||
%setup -q -n python-semver-%{version}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
@@ -45,8 +46,11 @@ python version of node-semver (https://github.com/isaacs/node-semver)
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%python_exec setup.py test
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.rst
|
||||
%doc LICENSE README.rst
|
||||
%{python_sitelib}/*
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user