ipdate to 1.4

This commit is contained in:
Gerd Hoffmann 2022-09-27 18:19:14 +02:00
parent 323778506d
commit 6130a793fa

View File

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