From: Michael Schroeder Date: Tue, 23 Apr 2013 08:37:39 +0000 (+0200) Subject: support 'rpmbuild --with zypp' as shortcut to enable things the zypp stack needs X-Git-Tag: BASE-SuSE-Code-12_3-Branch~17 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7fbfb48c6db0ccf031a61d2f38aca87600a3f223;p=thirdparty%2Flibsolv.git support 'rpmbuild --with zypp' as shortcut to enable things the zypp stack needs --- diff --git a/package/libsolv.spec.in b/package/libsolv.spec.in index 3db3c784..babdb323 100644 --- a/package/libsolv.spec.in +++ b/package/libsolv.spec.in @@ -27,6 +27,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build %bcond_without perl_binding %bcond_without python_binding %bcond_without ruby_binding +%bcond_with zypp %if 0%{?mandriva_version} # force this version on mandriva @@ -176,6 +177,7 @@ cmake $CMAKE_FLAGS \ %{?with_perl_binding:-DENABLE_PERL=1} \ %{?with_python_binding:-DENABLE_PYTHON=1} \ %{?with_ruby_binding:-DENABLE_RUBY=1} \ + %{?with_zypp:-DENABLE_SUSEREPO=1 -DENABLE_HELIXREPO=1} \ -DUSE_VENDORDIRS=1 \ -DCMAKE_SKIP_RPATH=1 make %{?jobs:-j %jobs}