From 08c46ce64d12b47c2f757ead7cf7aa2fbb03d74e Mon Sep 17 00:00:00 2001 From: Anton Keks Date: Mon, 15 Jul 2019 22:50:21 +0300 Subject: [PATCH] use the same launcher script for both Debian and Fedora --- ext/rpmbuild/SPECS/ipscan.spec | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ext/rpmbuild/SPECS/ipscan.spec b/ext/rpmbuild/SPECS/ipscan.spec index 443a7dc2..6173e09a 100644 --- a/ext/rpmbuild/SPECS/ipscan.spec +++ b/ext/rpmbuild/SPECS/ipscan.spec @@ -27,8 +27,7 @@ mkdir -p $RPM_BUILD_ROOT/%{_libdir}/ipscan $RPM_BUILD_ROOT/%{_datadir}/applicati cp ../../%{name}-%{platform}-%{version}.jar $RPM_BUILD_ROOT/%{_libdir}/ipscan/ cp ../../../../ext/deb-bundle/usr/share/applications/ipscan.desktop $RPM_BUILD_ROOT/%{_datadir}/applications/ cp ../../../../resources/images/icon128.png $RPM_BUILD_ROOT/%{_datadir}/pixmaps/ipscan.png -echo "#/bin/sh" > $RPM_BUILD_ROOT/%{_bindir}/ipscan -echo "java -jar %{_libdir}/ipscan/ipscan*.jar" >> $RPM_BUILD_ROOT/%{_bindir}/ipscan +cp ../../../../ext/deb-bundle/usr/bin/ipscan $RPM_BUILD_ROOT/%{_bindir}/ipscan chmod a+x $RPM_BUILD_ROOT/%{_bindir}/ipscan %clean