[gimp-paint-studio] conditional for el6

Luya Tshimbalanga luya at fedoraproject.org
Thu Aug 15 21:00:26 UTC 2013


commit 0e92bb6b5ddfd126b8042e720ca9ef9dccc77dc8
Author: Luya Tshimbalanga <luya at fedoraproject.org>
Date:   Thu Aug 15 14:00:18 2013 -0700

    conditional for el6

 gimp-paint-studio.spec |   12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)
---
diff --git a/gimp-paint-studio.spec b/gimp-paint-studio.spec
index 4a8a9df..d65cf6e 100644
--- a/gimp-paint-studio.spec
+++ b/gimp-paint-studio.spec
@@ -1,6 +1,6 @@
 Name:			gimp-paint-studio
 Version:		2.0
-Release:		5%{?dist}
+Release:		6%{?dist}
 Summary:		A collection of tool option presets and brushes for GIMP
 License:		CC-BY-SA and GPLv2
 URL:			http://code.google.com/p/gps-%{name}/
@@ -52,9 +52,17 @@ cp -pr %{_builddir}/%{name}-%{version}/brushes \
 %{_datadir}/gimp/2.0/tool-presets/GPS-Sketch/
 %{_datadir}/gimp/2.0/tool-presets/GPS-Smudge/
 
-%doc "License for Contents" License_gpl-2.0.txt Readme.txt
+# Conditional for RHEL6 and less
+%if 0%{?rhel} <= 6
+	%doc License?for?Contents License_gpl-2.0.txt Readme.txt
+%else
+	%doc "License for Contents" License_gpl-2.0.txt Readme.txt
+%endif
 
 %changelog
+* Thu Aug 15 2013 Luya Tshimbalanga <luya at fedoraproject.org> - 2.0-6
+- Add conditional for documentation due to rpm < 4.10 bug
+
 * Wed Aug 14 2013 Luya Tshimbalanga <luya at fedoraproject.org> - 2.0-5
 - Rebuilt with new upstream file including licenses
 


More information about the scm-commits mailing list