14
0
2023-09-25 13:30:54 +00:00
committed by Git OBS Bridge
parent 6d66edda75
commit c9eb18ccfa
2 changed files with 9 additions and 2 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
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>

View File

@@ -16,7 +16,6 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%{?sle15_python_module_pythons}
Name: python-constantly
Version: 15.1.0
@@ -28,6 +27,7 @@ URL: https://github.com/twisted/constantly
Source: https://files.pythonhosted.org/packages/source/c/constantly/constantly-%{version}.tar.gz
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module versioneer}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
%python_subpackages
@@ -46,10 +46,12 @@ rm -rf versioneer.py
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%files %{python_files}
%license LICENSE
%doc README.rst
%{python_sitelib}/*
%{python_sitelib}/constantly
%{python_sitelib}/constantly-%{version}*-info
%changelog