Automatic update
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/000release-packages?expand=0&rev=2085
This commit is contained in:
parent
770fe15322
commit
e911085556
@ -29,6 +29,11 @@ Group: System/Fhs
|
||||
Source100: weakremovers.inc
|
||||
BuildRequires: skelcd-control-openSUSE
|
||||
BuildRequires: skelcd-openSUSE
|
||||
%ifarch %ix86
|
||||
# on ix86 we need sed to rewrite the zypper repo files for the i586 port split
|
||||
Requires: %{_bindir}/sed
|
||||
Requires: %{_bindir}/grep
|
||||
%endif
|
||||
Suggests: branding-openSUSE
|
||||
Suggests: distribution-logos-openSUSE-Tumbleweed
|
||||
Suggests: java-11-openjdk
|
||||
@ -745,6 +750,14 @@ if [ -x %{_sbindir}/issue-generator ]; then
|
||||
fi
|
||||
%{_sbindir}/issue-generator || :
|
||||
fi
|
||||
# on i586, we are migrating from the main TW repo to the external ports repo
|
||||
%ifarch %ix86
|
||||
|
||||
if ! %{_bindir}/grep -q "ports/i586" /etc/zypp/repos.d/*; then
|
||||
%{_bindir}/sed -i "s|opensuse.org/tumbleweed/repo|opensuse.org/ports/i586/tumbleweed/repo|gi" /etc/zypp/repos.d/* || :
|
||||
%{_bindir}/sed -i "s|opensuse.org/update/tumbleweed|opensuse.org/ports/i586/update/tumbleweed|gi" /etc/zypp/repos.d/* || :
|
||||
fi
|
||||
%endif
|
||||
|
||||
%files
|
||||
%defattr(644,root,root,755)
|
||||
|
Loading…
Reference in New Issue
Block a user