[kdenetwork/f19] use strigi_analyzers macro

Rex Dieter rdieter at fedoraproject.org
Wed Aug 14 13:08:34 UTC 2013


commit 2ec7da401a26ab7e5180f83de8e5fce92ea7942a
Author: Rex Dieter <rdieter at math.unl.edu>
Date:   Wed Aug 14 08:08:12 2013 -0500

    use strigi_analyzers macro

 kdenetwork.spec |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/kdenetwork.spec b/kdenetwork.spec
index 046fd1c..ed48a5f 100644
--- a/kdenetwork.spec
+++ b/kdenetwork.spec
@@ -2,6 +2,7 @@
 %if 0%{?fedora}
 ## disable: kopete can't use google talk http://bugzilla.redhat.com/963310
 #define use_system_iris 1
+%define strigi_analyzers 1
 %endif
 
 #if 0%{?fedora} > 18
@@ -277,7 +278,7 @@ mv kopete/protocols/jabber/libiris \
    kopete/protocols/jabber/libiris.BAK
 %endif
 
-%if 0%{?rhel}
+%if ! 0%{?strigi_analyzers}
 sed -i 's|macro_optional_add_subdirectory( kdenetwork-strigi-analyzers )|#macro_optional_add_subdirectory( kdenetwork-strigi-analyzers )|g' CMakeLists.txt
 %endif
 
@@ -347,7 +348,7 @@ done
 %{_kde4_libdir}/kde4/sambausershareplugin.so
 %{_kde4_datadir}/kde4/services/sambausershareplugin.desktop
 
-%if 0%{?fedora}
+%if 0%{?strigi_analyzers}
 %files strigi-analyzers
 %{_kde4_libdir}/strigi/strigita_torrent_analyzer.so
 %endif


More information about the scm-commits mailing list