diff options
author | Kalev Lember <klember@redhat.com> | 2020-11-09 12:23:30 +0100 |
---|---|---|
committer | Kalev Lember <klember@redhat.com> | 2020-11-09 12:23:30 +0100 |
commit | 83a10190cb5efe6d3d4221636347d9d94cc42b8c (patch) | |
tree | e706b0bb60914f91e6f1193f88f10a1a55bda2dc /firefox.spec | |
parent | Exclude s390x as it still fails to build (diff) | |
download | librewolf-fedora-ff-83a10190cb5efe6d3d4221636347d9d94cc42b8c.tar.gz librewolf-fedora-ff-83a10190cb5efe6d3d4221636347d9d94cc42b8c.tar.bz2 librewolf-fedora-ff-83a10190cb5efe6d3d4221636347d9d94cc42b8c.zip |
Include date in appdata release tags
Otherwise flatpak ignores them.
Diffstat (limited to 'firefox.spec')
-rw-r--r-- | firefox.spec | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/firefox.spec b/firefox.spec index e2ac7f1..f0e1fc5 100644 --- a/firefox.spec +++ b/firefox.spec @@ -122,7 +122,7 @@ ExcludeArch: s390x Summary: Mozilla Firefox Web browser Name: firefox Version: 82.0.2 -Release: 6%{?pre_tag}%{?dist} +Release: 7%{?pre_tag}%{?dist} URL: https://www.mozilla.org/firefox/ License: MPLv1.1 or GPLv2+ or LGPLv2+ Source0: https://archive.mozilla.org/pub/firefox/releases/%{version}%{?pre_version}/source/firefox-%{version}%{?pre_version}.source.tar.xz @@ -861,7 +861,9 @@ sed -i -e "s/\[Crash Reporter\]/[Crash Reporter]\nEnabled=1/" %{buildroot}/%{moz # Install appdata file mkdir -p %{buildroot}%{_datadir}/metainfo -%{__sed} -e 's/__VERSION__/%{version}/' %{SOURCE33} > %{buildroot}%{_datadir}/metainfo/firefox.appdata.xml +%{__sed} -e "s/__VERSION__/%{version}/" \ + -e "s/__DATE__/$(date '+%F')/" \ + %{SOURCE33} > %{buildroot}%{_datadir}/metainfo/firefox.appdata.xml # Install Gnome search provider files mkdir -p %{buildroot}%{_datadir}/gnome-shell/search-providers @@ -980,6 +982,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : #--------------------------------------------------------------------- %changelog +* Mon Nov 09 2020 Kalev Lember <klember@redhat.com> - 82.0.2-7 +- Include date in appdata release tags + * Fri Nov 6 2020 Tomas Popela <tpopela@redhat.com> - 82.0.2-6 - Re-enable s390x buils by backporting a change from Thunderbird https://src.fedoraproject.org/rpms/thunderbird/c/5f0bec1b5b79e117cc469710afbfa4d008af9c29?branch=master |