forked from pool/python-filelock
- Switch to github tarball
- Enable tests OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-filelock?expand=0&rev=2
This commit is contained in:
parent
ecf42812a0
commit
4f2514c601
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:011327d4ed939693a5b28c0fdf2fd9bda1f68614c1d6d0643a89382ce9843a71
|
|
||||||
size 6496
|
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Aug 1 14:43:23 UTC 2018 - tchvatal@suse.com
|
||||||
|
|
||||||
|
- Switch to github tarball
|
||||||
|
- Enable tests
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue May 8 12:44:24 UTC 2018 - buschmann23@opensuse.org
|
Tue May 8 12:44:24 UTC 2018 - buschmann23@opensuse.org
|
||||||
|
|
||||||
|
@ -14,23 +14,21 @@
|
|||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
%define _pkgname filelock
|
|
||||||
Name: python-filelock
|
Name: python-filelock
|
||||||
Version: 3.0.4
|
Version: 3.0.4
|
||||||
Release: 0
|
Release: 0
|
||||||
License: Unlicense
|
|
||||||
Summary: Platform Independent File Lock in Python
|
Summary: Platform Independent File Lock in Python
|
||||||
|
License: Unlicense
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Url: https://github.com/benediktschmitt/py-filelock
|
URL: https://github.com/benediktschmitt/py-filelock
|
||||||
Source: https://files.pythonhosted.org/packages/source/f/%{_pkgname}/%{_pkgname}-%{version}.tar.gz
|
Source: https://github.com/benediktschmitt/py-filelock/archive/v%{version}.tar.gz
|
||||||
BuildRequires: %{python_module devel}
|
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
@ -40,7 +38,7 @@ independent file lock in Python, which provides a simple way of
|
|||||||
inter-process communication.
|
inter-process communication.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{_pkgname}-%{version}
|
%setup -q -n py-filelock-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%python_build
|
||||||
@ -49,8 +47,13 @@ inter-process communication.
|
|||||||
%python_install
|
%python_install
|
||||||
%python_expand %fdupes -s %{buildroot}/%{$python_sitelib}
|
%python_expand %fdupes -s %{buildroot}/%{$python_sitelib}
|
||||||
|
|
||||||
|
%check
|
||||||
|
# test will not work on python2 wrong exceptions
|
||||||
|
python3 test.py
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%defattr(-,root,root,-)
|
%doc README.rst
|
||||||
|
%license LICENSE.rst
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
3
v3.0.4.tar.gz
Normal file
3
v3.0.4.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:8521523f3eafb7bbbdd0a5a7a15ddb8076ea6f106385bbfc4c9d055db2585214
|
||||||
|
size 587292
|
Loading…
Reference in New Issue
Block a user