Requires: libsolv@LIBSOLV_SOVERSION@ = %version
%endif
Requires: rpm-devel
+Conflicts: libsatsolver-devel
%description devel
Development files for libsolv, a new approach to package dependency solving
Group: Development/Libraries/C and C++
Obsoletes: satsolver-tools < 0.18
Provides: satsolver-tools = 0.18
+Conflicts: satsolver-tools-obsolete
Requires: gzip bzip2 coreutils findutils
%description tools
%if 0%{?suse_version}
Requires: gpg2
%endif
+Conflicts: libsatsolver-demo
%description demo
Applications demoing the libsolv library.
Ruby bindings for sat solver.
%package -n python-solv
-%if 0%{?py_requires:1}
+%if 0%{?py_requires:1} && %{with python_binding}
%py_requires
%endif
Summary: Python bindings for the libsolv library
CMAKE_FLAGS="-DFEDORA=1"
%endif
%if 0%{?suse_version}
-CMAKE_FLAGS="-DSUSE=1"
+CMAKE_FLAGS="-DSUSE=1 -DENABLE_APPDATA=1"
%endif
cmake $CMAKE_FLAGS \
popd
%endif
%endif
+%if %{with disable_shared}
# we want to leave the .a file untouched
export NO_BRP_STRIP_DEBUG=true
+%endif
%clean
rm -rf "$RPM_BUILD_ROOT"
%{_bindir}/helix2solv
%endif
%{_datadir}/cmake/Modules/*
+%{_mandir}/man?/*
%files demo
%defattr(-,root,root)