]> git.pld-linux.org Git - packages/cdrdao.git/commitdiff
move BR: GConf2-devel to gnome bcond master
authorJan Palus <atler@pld-linux.org>
Thu, 22 Jul 2021 17:04:45 +0000 (19:04 +0200)
committerJan Palus <atler@pld-linux.org>
Thu, 22 Jul 2021 17:11:50 +0000 (19:11 +0200)
cdrdao.spec

index 852d84c848e810e05570c65c3098fa463d4bc7ce..5567060f9a002eaf8d750d243c8f5a3570eeb3a6 100644 (file)
@@ -21,7 +21,7 @@ Patch0:               %{name}-nolibs.patch
 Patch1:                %{name}-pccts-antlr.patch
 Patch2:                %{name}-gcc4.patch
 URL:           http://cdrdao.sourceforge.net/
-BuildRequires: GConf2-devel
+%{?with_gnome:BuildRequires:   GConf2-devel}
 BuildRequires: autoconf
 BuildRequires: automake
 BuildRequires: cdrtools-devel >= 3:2.01a25
@@ -86,8 +86,11 @@ niedestruktywne ciÄ™cie danych audio.
 %patch2 -p1
 
 %{__sed} -i -e 's#/usr/src/linux/include##g' scsilib/DEFAULT*/Defaults.linux
-%if !%{with gnome}
-%{__sed} -i -e 's/^en_gcdmaster=yes$/en_gcdmaster=no/' configure.ac
+%if %{without gnome}
+%{__sed} -i \
+       -e 's/^en_gcdmaster=yes$/en_gcdmaster=no/' \
+       -e 's/^AM_GCONF_SOURCE_2$/#AM_GCONF_SOURCE_2/' \
+       configure.ac
 %endif
 
 install %{SOURCE1} gcdmaster/gcdmaster.desktop
This page took 0.131054 seconds and 4 git commands to generate.