From d27fcf16a81760c58b1a14cc0d5fbdd8b2d041de32b29bd3f531c9f8e739de0f Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Mon, 7 Dec 2009 09:00:27 +0000 Subject: [PATCH] . OBS-URL: https://build.opensuse.org/package/show/M17N/xemacs?expand=0&rev=10 --- xemacs.spec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/xemacs.spec b/xemacs.spec index f259000..d726ec7 100644 --- a/xemacs.spec +++ b/xemacs.spec @@ -19,6 +19,9 @@ Name: xemacs BuildRequires: canna-devel compface db-devel fdupes fwnndev gcc-c++ gdbm-devel gpm krb5 libpng-devel libtiff-devel ncurses-devel openldap2-devel texinfo update-desktop-files xaw3d-devel xorg-x11 xorg-x11-devel +%if %suse_version > 1020 +BuildRequires: fdupes +%endif %if "%(xft-config --prefix)" == "/usr" %define appdefdir /usr/share/X11 %define xbindir /usr/bin @@ -464,7 +467,9 @@ install -m 0644 suse/README.SuSE $RPM_BUILD_ROOT/%{_docdir}/xemacs/README.SuSE ln -sf /usr/share/xemacs/%{version}/etc $RPM_BUILD_ROOT/%{_docdir}/xemacs/etc mkdir -p $RPM_BUILD_ROOT/etc/skel/.xemacs install -m 0644 $RPM_SOURCE_DIR/skel.init.el $RPM_BUILD_ROOT/etc/skel/.xemacs/init.el +%if %suse_version > 1020 %fdupes $RPM_SOURCE_DIR/usr/share/xemacs +%endif # # replace buildroot in comments in .elc files by spaces with the same total length: RPM_BUILD_ROOT_REPLACEMENT=$(echo "$RPM_BUILD_ROOT" | tr '[:print:]' ' ')