From ce3a16786c23decbfe53fd1d492c3f7f45e20b001649e35747d5cbfe7aa314a8 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Tue, 11 Apr 2017 21:14:04 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/filesystems/libmirage?expand=0&rev=42 --- libmirage.changes | 1 + libmirage.spec | 10 +++++----- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/libmirage.changes b/libmirage.changes index d59f835..59254f1 100644 --- a/libmirage.changes +++ b/libmirage.changes @@ -5,6 +5,7 @@ Sat Apr 06 08:39:43 UTC 2017 - zenitur@ya.ru Most desktop and workstation users are turn on Packman repository, so they're have Glib 2.28 installed from there. - Added 01_g_assert_nonnull.diff patch taken from Cdemu PPA. +- Add libmirage-3.0.5-glib-2.28-workaround.patch - Add glib2-devel as a required for the -devel package. That fixes some rpmbuild warning. diff --git a/libmirage.spec b/libmirage.spec index ac01d48..56a599d 100644 --- a/libmirage.spec +++ b/libmirage.spec @@ -35,14 +35,14 @@ Patch1: 01_g_assert_nonnull.diff Patch2: libmirage-3.0.5-glib-2.28-workaround.patch # Dependencies list in an old style BuildRequires: cmake >= 2.8.5 -BuildRequires: pkg-config >= 0.16 -BuildRequires: libbz2-devel >= 1.0.0 BuildRequires: glib2-devel >= 2.28 BuildRequires: gtk-doc >= 1.4 -BuildRequires: xz-devel >= 5.0.0 +BuildRequires: libbz2-devel >= 1.0.0 BuildRequires: libsamplerate-devel >= 0.1.0 -BuildRequires: shared-mime-info BuildRequires: libsndfile-devel >= 1.0.0 +BuildRequires: pkg-config >= 0.16 +BuildRequires: shared-mime-info +BuildRequires: xz-devel >= 5.0.0 BuildRequires: zlib-devel >= 1.2.0 %else BuildRequires: cmake >= 2.8.5 @@ -59,7 +59,7 @@ BuildRequires: pkgconfig(shared-mime-info) BuildRequires: pkgconfig(sndfile) >= 1.0.0 BuildRequires: pkgconfig(zlib) >= 1.2.0 %endif -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot +BuildRoot: %{_tmppath}/%{name}-%{version}-build %description A CD-ROM image access library part of the cdemu suite.