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:
parent
273442c79a
commit
7f917052f5
28
brasero.spec
28
brasero.spec
@ -1,8 +1,18 @@
|
|||||||
%define basever %(echo %{version} | sed "s/\.[0-9]*$//")
|
%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
|
Name: brasero
|
||||||
Version: 3.12.2
|
Version: 3.12.2
|
||||||
Release: 15%{?dist}
|
Release: 16%{?dist}
|
||||||
Summary: Gnome CD/DVD burning application
|
Summary: Gnome CD/DVD burning application
|
||||||
|
|
||||||
|
|
||||||
@ -41,14 +51,14 @@ BuildRequires: libappstream-glib
|
|||||||
BuildRequires: make
|
BuildRequires: make
|
||||||
BuildRequires: yelp-tools
|
BuildRequires: yelp-tools
|
||||||
|
|
||||||
Requires: dvd+rw-tools
|
%{?with_dvdrwtools:Requires: dvd+rw-tools}
|
||||||
Requires: wodim
|
%{?with_cdrkit:Requires: wodim}
|
||||||
Requires: genisoimage
|
%{?with_cdrkit:Requires: genisoimage}
|
||||||
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
||||||
%ifnarch s390x
|
%ifnarch s390x
|
||||||
Requires: cdrdao
|
%{?with_cdrdao:Requires: cdrdao}
|
||||||
%endif
|
%endif
|
||||||
Recommends: icedax
|
%{?with_cdrkit:Recommends: icedax}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Simple and easy to use CD/DVD burning application for the Gnome
|
Simple and easy to use CD/DVD burning application for the Gnome
|
||||||
@ -96,6 +106,9 @@ autoreconf -fi
|
|||||||
--enable-playlist \
|
--enable-playlist \
|
||||||
--enable-preview \
|
--enable-preview \
|
||||||
--enable-inotify \
|
--enable-inotify \
|
||||||
|
%{!?with_cdrdao:--disable-cdrdao} \
|
||||||
|
%{!?with_cdrkit:--disable-cdrkit} \
|
||||||
|
%{!?with_dvdrwtools:--disable-growisofs} \
|
||||||
--disable-caches \
|
--disable-caches \
|
||||||
--disable-static
|
--disable-static
|
||||||
sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool
|
sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool
|
||||||
@ -161,6 +174,9 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%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
|
* Mon Mar 15 2021 Kalev Lember <klember@redhat.com> - 3.12.2-15
|
||||||
- Switch to Tracker 3
|
- Switch to Tracker 3
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user