From 4ac0a39ec44c72af6df8b50a7e1ce49915894079 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Apr 07 2016 21:18:37 +0000 Subject: make sure that the shebang of pungi-pylorax-find-templates is python3 Signed-off-by: Dennis Gilmore --- diff --git a/pungi.spec b/pungi.spec index 1d77ac7..787f940 100644 --- a/pungi.spec +++ b/pungi.spec @@ -1,6 +1,6 @@ Name: pungi Version: 4.0.13 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Distribution compose tool Group: Development/Tools @@ -60,10 +60,11 @@ make man gzip _build/man/pungi.1 %install -%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT -%{__install} -d $RPM_BUILD_ROOT/var/cache/pungi -%{__install} -d $RPM_BUILD_ROOT%{_mandir}/man1 -%{__install} doc/_build/man/pungi.1.gz $RPM_BUILD_ROOT%{_mandir}/man1 +%{__python} setup.py install -O1 --skip-build --root %{buildroot} +%{__install} -d %{buildroot}/var/cache/pungi +%{__install} -d %{buildroot}%{_mandir}/man1 +%{__install} doc/_build/man/pungi.1.gz %{buildroot}%{_mandir}/man1 +sed -i 's|/usr/bin/python$|/usr/bin/python3|' %{buildroot}/%{_bindir}/pungi-pylorax-find-templates %check ./tests/data/specs/build.sh @@ -82,6 +83,9 @@ cd tests && ./test_compose.sh /var/cache/pungi %changelog +* Thu Apr 06 2016 Dennis Gilmore - 4.0.13-2 +- make sure that the shebang of pungi-pylorax-find-templates is python3 + * Wed Apr 06 2016 Dennis Gilmore - 4.0.13-1 - [ostree] Enable marking ostree phase as failable (lsedlar) - [koji-wrapper] Initialize wrappers sequentially (lsedlar)