]> git.pld-linux.org Git - packages/firefox.git/blobdiff - mozilla-firefox.spec
- if you want to use compiler specific options, don't use them unconditionally
[packages/firefox.git] / mozilla-firefox.spec
index b1bc7142a366f6a5a8b56a595e3d26904fd39c2b..33baa97f6b321db981b2d3124b61e1c02ea76de3 100644 (file)
@@ -9,6 +9,7 @@
 # - see ftp://ftp.debian.org/debian/pool/main/m/mozilla-firefox/*diff*
 #   for hints how to make locales and other stuff like extensions working
 # - rpm upgrade is broken. First you need uninstall Firefox 1.0.x.
+#
 # Conditional build:
 %bcond_with    tests   # enable tests (whatever they check)
 %bcond_without gnome   # disable all GNOME components (gnomevfs, gnome, gnomeui)
@@ -55,9 +56,6 @@ BuildRequires:        zip
 Requires:      %{name}-lang-resources = %{version}
 Requires:      nspr >= 1:4.6.1
 Requires:      nss >= 3.10.2
-# for /etc/ld.so.conf.d
-Requires:      glibc >= 6:2.3.5-7.6
-Requires(post,postun): /sbin/ldconfig
 Provides:      wwwbrowser
 Obsoletes:     mozilla-firebird
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -189,11 +187,10 @@ ac_add_options --with-system-jpeg
 ac_add_options --with-system-nspr
 ac_add_options --with-system-png
 ac_add_options --with-system-zlib
-ac_cv_visibility_pragma=no
 EOF
 
 %{__make} -j1 -f client.mk build \
-       CC="%{__cc} -fno-strict-aliasing -fvisibility=hidden" \
+       CC="%{__cc} -fno-strict-aliasing" \
        CXX="%{__cxx}"
 
 %install
@@ -278,7 +275,6 @@ EOF
 rm -rf $RPM_BUILD_ROOT
 
 %post
-/sbin/ldconfig
 %{_sbindir}/firefox-chrome+xpcom-generate
 %banner %{name} -e <<EOF
 ###################################################################
@@ -291,7 +287,6 @@ rm -rf $RPM_BUILD_ROOT
 EOF
 
 %postun
-/sbin/ldconfig
 if [ "$1" != "0" ]; then
        %{_sbindir}/firefox-chrome+xpcom-generate
 fi
This page took 0.031042 seconds and 4 git commands to generate.