]> git.ipfire.org Git - thirdparty/snapper.git/commitdiff
- don't build python bindings (python can use dbus)
authorArvin Schnell <aschnell@suse.de>
Fri, 12 Oct 2012 09:10:45 +0000 (11:10 +0200)
committerArvin Schnell <aschnell@suse.de>
Fri, 12 Oct 2012 09:10:45 +0000 (11:10 +0200)
Makefile.am
configure.in
snapper.spec.in

index 2a2244a4c234ebe9880b6a10d052e0198f513bd7..600fed8e6ca9756a31ab9322f32401e3b0213613 100644 (file)
@@ -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
 
index 05b85dfbe1a30a18f98d88edcfd9da2d341fa78b..39b284a7b278fd84dcf1ce4ac836c722ca30fc48 100644 (file)
@@ -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
index 10e8a4a2ab3dc80237438d33081b3556e597bf59..a8b68b18332f631c2e457e4c4f894efa73d284e8 100644 (file)
@@ -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 <fehr@suse.de>
-
-%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