[kdeutils] fix rhel condition
Than Ngo
than at fedoraproject.org
Fri Dec 2 12:34:38 UTC 2011
commit 59df4e580cc47b3a881075064518d644fbe8ef48
Author: Than Ngo <than at redhat.com>
Date: Fri Dec 2 13:34:31 2011 +0100
fix rhel condition
kdeutils.spec | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/kdeutils.spec b/kdeutils.spec
index 9558a9c..fd720ed 100644
--- a/kdeutils.spec
+++ b/kdeutils.spec
@@ -5,7 +5,7 @@
Name: kdeutils
Epoch: 6
Version: 4.7.3
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: KDE Utilities
Group: Applications/System
@@ -220,6 +220,9 @@ Requires: system-config-printer-udev
%build
+%if ! 0%{?printer_applet}
+sed -i 's|macro_optional_add_subdirectory( printer-applet )||' CMakeLists.txt
+%endif
mkdir -p %{_target_platform}
pushd %{_target_platform}
@@ -245,7 +248,9 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
%find_lang kgpg --with-kde --without-mo
%find_lang ktimer --with-kde --without-mo
%find_lang kwallet --with-kde --without-mo
+%if 0%{?printer_applet}
%find_lang printer-applet --with-kde --without-mo
+%endif
%find_lang sweeper --with-kde --without-mo
@@ -534,6 +539,9 @@ fi
%changelog
+* Fri Dec 02 2011 Than Ngo <than at redhat.com> - 4.7.3-3
+- fix rhel condition
+
* Tue Nov 15 2011 Rex Dieter <rdieter at fedoraproject.org> 6:4.7.3-2
- rebuild (libarchive)
More information about the scm-commits
mailing list