From 98d00d30ff018751356ebc579e13b004fd9c14d6 Mon Sep 17 00:00:00 2001 From: Luya Tshimbalanga Date: Sep 14 2016 03:02:10 +0000 Subject: Fix plug-ins path due to upstream change --- diff --git a/gimp-layer-via-copy-cut.spec b/gimp-layer-via-copy-cut.spec index 9d61463..f1759cd 100644 --- a/gimp-layer-via-copy-cut.spec +++ b/gimp-layer-via-copy-cut.spec @@ -2,18 +2,18 @@ Name: gimp-%{addon} Version: 1.6 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Layer via copy/cut plug-in for GIMP License: GPLv3+ URL: http://some-gimp-plugins.com/contents/en/ Source0: http://some-gimp-plugins.com/contents/en/extensions/002/%{addon}.zip Source1: %{name}.metainfo.xml Source2: LICENSE.txt +BuildRequires: python %if 0%{?fedora} >= 21 BuildRequires: libappstream-glib %endif -Requires: gimp >= 2.6.0, python -BuildArch: noarch +Requires: gimp %description Copy and move the selected area to a new layer in the same position. @@ -25,8 +25,7 @@ cp -p %{SOURCE2} . %build %install -install -d %{buildroot}%{_datadir}/gimp/2.0/plug-ins/ -install -m 755 -p %{addon}.py -t %{buildroot}%{_datadir}/gimp/2.0/plug-ins/ +install -Dpm 0755 %{addon}.py -t %{buildroot}%{_libdir}/gimp/2.0/plug-ins/ %if 0%{?fedora} >= 21 @@ -38,16 +37,20 @@ install -Dm 0644 -p %{SOURCE1} \ appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/appdata/%{name}.metainfo.xml %endif -%files -%doc info.txt changelog.txt -%{_datadir}/gimp/2.0/plug-ins/%{addon}.py* + +%files +%license LICENSE.txt +#%%doc info.txt changelog.txt +%{_libdir}/gimp/2.0/plug-ins/%{addon}.py* %if 0%{?fedora} >= 21 #AppStream metadata %{_datadir}/appdata/%{name}.metainfo.xml %endif -%license LICENSE.txt %changelog +* Tue Sep 13 2016 Luya Tshimbalanga - 1.6-3 +- Fix plug-ins path due to upstream change + * Sun May 29 2016 Luya Tshimbalanga - 1.6-2 - Include license file