]> git.pld-linux.org Git - packages/blam.git/commitdiff
- added without mozilla_firefox bcond
authorgrzegol <grzegol@pld-linux.org>
Mon, 14 Aug 2006 23:31:34 +0000 (23:31 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- strict mozilla/mozilla-firefox Requires

Changed files:
    blam.spec -> 1.24

blam.spec

index e8c075d3052374587e7f3937d24ee545ba79ed0d..8a58c290060f6c2209b748b69e0e237b00f37e18 100644 (file)
--- a/blam.spec
+++ b/blam.spec
@@ -1,3 +1,8 @@
+#
+# Conditional build:
+%bcond_without mozilla_firefox # build with mozilla-devel instead of
+                               # mozilla-firefox-devel
+#
 %include        /usr/lib/rpm/macros.mono
 Summary:       .NET RSS Reader
 Summary(pl):   Program do pobierania informacji w formacie RSS
@@ -26,10 +31,19 @@ BuildRequires:      libgnomeui-devel >= 2.15.91
 BuildRequires: libstdc++-devel
 BuildRequires: libtool
 BuildRequires: mono-csharp >= 1.1.4
+%if %{with mozilla_firefox}
+BuildRequires: mozilla-firefox-devel
+%else
+BuildRequires: mozilla-devel
+%endif
 BuildRequires: pkgconfig
 BuildRequires: rpmbuild(macros) >= 1.213
 Requires(post,preun):  GConf2 >= 2.4.0
-Requires:      mozilla-embedded
+%if %{with mozilla_firefox}
+%requires_eq   mozilla-firefox
+%else
+Requires:      mozilla-embedded = %(rpm -q --qf '%{EPOCH}:%{VERSION}' --whatprovides mozilla-embedded)
+%endif
 ExcludeArch:   alpha i386 sparc sparc64
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
This page took 0.045449 seconds and 4 git commands to generate.