diff --git a/python-virt-firmware.spec b/python-virt-firmware.spec index fb6e466..de1eee2 100644 --- a/python-virt-firmware.spec +++ b/python-virt-firmware.spec @@ -1,4 +1,4 @@ -%global pypi_version 1.3 +%global pypi_version 1.4 Name: python-virt-firmware Version: %{pypi_version} @@ -24,7 +24,6 @@ to enroll secure boot certificates. %package -n python3-virt-firmware Summary: %{summary} %{?python_provide:%python_provide python3-virt-firmware} - Requires: python3dist(cryptography) Requires: python3dist(setuptools) %description -n python3-virt-firmware @@ -35,6 +34,7 @@ to enroll secure boot certificates. %package -n python3-virt-firmware-tests Summary: %{summary} - test cases +Requires: python3-virt-firmware %description -n python3-virt-firmware-tests test cases @@ -47,12 +47,8 @@ test cases %install %py3_install # manpages -export PATH="%{buildroot}%{_bindir}:$PATH" -export PYTHONPATH="%{buildroot}%{python3_sitelib}" -virt-fw-dump --help -make manpages -install -m 755 -d %{buildroot}%{_mandir}/man1 -install -m 644 *.1 %{buildroot}%{_mandir}/man1 +install -m 755 -d %{buildroot}%{_mandir}/man1 +install -m 644 man/*.1 %{buildroot}%{_mandir}/man1 # tests mkdir -p %{buildroot}%{_datadir}/%{name} cp -ar tests %{buildroot}%{_datadir}/%{name} @@ -76,8 +72,10 @@ cp -ar tests %{buildroot}%{_datadir}/%{name} %{_datadir}/%{name}/tests %changelog -* Tue Sep 27 2022 Gerd Hoffmann - 1.3-1 -- update to version 1.3 +* Tue Sep 27 2022 Gerd Hoffmann - 1.4-1 +- update to version 1.4 +- add man-pages +- add tests sub-package * Fri Jul 22 2022 Fedora Release Engineering - 1.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild