Compare commits
1 Commits
Author | SHA256 | Date | |
---|---|---|---|
25ccb97b1c |
@@ -1,13 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
Mon Sep 25 13:30:48 UTC 2023 - Matej Cepl <mcepl@suse.com>
|
|
||||||
|
|
||||||
- Clean up the SPEC file
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Mon Sep 25 06:55:37 UTC 2023 - Ondřej Súkup <mimi.vx@gmail.com>
|
|
||||||
|
|
||||||
- use unbundled versioneer to build package
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Apr 21 12:23:35 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
Fri Apr 21 12:23:35 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@@ -16,6 +16,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-constantly
|
Name: python-constantly
|
||||||
Version: 15.1.0
|
Version: 15.1.0
|
||||||
@@ -26,8 +27,6 @@ Group: Development/Languages/Python
|
|||||||
URL: https://github.com/twisted/constantly
|
URL: https://github.com/twisted/constantly
|
||||||
Source: https://files.pythonhosted.org/packages/source/c/constantly/constantly-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/c/constantly/constantly-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: %{python_module versioneer}
|
|
||||||
BuildRequires: fdupes
|
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
@@ -39,19 +38,16 @@ Originally ``twisted.python.constants`` from the `Twisted <https://twistedmatrix
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n constantly-%{version}
|
%setup -q -n constantly-%{version}
|
||||||
rm -rf versioneer.py
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%python_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%python_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc README.rst
|
%doc README.rst
|
||||||
%{python_sitelib}/constantly
|
%{python_sitelib}/*
|
||||||
%{python_sitelib}/constantly-%{version}*-info
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user