public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-pycdlib] epel10: Minor adaptations to spec file for future Fedoras compliance
@ 2026-07-08  2:51 Federico Pellegrin
  0 siblings, 0 replies; only message in thread
From: Federico Pellegrin @ 2026-07-08  2:51 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/python-pycdlib
Branch : epel10
Commit : ceb277f9cbd75ffc89ba0e90dd932a329faaf96f
Author : Federico Pellegrin <fede@evolware.org>
Date   : 2022-11-08T06:38:22+01:00
Stats  : +17/-12 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/python-pycdlib/c/ceb277f9cbd75ffc89ba0e90dd932a329faaf96f?branch=epel10

Log:
Minor adaptations to spec file for future Fedoras compliance

---
diff --git a/python-pycdlib.spec b/python-pycdlib.spec
index 57b7796..c9ce2b2 100644
--- a/python-pycdlib.spec
+++ b/python-pycdlib.spec
@@ -1,7 +1,7 @@
-%global desc Pycdlib is a pure python library for reading, writing, and otherwise\
-manipulating ISO9660 files.  It is focused on speed, correctness, and\
-conformance to the various standards around ISO9660, including ISO9660 itself,\
-the Joliet extensions, the Rock Ridge extensions, the El Torito boot\
+%global desc Pycdlib is a pure python library for reading, writing, and\
+otherwise manipulating ISO9660 files.  It is focused on speed, correctness,\
+and conformance to the various standards around ISO9660, including ISO9660\
+itself, the Joliet extensions, the Rock Ridge extensions, the El Torito boot\
 extensions, and UDF.
 
 %global srcname pycdlib
@@ -9,10 +9,10 @@ extensions, and UDF.
 Summary:        A pure python ISO9660 read and write library
 Name:           python-%{srcname}
 Version:        1.13.0
-Release:        2%{?dist}
-License:        LGPLv2
+Release:        3%{?dist}
+License:        LGPL-2.0-only
 URL:            https://github.com/clalancette/%{srcname}
-Source0:        https://github.com/clalancette/%{srcname}/archive/v%{version}/%{srcname}-%{version}.tar.gz
+Source0:        %{url}/archive/v%{version}/%{srcname}-%{version}.tar.gz
 BuildArch:      noarch
 
 BuildRequires:  python3-devel
@@ -39,20 +39,22 @@ Some tools that use the %{srcname} library.
 %prep
 %autosetup -n %{srcname}-%{version}
 
+%generate_buildrequires
+%pyproject_buildrequires
+
 %build
-%py3_build
+%pyproject_wheel
 
 %install
-%py3_install
+%pyproject_install
+%pyproject_save_files %{srcname}
 
 %check
 PYCDLIB_TRACK_WRITES=1 py.test-%{python3_version} -v tests
 
-%files -n python3-%{srcname}
+%files -n python3-%{srcname} -f %{pyproject_files}
 %license COPYING
 %doc README.md examples/
-%{python3_sitelib}/%{srcname}
-%{python3_sitelib}/%{srcname}-%{version}-py%{python3_version}.egg-info/
 
 %files -n %{srcname}-tools
 %license COPYING
@@ -62,6 +64,9 @@ PYCDLIB_TRACK_WRITES=1 py.test-%{python3_version} -v tests
 %{_mandir}/man1/*
 
 %changelog
+* Tue Nov 08 2022 Federico Pellegrin <fede@evolware.org> - 1.13.0-3
+- Minor adaptations on spec files
+
 * Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.13.0-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-07-08  2:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-08  2:51 [rpms/python-pycdlib] epel10: Minor adaptations to spec file for future Fedoras compliance Federico Pellegrin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox