public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/yubikey-manager] epel10: Do not install docs to site-packages
@ 2026-08-21 14:27
0 siblings, 0 replies; only message in thread
From: @ 2026-08-21 14:27 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/yubikey-manager
Branch : epel10
Commit : 3c24c3013d0ad58981a73b744b9051dd2743cdd9
Author : Miro Hrončok <miro@hroncok.cz>
Date : 2021-10-05T01:18:57+02:00
Stats : +21/-4 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/yubikey-manager/c/3c24c3013d0ad58981a73b744b9051dd2743cdd9?branch=epel10
Log:
Do not install docs to site-packages
---
diff --git a/do-not-install-docs-to-site-packages.patch b/do-not-install-docs-to-site-packages.patch
new file mode 100644
index 0000000..db8fa38
--- /dev/null
+++ b/do-not-install-docs-to-site-packages.patch
@@ -0,0 +1,14 @@
+diff --git a/pyproject.toml b/pyproject.toml
+index b6b9d64..77125ee 100644
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -14,9 +14,6 @@ classifiers = [
+ "Topic :: Utilities"
+ ]
+ include = [
+- "COPYING",
+- "NEWS",
+- "README.adoc",
+ "man/",
+ "tests/",
+ ]
diff --git a/yubikey-manager.spec b/yubikey-manager.spec
index aea88e2..395b000 100644
--- a/yubikey-manager.spec
+++ b/yubikey-manager.spec
@@ -14,6 +14,8 @@ Source0: %{forgesource}
Source1: %{name}.rpmlintrc
Patch0: rhbz-2009934.patch
+# https://github.com/Yubico/yubikey-manager/issues/456
+Patch1: do-not-install-docs-to-site-packages.patch
BuildArch: noarch
BuildRequires: swig pcsc-lite-devel ykpers pyproject-rpm-macros
@@ -41,21 +43,21 @@ Python library for configuring a YubiKey.
%prep
%forgesetup
-%autosetup -n %{archivename}
+%autosetup -p1 -n %{archivename}
%build
%pyproject_wheel
%install
%pyproject_install
+%pyproject_save_files ykman yubikit
%check
%tox
-%files -n python3-%{name}
+%files -n python3-%{name} -f %{pyproject_files}
%license COPYING
-%doc NEWS
-%{python3_sitelib}/*
+%doc README.adoc NEWS
%files
%{_bindir}/ykman
@@ -63,6 +65,7 @@ Python library for configuring a YubiKey.
%changelog
* Mon Oct 04 2021 Miro Hrončok <mhroncok@redhat.com> - 4.0.7-3
- Require the exact same version-release of python3-yubikey-manager
+- Do not install docs to site-packages
* Mon Oct 04 2021 Gerald Cox <gbcox@member.fsf.org> - 4.0.7-2
- Patch until upstream corrects for rhbz#2009934
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-21 14:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-21 14:27 [rpms/yubikey-manager] epel10: Do not install docs to site-packages
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox