Fix patching distribution file

i8 changed/i8/firefox-128.2.0-1.el8_10.inferit
Arkady L. Shane 2 months ago
parent 637689e4e6
commit c1a9e61679
Signed by: tigro
GPG Key ID: 1EC08A25C9DB2503

@ -1741,14 +1741,13 @@ 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 ##%%{__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