own all plug-in directories

This commit is contained in:
Nils Philippsen 2018-08-24 16:48:09 +02:00
parent 0b67fc78e4
commit 5806be946f

View File

@ -73,7 +73,7 @@ Summary: GNU Image Manipulation Program
Name: gimp Name: gimp
Epoch: 2 Epoch: 2
Version: 2.10.6 Version: 2.10.6
%global rel 1 %global rel 2
Release: %{?prerelprefix}%{rel}%{dotprerel}%{dotgitrev}%{?dist} Release: %{?prerelprefix}%{rel}%{dotprerel}%{dotgitrev}%{?dist}
# Compute some version related macros. # Compute some version related macros.
@ -419,6 +419,7 @@ find %buildroot -name \*.la -exec %__rm -f {} \;
# Plugins and modules change often (grab the executeable ones) # Plugins and modules change often (grab the executeable ones)
# #
find %{buildroot}%{_libdir}/gimp/%{lib_api_version} -type f | sed "s@^%{buildroot}@@g" | grep -v '\.a$' > gimp-plugin-files find %{buildroot}%{_libdir}/gimp/%{lib_api_version} -type f | sed "s@^%{buildroot}@@g" | grep -v '\.a$' > gimp-plugin-files
find %{buildroot}%{_libdir}/gimp/%{lib_api_version}/* -type d | sed "s@^%{buildroot}@%%dir @g" >> gimp-plugin-files
# .pyc and .pyo files don't exist yet # .pyc and .pyo files don't exist yet
grep "\.py$" gimp-plugin-files > gimp-plugin-files-py grep "\.py$" gimp-plugin-files > gimp-plugin-files-py
@ -675,6 +676,9 @@ make check %{?_smp_mflags}
%endif %endif
%changelog %changelog
* Fri Aug 24 2018 Nils Philippsen <nils@tiptoe.de> - 2:2.10.6-2
- own all plug-in directories
* Mon Aug 20 2018 Nils Philippsen <nils@tiptoe.de> - 2:2.10.6-1 * Mon Aug 20 2018 Nils Philippsen <nils@tiptoe.de> - 2:2.10.6-1
- version 2.10.6 - version 2.10.6