]> git.pld-linux.org Git - packages/icedove.git/commitdiff
- fixed xulrunner version
authorJakub Bogusz <qboosh@pld-linux.org>
Tue, 29 May 2012 17:37:31 +0000 (17:37 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- don't provide libmozalloc.so when building with included xulrunner
- normally require xulrunner libs when building with system xulrunner

Changed files:
    icedove.spec -> 1.157

icedove.spec

index e0f6787948587a62200204c668437448a4a02452..945274298fe29221a01551926b71c0e649bd3529 100644 (file)
@@ -25,7 +25,7 @@
 
 # convert thunderbird release number to platform version: 12.0.x -> 12.0.x
 %define                xulrunner_main  12.0
-%define                xulrunner_ver   %(v=%{version}; echo %{xulrunner_main}${v#11.0})
+%define                xulrunner_ver   %(v=%{version}; echo %{xulrunner_main}${v#12.0})
 
 %if %{without xulrunner}
 # The actual sqlite version (see RHBZ#480989):
@@ -116,10 +116,12 @@ BuildRoot:        %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 # iceweasel/icedove/iceape provide their own versions
 %define                _noautoprovfiles        %{_libdir}/%{name}/components
-# we don't want these to satisfy xulrunner-devel
-%define                _noautoprov             libmozjs.so libxpcom.so libxul.so
+%if %{without xulrunner}
+# we don't want these to satisfy packages depending on xulrunner
+%define                _noautoprov             libmozalloc.so libxpcom.so libxul.so
 # and as we don't provide them, don't require either
-%define                _noautoreq              libmozjs.so libxpcom.so libxul.so
+%define                _noautoreq              libmozalloc.so libxpcom.so libxul.so
+%endif
 
 %define                topdir          %{_builddir}/%{name}-%{version}
 %define                objdir          %{topdir}/obj-%{_target_cpu}
This page took 0.107917 seconds and 4 git commands to generate.