use unversioned docdir from Fedora 20 on (#993679)

This commit is contained in:
Nils Philippsen 2013-08-07 15:40:27 +02:00
parent edbf667f34
commit 3d052adb82

View File

@ -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 <nils@redhat.com> - 0.1.10-8
- use unversioned docdir from Fedora 20 on (#993679)
* Tue Jul 30 2013 Nils Philippsen <nils@redhat.com> - 0.1.10-7
- don't require w3m for building