one mdds to rule them all

f41
David Tardon 7 years ago
parent d82db38cad
commit 98e8d44c57

@ -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' \

Loading…
Cancel
Save