- do not build devel subpackage for this variant (not required and
creating file conflicts) OBS-URL: https://build.opensuse.org/package/show/mozilla:Factory/firefox-esr?expand=0&rev=3
This commit is contained in:
parent
9f5300c225
commit
67b87408b1
@ -5,6 +5,8 @@ Wed Oct 2 21:08:05 UTC 2019 - Wolfgang Rosenauer <wr@rosenauer.org>
|
||||
- add mozilla-bmo1585099.patch to fix build with rust >= 1.38
|
||||
- extension preferences moved from branding package to core package
|
||||
(packaging but not branding specific)
|
||||
- do not build devel subpackage for this variant (not required and
|
||||
creating file conflicts)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 30 07:19:50 UTC 2019 - Wolfgang Rosenauer <wr@rosenauer.org>
|
||||
|
@ -31,6 +31,7 @@
|
||||
%define orig_suffix esr
|
||||
%define update_channel esr68
|
||||
%define branding 1
|
||||
%define devpkg 0
|
||||
%define releasedate 20190826132627
|
||||
|
||||
# always build with GCC as SUSE Security Team requires that
|
||||
@ -227,6 +228,7 @@ Mozilla Firefox is a standalone web browser, designed for standards
|
||||
compliance and performance. Its functionality can be enhanced via a
|
||||
plethora of extensions.
|
||||
|
||||
%if 0%{?devpkg}
|
||||
%package devel
|
||||
Summary: Devel package for %{appname}
|
||||
Group: Development/Tools/Other
|
||||
@ -237,6 +239,7 @@ Requires: perl(XML::Simple)
|
||||
|
||||
%description devel
|
||||
Development files for %{appname} to make packaging of addons easier.
|
||||
%endif
|
||||
|
||||
%if %localize
|
||||
%package translations-common
|
||||
@ -617,6 +620,7 @@ rm -f %{buildroot}%{progdir}/update-settings.ini
|
||||
# devel
|
||||
mkdir -p %{buildroot}%{_bindir}
|
||||
install -m 755 %SOURCE12 %{buildroot}%{_bindir}
|
||||
%if 0%{?devpkg}
|
||||
# inspired by mandriva
|
||||
mkdir -p %{buildroot}%{_sysconfdir}/rpm
|
||||
cat <<'FIN' >%{buildroot}%{_sysconfdir}/rpm/macros.%{progname}
|
||||
@ -635,12 +639,7 @@ cat <<'FIN' >%{buildroot}%{_sysconfdir}/rpm/macros.%{progname}
|
||||
%%{__unzip} -q -d "$extdir" "%%1" \
|
||||
%%{nil}
|
||||
FIN
|
||||
# just dumping an xpi file there doesn't work...
|
||||
#%%firefox_ext_install() \
|
||||
# extdir="%%{buildroot}%%{firefox_extdir}" \
|
||||
# mkdir -p "$extdir" \
|
||||
# cp "%%1" "$extdir" \
|
||||
# %%{nil}
|
||||
%endif
|
||||
# fdupes
|
||||
%fdupes %{buildroot}%{progdir}
|
||||
%fdupes %{buildroot}%{_datadir}
|
||||
@ -726,13 +725,14 @@ exit 0
|
||||
%doc %{_mandir}/man1/%{progname}.1.gz
|
||||
%{_datadir}/appdata/
|
||||
|
||||
%if 0%{?devpkg}
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/mozilla-get-app-id
|
||||
%config %{_sysconfdir}/rpm/macros.%{progname}
|
||||
%endif
|
||||
|
||||
%if %localize
|
||||
|
||||
%files translations-common -f %{_tmppath}/translations.common
|
||||
%defattr(-,root,root)
|
||||
%dir %{progdir}
|
||||
|
Loading…
Reference in New Issue
Block a user