Generate distribution.ini using /etc/os-release values
This commit is contained in:
parent
cf9855bfcf
commit
f346de3ef9
@ -1,9 +1,9 @@
|
|||||||
[Global]
|
[Global]
|
||||||
id=fedora
|
id=__ID__
|
||||||
version=1.0
|
version=1.0
|
||||||
about=Mozilla Firefox for Fedora
|
about=Mozilla Firefox for __NAME__
|
||||||
|
|
||||||
[Preferences]
|
[Preferences]
|
||||||
app.distributor=fedora
|
app.distributor=__ID__
|
||||||
app.distributor.channel=fedora
|
app.distributor.channel=__ID__
|
||||||
app.partner.fedora=fedora
|
app.partner.fedora=__ID__
|
||||||
|
10
firefox.spec
10
firefox.spec
@ -137,7 +137,7 @@ end}
|
|||||||
Summary: Mozilla Firefox Web browser
|
Summary: Mozilla Firefox Web browser
|
||||||
Name: firefox
|
Name: firefox
|
||||||
Version: 128.0
|
Version: 128.0
|
||||||
Release: 2%{?dist}
|
Release: 2%{?dist}.alma.1
|
||||||
URL: https://www.mozilla.org/firefox/
|
URL: https://www.mozilla.org/firefox/
|
||||||
License: MPLv1.1 or GPLv2+ or LGPLv2+
|
License: MPLv1.1 or GPLv2+ or LGPLv2+
|
||||||
|
|
||||||
@ -1610,7 +1610,10 @@ ln -s %{_datadir}/myspell %{buildroot}%{mozappdir}/dictionaries
|
|||||||
|
|
||||||
# Add distribution.ini
|
# Add distribution.ini
|
||||||
%{__mkdir_p} %{buildroot}%{mozappdir}/distribution
|
%{__mkdir_p} %{buildroot}%{mozappdir}/distribution
|
||||||
%{__cp} %{SOURCE26} %{buildroot}%{mozappdir}/distribution
|
%{__sed} -e "s/__NAME__/%(source /etc/os-release; echo ${NAME})/" \
|
||||||
|
-e "s/__ID__/%(source /etc/os-release; echo ${ID})/" \
|
||||||
|
-e "s/rhel/redhat/" \
|
||||||
|
%{SOURCE26} > %{buildroot}%{mozappdir}/distribution/distribution.ini
|
||||||
|
|
||||||
# Install appdata file
|
# Install appdata file
|
||||||
mkdir -p %{buildroot}%{_datadir}/metainfo
|
mkdir -p %{buildroot}%{_datadir}/metainfo
|
||||||
@ -1745,6 +1748,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|||||||
#---------------------------------------------------------------------
|
#---------------------------------------------------------------------
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Aug 09 2024 Andrew Lukoshko <alukoshko@almalinux.org> - 128.0-2.alma.1
|
||||||
|
- Generate distribution.ini using /etc/os-release values
|
||||||
|
|
||||||
* Wed Jul 10 2024 Tomas Popela <tpopela@redhat.com> - 128.0-1
|
* Wed Jul 10 2024 Tomas Popela <tpopela@redhat.com> - 128.0-1
|
||||||
- Update to 128.0
|
- Update to 128.0
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user