From 71f1812d5bee84ca64a35a14e4d9b2fb2a382c41 Mon Sep 17 00:00:00 2001 From: Arvin Schnell Date: Tue, 20 Sep 2016 12:24:20 +0200 Subject: [PATCH] - adapted spec-file to changes in Fedora 24 --- snapper.spec.in | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/snapper.spec.in b/snapper.spec.in index b517a24e..c2f19d90 100644 --- a/snapper.spec.in +++ b/snapper.spec.in @@ -1,7 +1,7 @@ # # spec file for package snapper # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -34,10 +34,19 @@ BuildRequires: libbtrfs-devel %if 0%{?suse_version} > 1310 BuildRequires: libmount-devel >= 2.24 %endif +%if 0%{?fedora_version} >= 23 +BuildRequires: pkgconfig +%else BuildRequires: pkg-config +%endif %if ! 0%{?mandriva_version} +%if 0%{?fedora_version} >= 23 +BuildRequires: dbus-devel +BuildRequires: docbook-style-xsl +%else BuildRequires: dbus-1-devel BuildRequires: docbook-xsl-stylesheets +%endif BuildRequires: libxslt %else BuildRequires: docbook-dtd45-xml -- 2.47.3