#
# spec file for package libsolv
#
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
Name: libsolv
Version: @VERSION@
-Release: 1
-License: BSD 3-Clause
+Release: 0
Url: git://gitorious.org/opensuse/libsolv.git
Source: libsolv-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-Group: Development/Libraries/C and C++
%bcond_without enable_static
%bcond_without disable_shared
%else
BuildRequires: expat-devel
%endif
-BuildRequires: cmake rpm-devel gcc-c++
+BuildRequires: cmake
+BuildRequires: gcc-c++
+BuildRequires: rpm-devel
BuildRequires: zlib-devel
%if %{with perl_binding}
-BuildRequires: perl
+BuildRequires: perl
%if 0%{?fedora_version} || 0%{?rhel_version} >= 600 || 0%{?centos_version} >= 600
-BuildRequires: perl-devel
+BuildRequires: perl-devel
%endif
-BuildRequires: swig
+BuildRequires: swig
%endif
%if %{with ruby_binding}
%if 0%{?fedora_version} || 0%{?rhel_version} >= 600 || 0%{?centos_version} >= 600
%else
%global ruby_vendorarch %(ruby -rrbconfig -e 'puts Config::CONFIG["vendorarchdir"]')
%endif
-BuildRequires: ruby ruby-devel
-BuildRequires: swig
+BuildRequires: ruby
+BuildRequires: ruby-devel
+BuildRequires: swig
%endif
%if %{with python_binding}
%global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(True);")
-BuildRequires: python-devel
-BuildRequires: swig
+BuildRequires: python-devel
+BuildRequires: swig
%endif
Summary: A new approach to package dependency solving
-
+License: BSD-3-Clause
+Group: Development/Libraries/C and C++
%description
A new approach to package dependency solving
Group: Development/Libraries/C and C++
Obsoletes: satsolver-tools < 0.18
Provides: satsolver-tools = 0.18
-Requires: gzip bzip2 coreutils
+Requires: gzip bzip2 coreutils findutils
%description tools
A new approach to package dependency solving.
%files tools
%defattr(-,root,root)
+%if 0%{?suse_version}
%exclude %{_bindir}/helix2solv
+%endif
%exclude %{_bindir}/solv
%{_bindir}/*
%{_libdir}/libsolvext.so
%endif
%{_includedir}/solv
+%if 0%{?suse_version}
%{_bindir}/helix2solv
+%endif
%{_datadir}/cmake/Modules/*
%files demo