diff -r 78c0172dda6c -r ce8283942662 MozillaFirefox-branding-openSUSE.spec --- a/MozillaFirefox-branding-openSUSE.spec Thu Oct 20 22:26:06 2011 +0200 +++ b/MozillaFirefox-branding-openSUSE.spec Thu Oct 20 23:04:06 2011 +0200 @@ -16,14 +16,15 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild -BuildRequires: MozillaFirefox bc unzip zip -BuildRequires: bc unzip zip +BuildRequires: bc +BuildRequires: unzip +BuildRequires: zip + Name: MozillaFirefox-branding-openSUSE -License: BSD3c(or similar) ; GPLv2+ Version: 5.0 Release: 3 +License: BSD3c(or similar) ; GPLv2+ Summary: openSUSE branding of MozillaFirefox Group: Productivity/Networking/Web/Browsers Source: susefox-20111020.tar.bz2 @@ -34,12 +35,12 @@ Source5: distribution.ini.in Source6: %{name}-COPYING Source7: all-openSUSE.js +PreReq: MozillaFirefox >= 4.99 +Supplements: packageand(MozillaFirefox:branding-openSUSE) Provides: MozillaFirefox-branding = %{version} -PreReq: MozillaFirefox >= 4.99 Conflicts: otherproviders(MozillaFirefox-branding) -Supplements: packageand(MozillaFirefox:branding-openSUSE) BuildRoot: %{_tmppath}/%{name}-%{version}-build -%define progdir %{_prefix}/%_lib/firefox +%define progdir %{_libdir}/firefox %define libgssapi libgssapi_krb5.so.2 %define suseversion %(echo -e "scale=1\\n%{suse_version}/100" | bc 2>/dev/null) # HINT: default homepage is a property now included in susefox @@ -49,7 +50,6 @@ %description This package provides openSUSE Look and Feel for MozillaFirefox. - %prep cp -a %{SOURCE6} COPYING %setup -n susefox -q @@ -100,6 +100,7 @@ #%posttrans -f %{name}.schemas_posttrans #%files -f %{name}.schemas_list + %files %defattr(-,root,root) %doc COPYING.susefox