diff options
author | CoprDistGit <copr-devel@lists.fedorahosted.org> | 2025-04-20 17:54:28 +0000 |
---|---|---|
committer | CoprDistGit <copr-devel@lists.fedorahosted.org> | 2025-04-20 17:54:28 +0000 |
commit | fefeff54dcc6862143ecbd02e0be055a2f6064f9 (patch) | |
tree | b483069da0d388905225955f6143a2d243c2571b | |
parent | 0cb39acee1538cd7943121ed7c9cfd29bfbe5c18 (diff) |
-rw-r--r-- | snapm.spec | 24 |
1 files changed, 12 insertions, 12 deletions
@@ -11,20 +11,17 @@ Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz BuildArch: noarch -BuildRequires: boom-boot -BuildRequires: lvm2 -BuildRequires: make -BuildRequires: stratis-cli -BuildRequires: stratisd -BuildRequires: python3-devel +BuildRequires: boom-boot +BuildRequires: lvm2 +BuildRequires: make +BuildRequires: stratis-cli +BuildRequires: stratisd +BuildRequires: python3-devel BuildRequires: python3-sphinx Requires: python3-snapm = %{version}-%{release} Recommends: boom-boot -%generate_buildrequires -%pyproject_buildrequires - %package -n python3-snapm Summary: %{summary} @@ -53,6 +50,9 @@ This package provides the python3 snapm module documentation in HTML format. %prep %autosetup -p1 -n %{name}-%{version} +%generate_buildrequires +%pyproject_buildrequires + %build %pyproject_wheel @@ -65,8 +65,8 @@ rm -f doc/*.rst doc/Makefile doc/conf.py %install %pyproject_install -mkdir -p ${RPM_BUILD_ROOT}/%{_mandir}/man8 -%{__install} -p -m 644 man/man8/snapm.8 ${RPM_BUILD_ROOT}/%{_mandir}/man8 +mkdir -p %{buildroot}/%{_mandir}/man8 +%{__install} -p -m 644 man/man8/snapm.8 %{buildroot}/%{_mandir}/man8 %check %pytest --log-level=debug -v tests/ @@ -92,5 +92,5 @@ mkdir -p ${RPM_BUILD_ROOT}/%{_mandir}/man8 %doc doc %changelog -* Sat Apr 19 2025 Bryn M. Reeves <bmr@redhat.com> - 0.4.3-1 +* Sun Apr 20 2025 Bryn M. Reeves <bmr@redhat.com> - 0.4.3-1 - Initial import |