public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-logbook] f44: Miscellaneous packaging fixes
@ 2026-07-02 19:27 Fabio Valentini
  0 siblings, 0 replies; only message in thread
From: Fabio Valentini @ 2026-07-02 19:27 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/python-logbook
Branch : f44
Commit : 962884a9645205423f0cce9bf98755d2794505e6
Author : Fabio Valentini <decathorpe@gmail.com>
Date   : 2026-03-19T23:41:54+01:00
Stats  : +30/-25 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/python-logbook/c/962884a9645205423f0cce9bf98755d2794505e6?branch=f44

Log:
Miscellaneous packaging fixes

---
diff --git a/python-logbook.spec b/python-logbook.spec
index d924a7e..ea61450 100644
--- a/python-logbook.spec
+++ b/python-logbook.spec
@@ -1,11 +1,16 @@
-Name:		python-logbook
-Version:	1.9.2
-Release:	2%{?dist}
-Summary:	A logging replacement for Python
-
-License:	BSD-3-Clause
-URL:		https://logbook.readthedocs.io
-Source0:	https://github.com/getlogbook/logbook/archive/%{version}.tar.gz#/Logbook-%{version}.tar.gz
+Name:           python-logbook
+Version:        1.9.2
+Release:        3%{?dist}
+Summary:        A logging replacement for Python
+
+# logbook: BSD-3-Clause
+# Rust dependencies:
+# - BSD-3-Clause
+# - MIT
+# - MIT OR Apache-2.0
+License:        BSD-3-Clause AND MIT AND (MIT OR Apache-2.0)
+URL:            https://logbook.readthedocs.io
+Source0:        https://github.com/getlogbook/logbook/archive/%{version}.tar.gz#/Logbook-%{version}.tar.gz
 
 %description
 Logbook is a logging system for Python that replaces the standard library's
@@ -15,21 +20,17 @@ getting log messages on your phone or desktop notification system?
 Logbook can do that.
 
 %package -n python3-logbook
-Summary:	%{summary}
+Summary:        %{summary}
 
-BuildRequires:  gcc
-BuildRequires:	python3-devel
-BuildRequires:	python3-pytest
-BuildRequires:	python3-sqlalchemy
-BuildRequires:	python3-redis
-BuildRequires:	python3-zmq
-BuildRequires:	python3-brotli
-BuildRequires:  python3-Cython
 BuildRequires:  cargo-rpm-macros >= 24
-BuildRequires:  rust-pyo3-devel
-BuildRequires:  rust-pyo3-macros-devel
-BuildRequires:  rust-indoc-devel
-BuildRequires:  rust-unindent-devel
+BuildRequires:  gcc
+
+BuildRequires:  python3-devel
+BuildRequires:  python3-pytest
+BuildRequires:  python3-sqlalchemy
+BuildRequires:  python3-redis
+BuildRequires:  python3-zmq
+BuildRequires:  python3-brotli
 
 %description -n python3-logbook
 Logbook is a logging system for Python that replaces the standard library's
@@ -40,16 +41,16 @@ Logbook can do that.
 
 %prep
 %autosetup -n logbook-%{version}
-
 %cargo_prep
-%cargo_generate_buildrequires
+
 %generate_buildrequires
+%cargo_generate_buildrequires
 %pyproject_buildrequires
 
 %build
 %pyproject_wheel
-
-%cargo_license
+%{cargo_license_summary}
+%{cargo_license} > LICENSE.dependencies
 
 %install
 %pyproject_install
@@ -60,8 +61,12 @@ Logbook can do that.
 
 %files -n python3-logbook -f %{pyproject_files}
 %doc CHANGES README.md
+%license LICENSE.dependencies
 
 %changelog
+* Thu Mar 19 2026 Fabio Valentini <decathorpe@gmail.com> - 1.9.2-3
+- Miscellaneous packaging fixes
+
 * Sat Jan 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.2-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
 

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

only message in thread, other threads:[~2026-07-02 19:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-02 19:27 [rpms/python-logbook] f44: Miscellaneous packaging fixes Fabio Valentini

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