Fix patching distribution file

i9 changed/i9/firefox-128.2.0-1.el9_4.inferit
Arkady L. Shane 2 months ago
parent 412bfaaa75
commit 6380911042
Signed by: tigro
GPG Key ID: 1EC08A25C9DB2503

@ -1746,11 +1746,11 @@ ln -s %{_datadir}/myspell %{buildroot}%{mozappdir}/dictionaries
##%%{__cp} %%{SOURCE26} %{buildroot}%{mozappdir}/distribution ##%%{__cp} %%{SOURCE26} %{buildroot}%{mozappdir}/distribution
# CentOS # CentOS
%if 0%{?centos} #%if 0%{?centos}
%{__sed} -ie 's/redhat/centos/g' %{buildroot}%{mozappdir}/distribution #%{__sed} -ie 's/redhat/centos/g' %{buildroot}%{mozappdir}/distribution
(source /etc/os-release; %{__sed} -ie 's/Red Hat Enterprise Linux/$NAME/' %{buildroot}%{mozappdir}/distribution) #(source /etc/os-release; %{__sed} -ie 's/Red Hat Enterprise Linux/$NAME/' %{buildroot}%{mozappdir}/distribution)
cat %{buildroot}%{mozappdir}/distribution #cat %{buildroot}%{mozappdir}/distribution
%endif #%endif
# Install appdata file # Install appdata file
mkdir -p %{buildroot}%{_datadir}/metainfo mkdir -p %{buildroot}%{_datadir}/metainfo

Loading…
Cancel
Save