From 4981e9a3d7ac763fbf9f6fe4d279c3d6231c66a9 Mon Sep 17 00:00:00 2001 From: nephros Date: Tue, 13 Feb 2024 15:45:38 +0100 Subject: [PATCH 1/2] Spec cleanup: remove double directory Fixes "W: files-duplicate" from rpmlint --- rpm/harbour-amazfish.spec | 1 - 1 file changed, 1 deletion(-) diff --git a/rpm/harbour-amazfish.spec b/rpm/harbour-amazfish.spec index 442b6754..0b77c6d9 100644 --- a/rpm/harbour-amazfish.spec +++ b/rpm/harbour-amazfish.spec @@ -113,7 +113,6 @@ desktop-file-install --delete-original \ %files %defattr(-,root,root,-) -%{_bindir}/%{name}-ui %attr(2755,root,privileged) %{_bindir}/%{name}d %{_datadir}/%{name}-ui %{_datadir}/applications/%{name}-ui.desktop From 7913db8e212023b58f1b2cc0e9e2163cf671f871 Mon Sep 17 00:00:00 2001 From: nephros Date: Tue, 13 Feb 2024 15:48:22 +0100 Subject: [PATCH 2/2] Spec cleanup: remove old yaml tags --- rpm/harbour-amazfish.spec | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/rpm/harbour-amazfish.spec b/rpm/harbour-amazfish.spec index 0b77c6d9..363e66a8 100644 --- a/rpm/harbour-amazfish.spec +++ b/rpm/harbour-amazfish.spec @@ -13,9 +13,6 @@ Name: harbour-amazfish -# >> macros -# << macros - %{!?qtc_qmake:%define qtc_qmake %qmake} %{!?qtc_qmake5:%define qtc_qmake5 %qmake5} %{!?qtc_make:%define qtc_make make} @@ -83,9 +80,6 @@ Links: %prep %setup -q -n %{name}-%{version} -# >> setup -# << setup - %build %if 0%{?sailfishos} %qmake5 VERSION='%{version}-%{release}' FLAVOR=silica @@ -95,18 +89,9 @@ Links: %qtc_make %{?_smp_mflags} -# >> build post -# << build post - %install -rm -rf %{buildroot} -# >> install pre -# << install pre %qmake5_install -# >> install post -# << install post - desktop-file-install --delete-original \ --dir %{buildroot}%{_datadir}/applications \ %{buildroot}%{_datadir}/applications/*.desktop @@ -121,5 +106,3 @@ desktop-file-install --delete-original \ %{_userunitdir}/harbour-amazfish.service %{_datadir}/mapplauncherd/privileges.d/harbour-amazfishd.privileges %{_datadir}/harbour-amazfish/chirp.raw -# >> files -# << files