From d1c0276761190de22d89cf0313cb12ae86311927 Mon Sep 17 00:00:00 2001 From: Haibo Lin Date: Fri, 12 Jul 2024 17:03:09 +0800 Subject: [PATCH] Update pungi.spec for py3 Signed-off-by: Haibo Lin --- pungi.spec | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pungi.spec b/pungi.spec index c54d37a1..5a5c1184 100644 --- a/pungi.spec +++ b/pungi.spec @@ -71,11 +71,11 @@ notification to Fedora Message Bus. %setup -q %build -%{__python} setup.py build +%{__python3} setup.py build %install rm -rf %{buildroot} -%{__python} setup.py install -O1 --skip-build --root %{buildroot} +%{__python3} setup.py install -O1 --skip-build --root %{buildroot} %{__install} -d %{buildroot}/var/cache/pungi %{__install} -d %{buildroot}/%{_mandir}/man8 @@ -83,8 +83,8 @@ rm -rf %{buildroot} %defattr(-,root,root,-) %license COPYING GPL %doc AUTHORS -%{python_sitelib}/%{name} -%{python_sitelib}/%{name}-%{version}-py?.?.egg-info +%{python3_sitelib}/%{name} +%{python3_sitelib}/%{name}-%{version}-py?.?.egg-info %{_bindir}/%{name} %{_bindir}/%{name}-koji %{_bindir}/%{name}-gather @@ -94,7 +94,7 @@ rm -rf %{buildroot} %dir %attr(1777, root, root) /var/cache/%{name} %files utils -%{python_sitelib}/%{name}_utils +%{python3_sitelib}/%{name}_utils %{_bindir}/%{name}-create-unified-isos %{_bindir}/%{name}-config-dump %{_bindir}/%{name}-config-validate