Compare commits
2 Commits
Author | SHA256 | Date | |
---|---|---|---|
11c30cc7e8 | |||
4ace934264 |
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon May 5 15:20:06 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
- Convert to pip-based build
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 17 15:10:01 UTC 2022 - pgajdos@suse.com
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-Delorean
|
||||
#
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -24,6 +24,7 @@ Summary: Python library for manipulating datetimes
|
||||
License: MIT
|
||||
URL: https://github.com/myusuf3/delorean
|
||||
Source: https://files.pythonhosted.org/packages/source/D/Delorean/Delorean-%{version}.tar.gz
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
@@ -51,10 +52,10 @@ arise dealing with datetimes in Python.
|
||||
%setup -q -n Delorean-%{version}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
@@ -65,6 +66,7 @@ sed -i 's:import mock:from unittest import mock:' tests/delorean_tests.py
|
||||
%files %{python_files}
|
||||
%doc CHANGES.rst README.rst
|
||||
%license LICENSE.txt
|
||||
%{python_sitelib}/*
|
||||
%{python_sitelib}/delorean
|
||||
%{python_sitelib}/[Dd]elorean-%{version}*info
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user