From 98e8d44c57abb22ac3d0358ffe350f3a7462a893 Mon Sep 17 00:00:00 2001 From: David Tardon Date: Oct 23 2017 12:24:34 +0000 Subject: one mdds to rule them all --- diff --git a/libetonyek.spec b/libetonyek.spec index 6192aad..f21304c 100644 --- a/libetonyek.spec +++ b/libetonyek.spec @@ -1,9 +1,5 @@ %global apiversion 0.1 -%if 0%{?fedora} -%global mddsver 1.2 -%endif - Name: libetonyek Version: 0.1.7 Release: 1%{?dist} @@ -22,7 +18,7 @@ BuildRequires: pkgconfig(cppunit) BuildRequires: pkgconfig(liblangtag) BuildRequires: pkgconfig(librevenge-0.0) BuildRequires: pkgconfig(libxml-2.0) -BuildRequires: pkgconfig(mdds%{?mddsver:-%{mddsver}}) +BuildRequires: pkgconfig(mdds-1.2) BuildRequires: pkgconfig(zlib) %description @@ -58,8 +54,7 @@ supported: CSV, HTML, SVG, text, and raw. %autosetup -p1 %build -%configure --disable-silent-rules --disable-static --disable-werror \ - --with-mdds=%{?mddsver:%{mddsver}}%{!?mddsver:0.x} +%configure --disable-silent-rules --disable-static --disable-werror sed -i \ -e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' \ -e 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' \