forked from pool/python-pyRFC3339
Accepting request 897183 from home:pgajdos:python
- use github tarball with tests - %check: use %pytest rpm macro OBS-URL: https://build.opensuse.org/request/show/897183 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyRFC3339?expand=0&rev=7
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:81b8cbe1519cdb79bed04910dd6fa4e181faf8c88dff1e1b987b5f7ab23a5b1a
|
||||
size 5290
|
||||
oid sha256:2708b8eacfa37b44dcb1f001f1464a9d541a6f3d7d9948603298e8ba1a8af361
|
||||
size 11727
|
||||
|
@@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 3 11:27:14 UTC 2021 - pgajdos@suse.com
|
||||
|
||||
- use github tarball with tests
|
||||
- %check: use %pytest rpm macro
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 28 12:15:23 UTC 2018 - tchvatal@suse.com
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-pyRFC3339
|
||||
#
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -12,7 +12,7 @@
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
@@ -24,8 +24,9 @@ Summary: Generate and parse RFC 3339 timestamps
|
||||
License: MIT
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/kurtraschke/pyRFC3339
|
||||
Source: https://files.pythonhosted.org/packages/source/p/pyRFC3339/pyRFC3339-%{version}.tar.gz
|
||||
Source: https://github.com/kurtraschke/pyRFC3339/archive/refs/tags/v1.1.tar.gz#/pyRFC3339-%{version}.tar.gz
|
||||
BuildRequires: %{python_module nose}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module pytz}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
@@ -48,7 +49,7 @@ pyRFC3339 parses and generates :RFC:`3339`-compliant timestamps using Python `da
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}/pyrfc3339
|
||||
|
||||
%check
|
||||
%python_exec setup.py test
|
||||
%pytest pyrfc3339/tests/tests.py
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE.txt
|
||||
|
Reference in New Issue
Block a user