Drop all bindings on EL7, as well as arch/deb solv support

We don't need them there, so don't ship them.
This commit is contained in:
Colin Walters 2015-08-05 16:40:21 -04:00
parent 0abbf51daf
commit e1ce97e5d2

View File

@ -41,8 +41,10 @@ Patch1: 0001-Specify-PYTHONLIBS_VERSION_STRING-on-the-FIND_PACKAG.patch
Group: Development/Libraries Group: Development/Libraries
Summary: Package dependency solver Summary: Package dependency solver
BuildRequires: cmake libdb-devel expat-devel rpm-devel zlib-devel BuildRequires: cmake libdb-devel expat-devel rpm-devel zlib-devel
BuildRequires: swig perl perl-devel ruby ruby-devel BuildRequires: swig
BuildRequires: python2-devel %if 0%{?fedora}
BuildRequires: perl perl-devel ruby ruby-devel python2-devel
%endif
%if %{with python3} %if %{with python3}
BuildRequires: python3-devel BuildRequires: python3-devel
%endif %endif
@ -85,6 +87,7 @@ Requires: curl gnupg2
%description demo %description demo
Applications demoing the libsolv library. Applications demoing the libsolv library.
%if 0%{?fedora}
%package -n ruby-solv %package -n ruby-solv
Summary: Ruby bindings for the libsolv library Summary: Ruby bindings for the libsolv library
Group: Development/Languages Group: Development/Languages
@ -92,7 +95,9 @@ Requires: libsolv%{?_isa} = %{version}-%{release}
%description -n ruby-solv %description -n ruby-solv
Ruby bindings for sat solver. Ruby bindings for sat solver.
%endif
%if 0%{?fedora}
%package -n python2-solv %package -n python2-solv
Summary: Python bindings for the libsolv library Summary: Python bindings for the libsolv library
Group: Development/Languages Group: Development/Languages
@ -102,6 +107,7 @@ Requires: libsolv%{?_isa} = %{version}-%{release}
%description -n python2-solv %description -n python2-solv
Python bindings for sat solver. Python bindings for sat solver.
%endif
%if %{with python3} %if %{with python3}
%package -n python3-solv %package -n python3-solv
@ -115,6 +121,7 @@ Requires: libsolv%{?_isa} = %{version}-%{release}
Python 3 bindings for sat solver. Python 3 bindings for sat solver.
%endif %endif
%if 0%{?fedora}
%package -n perl-solv %package -n perl-solv
Summary: Perl bindings for the libsolv library Summary: Perl bindings for the libsolv library
Group: Development/Languages Group: Development/Languages
@ -123,6 +130,7 @@ Requires: libsolv%{?_isa} = %{version}-%{release}
%description -n perl-solv %description -n perl-solv
Perl bindings for sat solver. Perl bindings for sat solver.
%endif
%prep %prep
%setup -q -n libsolv-%{gitrev} %setup -q -n libsolv-%{gitrev}
@ -169,9 +177,11 @@ make ARGS="-V" test
%_libdir/libsolvext.so.* %_libdir/libsolvext.so.*
%files tools %files tools
%if 0%{?fedora}
%_bindir/archpkgs2solv %_bindir/archpkgs2solv
%_bindir/archrepo2solv %_bindir/archrepo2solv
%_bindir/deb2solv %_bindir/deb2solv
%endif
%_bindir/deltainfoxml2solv %_bindir/deltainfoxml2solv
%_bindir/dumpsolv %_bindir/dumpsolv
%_bindir/installcheck %_bindir/installcheck
@ -195,6 +205,7 @@ make ARGS="-V" test
%files demo %files demo
%_bindir/solv %_bindir/solv
%if 0%{?fedora}
%files -n perl-solv %files -n perl-solv
%doc examples/p5solv %doc examples/p5solv
%{perl_vendorarch}/* %{perl_vendorarch}/*
@ -206,6 +217,7 @@ make ARGS="-V" test
%files -n python2-solv %files -n python2-solv
%doc examples/pysolv %doc examples/pysolv
%{python2_sitearch}/* %{python2_sitearch}/*
%endif
%if %{with python3} %if %{with python3}
%files -n python3-solv %files -n python3-solv