python-talloc-py3: obsolete python-talloc-py36 [release 2.3.1-3mamba;Mon Jan 06 2020]
This commit is contained in:
parent
ebe5243446
commit
0f784d6fc8
@ -1,25 +1,28 @@
|
||||
%define major %(echo 2.0.1 | cut -d. -f1)
|
||||
Name: libtalloc
|
||||
Epoch: 1
|
||||
Version: 2.1.16
|
||||
Release: 1mamba
|
||||
Version: 2.3.1
|
||||
Release: 3mamba
|
||||
Summary: The talloc library
|
||||
Group: System/Libraries
|
||||
Vendor: 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
|
||||
Source: http://samba.org/ftp/talloc/talloc-%{version}.tar.gz
|
||||
License: LGPL
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: ldconfig
|
||||
BuildRequires: libbsd-devel
|
||||
BuildRequires: libpython-devel
|
||||
BuildRequires: libpython3-devel
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: docbook-xsl
|
||||
BuildRequires: libxslt
|
||||
Provides: %{name}-static
|
||||
Obsoletes: %{name}-static
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: libpython-devel
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%description
|
||||
@ -48,14 +51,16 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||
|
||||
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
|
||||
Summary: A wrapper for libtalloc for use in Python programs
|
||||
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||
Provides: 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.
|
||||
|
||||
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
|
||||
%setup -q -n talloc-%{version}
|
||||
|
||||
%debug_package
|
||||
|
||||
%build
|
||||
%configure \
|
||||
--extra-python=%{__python36}
|
||||
%configure
|
||||
|
||||
#\
|
||||
# --extra-python=%{__python36}
|
||||
|
||||
%make
|
||||
|
||||
@ -75,7 +84,7 @@ This package contains a wrapper for libtalloc for use in Python programs.
|
||||
|
||||
rm -f %{buildroot}%{_datadir}/swig/*/talloc.i
|
||||
chmod +x %{buildroot}%{_libdir}/libtalloc.so.%{version}
|
||||
chmod +x %{buildroot}%{_libdir}/libpytalloc-util.so.%{version}
|
||||
#chmod +x %{buildroot}%{_libdir}/libpytalloc-util.so.%{version}
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
@ -86,7 +95,7 @@ chmod +x %{buildroot}%{_libdir}/libpytalloc-util.so.%{version}
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libtalloc.so.*
|
||||
%{_libdir}/libpytalloc-util.so.*
|
||||
#%{_libdir}/libpytalloc-util.so.*
|
||||
%doc NEWS
|
||||
|
||||
%files devel
|
||||
@ -96,20 +105,35 @@ chmod +x %{buildroot}%{_libdir}/libpytalloc-util.so.%{version}
|
||||
%{_libdir}/pkgconfig/talloc.pc
|
||||
%{_mandir}/man3/talloc.3*
|
||||
%{_includedir}/pytalloc.h
|
||||
%{_libdir}/libpytalloc-util.so
|
||||
%{_libdir}/pkgconfig/pytalloc-util.pc
|
||||
#%{_libdir}/libpytalloc-util.so
|
||||
#%{_libdir}/pkgconfig/pytalloc-util.pc
|
||||
|
||||
%files -n python-talloc
|
||||
%defattr(-,root,root)
|
||||
%{python3_sitearch}/talloc.so
|
||||
#%files -n python-talloc
|
||||
#%defattr(-,root,root)
|
||||
#%{python3_sitearch}/talloc.so
|
||||
|
||||
%files -n python-talloc-py36
|
||||
%files -n python-talloc-py3
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libpytalloc-util.cpython-36m-*-linux-gnu*.so*
|
||||
%{_libdir}/pkgconfig/pytalloc-util.cpython-36m-*-linux-gnu*.pc
|
||||
%{python36_sitearch}/talloc.cpython-36m-*-linux-gnu*.so
|
||||
%{_libdir}/libpytalloc-util.cpython-3*m-*-linux-gnu*.so*
|
||||
%{_libdir}/pkgconfig/pytalloc-util.cpython-3*m-*-linux-gnu*.pc
|
||||
%{python3_sitearch}/talloc.cpython-3*m-*-linux-gnu*.so
|
||||
|
||||
%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
|
||||
- automatic version update by autodist
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user