commit e3c156b193eb94354d810b36248407aab4c994be
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Thu Aug 3 14:58:48 2023 +0100
Use new shebang macro
mendeleydesktop.spec | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/mendeleydesktop.spec b/mendeleydesktop.spec
index be4c543..ca9c273 100644
--- a/mendeleydesktop.spec
+++ b/mendeleydesktop.spec
@@ -139,7 +139,7 @@ unzip -qq openOfficePlugin/Mendeley-%{version}.oxt -d
%{buildroot}%{loextdir}
chmod 644 %{buildroot}%{loextdir}/{description.xml,Mendeley/*.xba}
chmod 755 %{buildroot}%{loextdir}/Scripts/MendeleyDesktopAPI.py
# Fix Python shebangs
-pathfix.py -pni "%{__python3} %{py3_shbang_opts}"
%{buildroot}%{loextdir}/Scripts/MendeleyDesktopAPI.py
+%py3_shebang_fix %{buildroot}%{loextdir}/Scripts/MendeleyDesktopAPI.py
rm -r openOfficePlugin
popd