SHA256
1
0
forked from pool/python-jdcal

Compare commits

5 Commits

2 changed files with 21 additions and 7 deletions

View File

@@ -1,3 +1,14 @@
-------------------------------------------------------------------
Fri Jun 27 02:47:43 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyproject macros.
- No more greedy globs in %files.
-------------------------------------------------------------------
Tue Nov 12 00:42:57 UTC 2024 - Matej Cepl <mcepl@cepl.eu>
- Enable sle15_python_module_pythons.
-------------------------------------------------------------------
Wed May 22 12:52:40 UTC 2019 - pgajdos@suse.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-jdcal
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# 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
@@ -16,16 +16,17 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%{?sle15_python_module_pythons}
Name: python-jdcal
Version: 1.4.1
Release: 0
Summary: Julian dates from proleptic Gregorian and Julian calendars
License: BSD-2-Clause
Group: Development/Languages/Python
Url: http://github.com/phn/jdcal
URL: http://github.com/phn/jdcal
Source: https://files.pythonhosted.org/packages/source/j/jdcal/jdcal-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
# SECTION test requirements
@@ -48,10 +49,10 @@ defined.
%setup -q -n jdcal-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -60,6 +61,8 @@ defined.
%files %{python_files}
%doc README.rst
%license LICENSE.txt
%{python_sitelib}/*
%{python_sitelib}/jdcal.py
%pycache_only %{python_sitelib}/__pycache__/jdcal.*.pyc
%{python_sitelib}/jdcal-%{version}.dist-info
%changelog