public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-huggingface-hub] rawhide: Drop duplicate license
@ 2026-10-12 14:50 Peter Robinson
0 siblings, 0 replies; only message in thread
From: Peter Robinson @ 2026-10-12 14:50 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-huggingface-hub
Branch : rawhide
Commit : 066a2b1fed007061415c0b618503821172af7a5c
Author : Peter Robinson <pbrobinson@gmail.com>
Date : 2026-10-10T14:44:50+01:00
Stats : +1/-2 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/python-huggingface-hub/c/066a2b1fed007061415c0b618503821172af7a5c?branch=rawhide
Log:
Drop duplicate license
The python macros already include the license from the
python process/macros, it's correctly listed as a license
with rpm -qL, so drop the dupe but add a check (-l) so the
build fails in case upstream breaks it.
---
diff --git a/python-huggingface-hub.spec b/python-huggingface-hub.spec
index 20b4f5e..23cd152 100644
--- a/python-huggingface-hub.spec
+++ b/python-huggingface-hub.spec
@@ -52,7 +52,7 @@ sed -i '/HF_XET_VERSION/d' setup.py
%install
%pyproject_install
-%pyproject_save_files 'huggingface_hub'
+%pyproject_save_files -l 'huggingface_hub'
%check
@@ -62,7 +62,6 @@ sed -i '/HF_XET_VERSION/d' setup.py
%files -n python3-huggingface-hub -f %{pyproject_files}
-%license LICENSE
%doc README.md
%{_bindir}/hf
%{_bindir}/tiny-agents
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-12 14:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-12 14:50 [rpms/python-huggingface-hub] rawhide: Drop duplicate license Peter Robinson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox