From 3d052adb82f1f010b7fbc1ecd452eddd0c0e64bb Mon Sep 17 00:00:00 2001 From: Nils Philippsen Date: Wed, 7 Aug 2013 15:40:27 +0200 Subject: [PATCH] use unversioned docdir from Fedora 20 on (#993679) --- babl.spec | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/babl.spec b/babl.spec index 07d7b1f..7f00d6c 100644 --- a/babl.spec +++ b/babl.spec @@ -3,10 +3,16 @@ # concurrency-stress-test: https://bugzilla.gnome.org/show_bug.cgi?id=673419 %global skip_checks concurrency-stress-test +%if ! 0%{?fedora}%{?rhel} || 0%{?fedora} >= 20 || 0%{?rhel} >= 8 +%global develdocdir %{_docdir}/%{name}-devel/html +%else +%global develdocdir %{_docdir}/%{name}-devel-%{version}/html +%endif + Summary: A dynamic, any to any, pixel format conversion library Name: babl Version: 0.1.10 -Release: 7%{?dist} +Release: 8%{?dist} # Compute some version related macros # Ugly hack, you need to get your quoting backslashes/percent signs straight @@ -23,8 +29,6 @@ Source0: ftp://ftp.gimp.org/pub/babl/%{apiver}/%{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: librsvg2 -%global develdocdir %{_docdir}/%{name}-devel-%{version}/html - %description Babl is a dynamic, any to any, pixel format conversion library. It provides conversions between the myriad of buffer types images can be @@ -118,6 +122,9 @@ rm -rf %{buildroot} %doc %{develdocdir} %changelog +* Wed Aug 07 2013 Nils Philippsen - 0.1.10-8 +- use unversioned docdir from Fedora 20 on (#993679) + * Tue Jul 30 2013 Nils Philippsen - 0.1.10-7 - don't require w3m for building