python-talloc-py3: obsolete python-talloc-py36 [release 2.3.1-3mamba;Mon Jan 06 2020]

This commit is contained in:
Silvan Calarco 2024-01-06 05:53:19 +01:00
parent ebe5243446
commit 0f784d6fc8

View File

@ -1,25 +1,28 @@
%define major %(echo 2.0.1 | cut -d. -f1) %define major %(echo 2.0.1 | cut -d. -f1)
Name: libtalloc Name: libtalloc
Epoch: 1 Epoch: 1
Version: 2.1.16 Version: 2.3.1
Release: 1mamba Release: 3mamba
Summary: The talloc library Summary: The talloc library
Group: System/Libraries Group: System/Libraries
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Automatic Build System <autodist@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://talloc.samba.org/talloc/doc/html/index.html URL: http://talloc.samba.org/talloc/doc/html/index.html
Source: http://samba.org/ftp/talloc/talloc-%{version}.tar.gz Source: http://samba.org/ftp/talloc/talloc-%{version}.tar.gz
License: LGPL License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: ldconfig
BuildRequires: libbsd-devel
BuildRequires: libpython-devel
BuildRequires: libpython3-devel
## AUTOBUILDREQ-END
BuildRequires: autoconf BuildRequires: autoconf
BuildRequires: docbook-xsl BuildRequires: docbook-xsl
BuildRequires: libxslt BuildRequires: libxslt
Provides: %{name}-static Provides: %{name}-static
Obsoletes: %{name}-static Obsoletes: %{name}-static
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libpython-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %description
@ -48,14 +51,16 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
This package contains a wrapper for libtalloc for use in Python programs. This package contains a wrapper for libtalloc for use in Python programs.
%package -n python-talloc-py36 %package -n python-talloc-py3
Group: System/Libraries Group: System/Libraries
Summary: A wrapper for libtalloc for use in Python programs Summary: A wrapper for libtalloc for use in Python programs
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Provides: pytalloc Provides: pytalloc
Obsoletes: pytalloc Obsoletes: pytalloc
Obsoletes: python-talloc
Obsoletes: python-talloc-py36
%description -n python-talloc-py36 %description -n python-talloc-py3
%{name} is a hierarchical, reference counted memory pool system with destructors. %{name} is a hierarchical, reference counted memory pool system with destructors.
This package contains a wrapper for libtalloc for use in Python programs. This package contains a wrapper for libtalloc for use in Python programs.
@ -63,9 +68,13 @@ This package contains a wrapper for libtalloc for use in Python programs.
%prep %prep
%setup -q -n talloc-%{version} %setup -q -n talloc-%{version}
%debug_package
%build %build
%configure \ %configure
--extra-python=%{__python36}
#\
# --extra-python=%{__python36}
%make %make
@ -75,7 +84,7 @@ This package contains a wrapper for libtalloc for use in Python programs.
rm -f %{buildroot}%{_datadir}/swig/*/talloc.i rm -f %{buildroot}%{_datadir}/swig/*/talloc.i
chmod +x %{buildroot}%{_libdir}/libtalloc.so.%{version} chmod +x %{buildroot}%{_libdir}/libtalloc.so.%{version}
chmod +x %{buildroot}%{_libdir}/libpytalloc-util.so.%{version} #chmod +x %{buildroot}%{_libdir}/libpytalloc-util.so.%{version}
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -86,7 +95,7 @@ chmod +x %{buildroot}%{_libdir}/libpytalloc-util.so.%{version}
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/libtalloc.so.* %{_libdir}/libtalloc.so.*
%{_libdir}/libpytalloc-util.so.* #%{_libdir}/libpytalloc-util.so.*
%doc NEWS %doc NEWS
%files devel %files devel
@ -96,20 +105,35 @@ chmod +x %{buildroot}%{_libdir}/libpytalloc-util.so.%{version}
%{_libdir}/pkgconfig/talloc.pc %{_libdir}/pkgconfig/talloc.pc
%{_mandir}/man3/talloc.3* %{_mandir}/man3/talloc.3*
%{_includedir}/pytalloc.h %{_includedir}/pytalloc.h
%{_libdir}/libpytalloc-util.so #%{_libdir}/libpytalloc-util.so
%{_libdir}/pkgconfig/pytalloc-util.pc #%{_libdir}/pkgconfig/pytalloc-util.pc
%files -n python-talloc #%files -n python-talloc
%defattr(-,root,root) #%defattr(-,root,root)
%{python3_sitearch}/talloc.so #%{python3_sitearch}/talloc.so
%files -n python-talloc-py36 %files -n python-talloc-py3
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/libpytalloc-util.cpython-36m-*-linux-gnu*.so* %{_libdir}/libpytalloc-util.cpython-3*m-*-linux-gnu*.so*
%{_libdir}/pkgconfig/pytalloc-util.cpython-36m-*-linux-gnu*.pc %{_libdir}/pkgconfig/pytalloc-util.cpython-3*m-*-linux-gnu*.pc
%{python36_sitearch}/talloc.cpython-36m-*-linux-gnu*.so %{python3_sitearch}/talloc.cpython-3*m-*-linux-gnu*.so
%changelog %changelog
* Mon Jan 06 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 2.3.1-3mamba
- python-talloc-py3: obsolete python-talloc-py36
* Fri Jan 03 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 2.3.1-2mamba
- added debug package
* Tue Dec 31 2019 Automatic Build System <autodist@mambasoft.it> 2.3.1-1mamba
- automatic version update by autodist
* Thu Nov 21 2019 Automatic Build System <autodist@mambasoft.it> 2.3.0-1mamba
- automatic version update by autodist
* Fri Oct 04 2019 Automatic Build System <autodist@mambasoft.it> 2.2.0-1mamba
- automatic version update by autodist
* Mon Apr 01 2019 Automatic Build System <autodist@mambasoft.it> 2.1.16-1mamba * Mon Apr 01 2019 Automatic Build System <autodist@mambasoft.it> 2.1.16-1mamba
- automatic version update by autodist - automatic version update by autodist