]> git.pld-linux.org Git - packages/talloc.git/commitdiff
- up to 2.3.0; upstream dropped python2 support auto/th/talloc-2.3.0-1
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Wed, 30 Oct 2019 08:37:44 +0000 (09:37 +0100)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Wed, 30 Oct 2019 08:37:44 +0000 (09:37 +0100)
talloc.spec

index eb0948abde6d0e2690a689ca1c9b3638cff29781..36133a56bc62e504ef0c36ae99fc3e70af9ff7f3 100644 (file)
@@ -1,25 +1,18 @@
 #
-# Conditional build:
-%bcond_without python2 # CPython 2.x library
-
 Summary:       The talloc library - a hierarchical pool based memory system
 Summary(pl.UTF-8):     Biblioteka talloc - system przydzielania pamięci oparty na hierarchicznej puli
 Name:          talloc
-Version:       2.1.16
-Release:       2
+Version:       2.3.0
+Release:       1
 Epoch:         2
 License:       LGPL v3+
 Group:         Libraries
 Source0:       https://www.samba.org/ftp/talloc/%{name}-%{version}.tar.gz
-# Source0-md5: 4ff5a73fbfc92ae7e9c63ceb7b4ee025
+# Source0-md5: 8416b153547add81cd1a4d24e598c890
 URL:           http://talloc.samba.org/
 BuildRequires: docbook-dtd42-xml
 BuildRequires: docbook-style-xsl
 BuildRequires: libxslt-progs
-%if %{with python2}
-BuildRequires: python >= 1:2.4.2
-BuildRequires: python-devel >= 1:2.4.2
-%endif
 BuildRequires: python3 >= 1:3.2
 BuildRequires: python3-devel >= 1:3.2
 BuildRequires: python3-modules >= 1:3.2
@@ -56,33 +49,6 @@ talloc library.
 Pliki programistyczne potrzebne do tworzenia programów używających
 biblioteki talloc.
 
-%package -n python-talloc
-Summary:       Python 2 binding for talloc library
-Summary(pl.UTF-8):     Wiązanie Pythona 2 do biblioteki talloc
-Group:         Libraries/Python
-Requires:      %{name} = %{epoch}:%{version}-%{release}
-Requires:      python-libs >= 1:2.4.2
-
-%description -n python-talloc
-Python 2 binding for talloc library.
-
-%description -n python-talloc -l pl.UTF-8
-Wiązanie Pythona 2 do biblioteki talloc.
-
-%package -n python-talloc-devel
-Summary:       Development files for Python 2 pytalloc-util library
-Summary(pl.UTF-8):     Pliki programistyczne biblioteki pytalloc-util dla Pythona 2
-Group:         Development/Libraries
-Requires:      %{name}-devel = %{epoch}:%{version}-%{release}
-Requires:      python-devel >= 1:2.4.2
-Requires:      python-talloc = %{epoch}:%{version}-%{release}
-
-%description -n python-talloc-devel
-Development files for Python 2 pytalloc-util library.
-
-%description -n python-talloc-devel -l pl.UTF-8
-Pliki programistyczne biblioteki pytalloc-util dla Pythona 2.
-
 %package -n python3-talloc
 Summary:       Python 3 binding for talloc library
 Summary(pl.UTF-8):     Wiązanie Pythona 3 do biblioteki talloc
@@ -122,8 +88,7 @@ CFLAGS="%{rpmcflags}" \
 %{__python3} buildtools/bin/waf configure \
        --prefix=%{_prefix} \
        --libdir=%{_libdir} \
-       --disable-rpath \
-       --extra-python="%{__python}"
+       --disable-rpath
 
 %{__make} \
        V=1
@@ -144,9 +109,6 @@ rm -rf $RPM_BUILD_ROOT
 -rm -f %{_libdir}/libtalloc.so.2
 /sbin/ldconfig
 
-%post  -n python-talloc -p /sbin/ldconfig
-%postun        -n python-talloc -p /sbin/ldconfig
-
 %post  -n python3-talloc -p /sbin/ldconfig
 %postun        -n python3-talloc -p /sbin/ldconfig
 
@@ -163,20 +125,6 @@ rm -rf $RPM_BUILD_ROOT
 %{_pkgconfigdir}/talloc.pc
 %{_mandir}/man3/talloc.3*
 
-%if %{with python2}
-%files -n python-talloc
-%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libpytalloc-util.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libpytalloc-util.so.2
-%attr(755,root,root) %{py_sitedir}/talloc.so
-
-%files -n python-talloc-devel
-%defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libpytalloc-util.so
-%{_includedir}/pytalloc.h
-%{_pkgconfigdir}/pytalloc-util.pc
-%endif
-
 %files -n python3-talloc
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libpytalloc-util.cpython-3*.so.*.*.*
This page took 0.206457 seconds and 4 git commands to generate.