Slim burning stack deps in el9+

Do not depend on cdrdao, cdrkit, and dvd+rw-tool in el9 and later.
These packages are going to be removed since their upstream is
inactive for years.
This commit is contained in:
Jiri Kucera 2021-06-17 09:52:37 +02:00
parent 273442c79a
commit 7f917052f5

View File

@ -1,8 +1,18 @@
%define basever %(echo %{version} | sed "s/\.[0-9]*$//")
%if 0%{?rhel} >= 9
%bcond_with cdrdao
%bcond_with cdrkit
%bcond_with dvdrwtools
%else
%bcond_without cdrdao
%bcond_without cdrkit
%bcond_without dvdrwtools
%endif
Name: brasero
Version: 3.12.2
Release: 15%{?dist}
Release: 16%{?dist}
Summary: Gnome CD/DVD burning application
@ -41,14 +51,14 @@ BuildRequires: libappstream-glib
BuildRequires: make
BuildRequires: yelp-tools
Requires: dvd+rw-tools
Requires: wodim
Requires: genisoimage
%{?with_dvdrwtools:Requires: dvd+rw-tools}
%{?with_cdrkit:Requires: wodim}
%{?with_cdrkit:Requires: genisoimage}
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
%ifnarch s390x
Requires: cdrdao
%{?with_cdrdao:Requires: cdrdao}
%endif
Recommends: icedax
%{?with_cdrkit:Recommends: icedax}
%description
Simple and easy to use CD/DVD burning application for the Gnome
@ -96,6 +106,9 @@ autoreconf -fi
--enable-playlist \
--enable-preview \
--enable-inotify \
%{!?with_cdrdao:--disable-cdrdao} \
%{!?with_cdrkit:--disable-cdrkit} \
%{!?with_dvdrwtools:--disable-growisofs} \
--disable-caches \
--disable-static
sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool
@ -161,6 +174,9 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
%changelog
* Thu Jun 17 2021 Jiri Kucera <jkucera@redhat.com> - 3.12.2-16
- Drop dependencies on cdrdao, cdrkit, and dvd+rw-tools for el9+
* Mon Mar 15 2021 Kalev Lember <klember@redhat.com> - 3.12.2-15
- Switch to Tracker 3