From 1fc8d5a5e158d756b67b80f322093e8594960d1f Mon Sep 17 00:00:00 2001 From: Gwyn Ciesla Date: Sep 10 2018 20:48:54 +0000 Subject: Fix shebang handling. --- diff --git a/rabbitvcs.spec b/rabbitvcs.spec index 4156f9e..cf76bc0 100644 --- a/rabbitvcs.spec +++ b/rabbitvcs.spec @@ -11,7 +11,7 @@ Name: rabbitvcs Version: 0.17.1 -Release: 7%{?dist} +Release: 8%{?dist} Summary: %{sum} License: GPLv2+ @@ -23,7 +23,7 @@ Patch0: rabbitvcs-ignore-post-install.patch BuildArch: noarch BuildRequires: pygtk2-devel -BuildRequires: python2-devel +BuildRequires: python2-devel /usr/bin/pathfix.py %if 0%{?fedora} BuildRequires: python3-gobject BuildRequires: python3-devel @@ -149,6 +149,7 @@ source control system. %prep %autosetup -p1 +pathfix.py -pni "%{__python2} %{py2_shbang_opts}" . %build %py2_build @@ -171,6 +172,8 @@ install -p -m0644 clients/nautilus-3.0/RabbitVCS.py -D %{buildroot}%{_datadir}/n install -p -m0644 clients/nemo/RabbitVCS.py -D %{buildroot}%{_datadir}/nemo-python/extensions/RabbitVCS.py install -p -m0644 clients/thunar/RabbitVCS.py -D %{buildroot}%{_datadir}/thunarx-python/extensions/RabbitVCS.py +pathfix.py -pni "%{__python2} %{py2_shbang_opts}" %{buildroot}%{_bindir}/rabbitvcs + %find_lang RabbitVCS %post core @@ -222,6 +225,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_datadir}/thunarx-python/extensions/*.py* %changelog +* Mon Sep 10 2018 Gwyn Ciesla - 0.17.1-8 +- Fix shebang handling. + * Sat Jul 14 2018 Fedora Release Engineering - 0.17.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild