From: Arvin Schnell Date: Fri, 12 Oct 2012 09:10:45 +0000 (+0200) Subject: - don't build python bindings (python can use dbus) X-Git-Tag: v0.1.3~86 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7f8df60ac312dcca9fb9fc7130341ab10b474ffc;p=thirdparty%2Fsnapper.git - don't build python bindings (python can use dbus) --- diff --git a/Makefile.am b/Makefile.am index 2a2244a4..600fed8e 100644 --- a/Makefile.am +++ b/Makefile.am @@ -2,7 +2,7 @@ # Makefile.am for snapper # -SUBDIRS = snapper examples dbus server client scripts data doc po testsuite-real bindings +SUBDIRS = snapper examples dbus server client scripts data doc po testsuite-real AUTOMAKE_OPTIONS = foreign dist-bzip2 no-dist-gzip diff --git a/configure.in b/configure.in index 05b85dfb..39b284a7 100644 --- a/configure.in +++ b/configure.in @@ -21,7 +21,6 @@ AC_DISABLE_STATIC AC_PROG_CXX AC_PROG_LIBTOOL AM_PROG_LIBTOOL -AM_PATH_PYTHON AC_PREFIX_DEFAULT(/usr) @@ -70,8 +69,6 @@ AC_OUTPUT( snapper/Makefile examples/Makefile examples/C/Makefile - bindings/Makefile - bindings/python/Makefile dbus/Makefile server/Makefile client/Makefile diff --git a/snapper.spec.in b/snapper.spec.in index 10e8a4a2..a8b68b18 100644 --- a/snapper.spec.in +++ b/snapper.spec.in @@ -25,7 +25,6 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build Source: snapper-%{version}.tar.bz2 Prefix: /usr BuildRequires: boost-devel doxygen gcc-c++ libtool libxml2-devel -BuildRequires: python-devel swig BuildRequires: dbus-1-devel %if (0%{?suse_version} && 0%{?suse_version} >= 1210) BuildRequires: libzypp(plugin:commit) @@ -72,9 +71,6 @@ install -D data/sysconfig.snapper $RPM_BUILD_ROOT/etc/sysconfig/snapper %{find_lang} snapper -rm -f $RPM_BUILD_ROOT/%{python_sitearch}/_libsnapper.a -rm -f $RPM_BUILD_ROOT/%{python_sitearch}/_libsnapper.la - %clean rm -rf "$RPM_BUILD_ROOT" @@ -151,22 +147,6 @@ Authors: %{_libdir}/libsnapper.so %{prefix}/include/snapper -%package -n libsnapper-python -Summary: Python bindings for libsnapper -Group: System/Libraries - -%description -n libsnapper-python -This package contains Python bindings for libsnapper. - -Authors: --------- - Thomas Fehr - -%files -n libsnapper-python -%defattr(-,root,root) -%{python_sitelib}/libsnapper.py* -%attr(755,root,root) %{python_sitearch}/_libsnapper.so - %package -n snapper-zypp-plugin Requires: snapper libzypp(plugin:commit) zypp-plugin-python Summary: A zypp commit plugin for calling snapper