From cf793e164cb9760d39ab10619e2ef09d3843195c Mon Sep 17 00:00:00 2001 From: Jiri Kucera Date: Tue, 19 Jan 2021 16:12:42 +0100 Subject: [PATCH] Make a dependency on GConf2 optional --- cdrdao.spec | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/cdrdao.spec b/cdrdao.spec index b868ae7..a25664e 100644 --- a/cdrdao.spec +++ b/cdrdao.spec @@ -1,7 +1,13 @@ +%if 0%{?rhel} >= 9 +%bcond_with gconf +%else +%bcond_without gconf +%endif + Summary: Writes audio CD-Rs in disk-at-once (DAO) mode Name: cdrdao Version: 1.2.4 -Release: 5%{?dist} +Release: 6%{?dist} License: GPLv2+ URL: http://cdrdao.sourceforge.net/ Source0: http://prdownloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2 @@ -14,7 +20,10 @@ BuildRequires: libao-devel BuildRequires: libmad-devel BuildRequires: lame-devel #requirements to rebuild autotools -BuildRequires: autoconf GConf2-devel +BuildRequires: autoconf +%if %{with gconf} +BuildRequires: GConf2-devel +%endif BuildRequires: make # We have removed gcdmaster sub-package in 1.2.3-10 @@ -78,6 +87,9 @@ find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';' %changelog +* Tue Jan 19 2021 Jiri Kucera - 1.2.4-6 +- Make a dependency on GConf2 optional + * Mon Jul 27 2020 Fedora Release Engineering - 1.2.4-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild