|
|
@ -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
|
|
|
|