File project.diff of Package rpm-repos-openSUSE

--- rpm-repos-openSUSE.spec.orig
+++ rpm-repos-openSUSE.spec
@@ -15,11 +15,11 @@
 # Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
-%if 0%{?suse_version} && (!0%{?sle_version})
+%if 0%{?suse_version} > 1600 && (!%{?is_opensuse})
 %global distname Tumbleweed
 %endif
 
-%if 0%{?suse_version} && 0%{?sle_version} && 0%{?is_opensuse}
+%if 0%{?suse_version} && 0%{?is_opensuse}
 %global distname Leap
 %endif
 
@@ -55,6 +55,10 @@ Source13:       opensuse-leap-oss-ports.
 Source14:       opensuse-leap-sle-update.repo
 Source15:       opensuse-leap-sle-backports-update.repo
 
+# openSUSE Leap 16.0 repo configs
+Source21:       opensuse-leap-oss-16.repo
+Source22:       opensuse-leap-non-oss-16.repo
+
 %description
 openSUSE package repository files for DNF and PackageKit with GPG public keys
 
@@ -153,7 +157,7 @@ DNF and PackageKit.
 mkdir -p %{buildroot}%{_sysconfdir}/pki/rpm-gpg
 bash %{S:0} %{buildroot}
 
-%if (0%{?sle_version} && 0%{?sle_version} < 150300) || "%{distname}" == "Tumbleweed"
+%if (0%{?sle_version} && 0%{?sle_version} < 150300) || 0%{?suse_version} == 1600 || "%{distname}" == "Tumbleweed"
 rm %{buildroot}%{_sysconfdir}/pki/rpm-gpg/*SuSE*
 rm %{buildroot}%{_sysconfdir}/pki/rpm-gpg/*Backports*
 %endif
@@ -197,13 +201,18 @@ sed -e 's/@DIST_ARCH@/zsystems/g' -i %{b
 
 # ==== Primary Leap repository configuration ====
 
-%if 0%{?sle_version} >= 150300
+%if 0%{?sle_version} >= 150300 || 0%{?suse_version} == 1600
 # Setup for main SLE/Leap arches
 #ifarch ix86 x86_64 aarch64 power64 s390x
+%if 0%{?suse_version} == 1600
+install %{S:21} -pm 0644 %{buildroot}%{_sysconfdir}/yum.repos.d
+install %{S:22} -pm 0644 %{buildroot}%{_sysconfdir}/yum.repos.d
+%else
 install %{S:11} -pm 0644 %{buildroot}%{_sysconfdir}/yum.repos.d
 install %{S:12} -pm 0644 %{buildroot}%{_sysconfdir}/yum.repos.d
 install %{S:14} -pm 0644 %{buildroot}%{_sysconfdir}/yum.repos.d
 install %{S:15} -pm 0644 %{buildroot}%{_sysconfdir}/yum.repos.d
+%endif
 
 # TODO: Add "Step" repos for arm and riscv64
 
openSUSE Build Service is sponsored by