osc copypac from project:mozilla package:firefox128esr revision:24

OBS-URL: https://build.opensuse.org/package/show/mozilla:Factory/firefox-esr?expand=0&rev=22
This commit is contained in:
Manfred Hollstein 2024-12-11 16:58:52 +00:00 committed by Git OBS Bridge
parent a226d95b0d
commit 3b2f571f9a
3 changed files with 11590 additions and 6 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Wed Dec 11 15:24:36 UTC 2024 - Manfred Hollstein <manfred.h@gmx.net>
- Add MozillaFirefox.changes.txt as a hard link to firefox-esr.changes
- Rename firefox-esr.changes into firefox-esr.changes.txt in order
to trick source_validator because of the two possible package
names "firefox-esr" vs. "MozillaFirefox" (in Leap).
-------------------------------------------------------------------
Fri Nov 29 07:03:50 UTC 2024 - Manfred Hollstein <manfred.h@gmx.net>

11578
firefox-esr.changes.txt Normal file

File diff suppressed because it is too large Load Diff

View File

@ -213,7 +213,7 @@ Source12: mozilla-get-app-id
Source13: spellcheck.js
Source14: https://github.com/openSUSE/firefox-scripts/raw/913fab1/create-tar.sh
Source15: firefox-appdata.xml
Source16: %{name}.changes
Source16: %{pkgname}.changes.txt
Source17: firefox-search-provider.ini
# Set up API keys, see http://www.chromium.org/developers/how-tos/api-keys
# Note: these are for the openSUSE Firefox builds ONLY. For your own distribution,
@ -349,12 +349,10 @@ cd $RPM_BUILD_DIR/%{srcname}-%{orig_version}
%build
%if !%{with only_print_mozconfig}
# Ensure both .changes files do exist:
ln -f "%{_sourcedir}/firefox-esr.changes.txt" "%{_sourcedir}/%{pkgname}.changes"
ln -f "%{_sourcedir}/MozillaFirefox.changes.txt" "%{_sourcedir}/MozillaFirefox.changes"
# no need to add build time to binaries
# May have to use "firefox-esr.changes" here explicitly,
# because pkgname could be "MozillaFirefox"
if [ ! -s "%{_sourcedir}/%{pkgname}.changes" ]; then
ln -f "%{_sourcedir}/firefox-esr.changes" "%{_sourcedir}/%{pkgname}.changes"
fi
modified="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{_sourcedir}/%{pkgname}.changes")"
DATE="\"$(date -d "${modified}" "+%%b %%e %%Y")\""
TIME="\"$(date -d "${modified}" "+%%R")\""