Enable suserepo on Fedora to enable making openSUSE containers with Zypper

This commit is contained in:
Neal Gompa 2016-08-31 07:52:57 -04:00 committed by Igor Gnatenko
parent 0f27de1fdb
commit c68db573dc

View File

@ -22,17 +22,19 @@
# For rich dependencies # For rich dependencies
%bcond_without complex_deps %bcond_without complex_deps
%if 0%{?rhel} %if 0%{?rhel}
%bcond_with helix_repo
%bcond_with suse_repo
%bcond_with debian_repo %bcond_with debian_repo
%bcond_with arch_repo %bcond_with arch_repo
# For handling deb + rpm at the same time # For handling deb + rpm at the same time
%bcond_with multi_symantics %bcond_with multi_symantics
%bcond_with helix_repo
%else %else
%bcond_without helix_repo
%bcond_without suse_repo
%bcond_without debian_repo %bcond_without debian_repo
%bcond_without arch_repo %bcond_without arch_repo
# For handling deb + rpm at the same time # For handling deb + rpm at the same time
%bcond_without multi_symantics %bcond_without multi_symantics
%bcond_without helix_repo
%endif %endif
%global _cmake_opts \\\ %global _cmake_opts \\\
@ -45,16 +47,17 @@
-DUSE_VENDORDIRS=ON \\\ -DUSE_VENDORDIRS=ON \\\
-DENABLE_LZMA_COMPRESSION=ON \\\ -DENABLE_LZMA_COMPRESSION=ON \\\
-DENABLE_BZIP2_COMPRESSION=ON \\\ -DENABLE_BZIP2_COMPRESSION=ON \\\
%{?with_helix_repo:-DENABLE_HELIXREPO=ON} \\\
%{?with_suse_repo:-DENABLE_SUSEREPO=ON} \\\
%{?with_debian_repo:-DENABLE_DEBIAN=ON} \\\ %{?with_debian_repo:-DENABLE_DEBIAN=ON} \\\
%{?with_arch_repo:-DENABLE_ARCHREPO=ON} \\\ %{?with_arch_repo:-DENABLE_ARCHREPO=ON} \\\
%{?with_helix_repo:-DENABLE_HELIXREPO=ON} \\\
%{?with_multi_symantics:-DMULTI_SYMANTICS=ON} \\\ %{?with_multi_symantics:-DMULTI_SYMANTICS=ON} \\\
%{?with_complex_deps:-DENABLE_COMPLEX_DEPS=1} \\\ %{?with_complex_deps:-DENABLE_COMPLEX_DEPS=1} \\\
%{nil} %{nil}
Name: lib%{libname} Name: lib%{libname}
Version: 0.6.23 Version: 0.6.23
Release: 3%{?dist} Release: 4%{?dist}
Summary: Package dependency solver Summary: Package dependency solver
License: BSD License: BSD
@ -280,6 +283,10 @@ popd
%if %{with helix_repo} %if %{with helix_repo}
%solv_tool helix2solv %solv_tool helix2solv
%endif %endif
%if %{with suse_repo}
%solv_tool susetags2solv
%endif
%{_bindir}/repo2solv %{_bindir}/repo2solv
%files demo %files demo
@ -310,6 +317,9 @@ popd
%endif %endif
%changelog %changelog
* Sat Aug 27 2016 Neal Gompa <ngompa13@gmail.com> - 0.6.23-4
- Enable suserepo on Fedora to enable making openSUSE containers with Zypper
* Fri Aug 12 2016 Igor Gnatenko <ignatenko@redhat.com> - 0.6.23-3 * Fri Aug 12 2016 Igor Gnatenko <ignatenko@redhat.com> - 0.6.23-3
- Enable helixrepo on Fedora - Enable helixrepo on Fedora