- 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
|
- add mozilla-bmo1585099.patch to fix build with rust >= 1.38
|
||||||
- extension preferences moved from branding package to core package
|
- extension preferences moved from branding package to core package
|
||||||
(packaging but not branding specific)
|
(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>
|
Mon Sep 30 07:19:50 UTC 2019 - Wolfgang Rosenauer <wr@rosenauer.org>
|
||||||
|
@ -31,6 +31,7 @@
|
|||||||
%define orig_suffix esr
|
%define orig_suffix esr
|
||||||
%define update_channel esr68
|
%define update_channel esr68
|
||||||
%define branding 1
|
%define branding 1
|
||||||
|
%define devpkg 0
|
||||||
%define releasedate 20190826132627
|
%define releasedate 20190826132627
|
||||||
|
|
||||||
# always build with GCC as SUSE Security Team requires that
|
# 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
|
compliance and performance. Its functionality can be enhanced via a
|
||||||
plethora of extensions.
|
plethora of extensions.
|
||||||
|
|
||||||
|
%if 0%{?devpkg}
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Devel package for %{appname}
|
Summary: Devel package for %{appname}
|
||||||
Group: Development/Tools/Other
|
Group: Development/Tools/Other
|
||||||
@ -237,6 +239,7 @@ Requires: perl(XML::Simple)
|
|||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
Development files for %{appname} to make packaging of addons easier.
|
Development files for %{appname} to make packaging of addons easier.
|
||||||
|
%endif
|
||||||
|
|
||||||
%if %localize
|
%if %localize
|
||||||
%package translations-common
|
%package translations-common
|
||||||
@ -617,6 +620,7 @@ rm -f %{buildroot}%{progdir}/update-settings.ini
|
|||||||
# devel
|
# devel
|
||||||
mkdir -p %{buildroot}%{_bindir}
|
mkdir -p %{buildroot}%{_bindir}
|
||||||
install -m 755 %SOURCE12 %{buildroot}%{_bindir}
|
install -m 755 %SOURCE12 %{buildroot}%{_bindir}
|
||||||
|
%if 0%{?devpkg}
|
||||||
# inspired by mandriva
|
# inspired by mandriva
|
||||||
mkdir -p %{buildroot}%{_sysconfdir}/rpm
|
mkdir -p %{buildroot}%{_sysconfdir}/rpm
|
||||||
cat <<'FIN' >%{buildroot}%{_sysconfdir}/rpm/macros.%{progname}
|
cat <<'FIN' >%{buildroot}%{_sysconfdir}/rpm/macros.%{progname}
|
||||||
@ -635,12 +639,7 @@ cat <<'FIN' >%{buildroot}%{_sysconfdir}/rpm/macros.%{progname}
|
|||||||
%%{__unzip} -q -d "$extdir" "%%1" \
|
%%{__unzip} -q -d "$extdir" "%%1" \
|
||||||
%%{nil}
|
%%{nil}
|
||||||
FIN
|
FIN
|
||||||
# just dumping an xpi file there doesn't work...
|
%endif
|
||||||
#%%firefox_ext_install() \
|
|
||||||
# extdir="%%{buildroot}%%{firefox_extdir}" \
|
|
||||||
# mkdir -p "$extdir" \
|
|
||||||
# cp "%%1" "$extdir" \
|
|
||||||
# %%{nil}
|
|
||||||
# fdupes
|
# fdupes
|
||||||
%fdupes %{buildroot}%{progdir}
|
%fdupes %{buildroot}%{progdir}
|
||||||
%fdupes %{buildroot}%{_datadir}
|
%fdupes %{buildroot}%{_datadir}
|
||||||
@ -726,13 +725,14 @@ exit 0
|
|||||||
%doc %{_mandir}/man1/%{progname}.1.gz
|
%doc %{_mandir}/man1/%{progname}.1.gz
|
||||||
%{_datadir}/appdata/
|
%{_datadir}/appdata/
|
||||||
|
|
||||||
|
%if 0%{?devpkg}
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_bindir}/mozilla-get-app-id
|
%{_bindir}/mozilla-get-app-id
|
||||||
%config %{_sysconfdir}/rpm/macros.%{progname}
|
%config %{_sysconfdir}/rpm/macros.%{progname}
|
||||||
|
%endif
|
||||||
|
|
||||||
%if %localize
|
%if %localize
|
||||||
|
|
||||||
%files translations-common -f %{_tmppath}/translations.common
|
%files translations-common -f %{_tmppath}/translations.common
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%dir %{progdir}
|
%dir %{progdir}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user