rebuilt with python3 [release 0.8.5-2mamba;Tue Dec 08 2020]

This commit is contained in:
Silvan Calarco 2024-01-05 20:03:58 +01:00
parent 5400f79c69
commit 13f3e3e3b5

View File

@ -1,6 +1,6 @@
Name: zfs
Version: 0.8.5
Release: 1mamba
Release: 2mamba
Summary: An advanced file system and volume manager
Group: System/Tools
Vendor: openmamba
@ -12,12 +12,19 @@ Source: https://github.com/zfsonlinux/zfs.git/zfs-%{version}/zfs-%{versio
License: Common Development and Distribution License
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: ldconfig
BuildRequires: libaio-devel
BuildRequires: libblkid-devel
BuildRequires: libe2fs-devel
BuildRequires: libkrb5-devel
BuildRequires: libopenssl-devel
BuildRequires: libtirpc-devel
BuildRequires: libudev-devel
BuildRequires: libuuid-devel
BuildRequires: libz-devel
BuildRequires: python-cffi-py3
BuildRequires: python3
## AUTOBUILDREQ-END
BuildRequires: python36
BuildRequires: python-cffi-py36
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
@ -41,13 +48,14 @@ Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
%package -n python-pyzfs-py36
%package -n python-pyzfs-py3
Group: System/Libraries
Summary: Pythonlibraries for %{name}
Requires: python36
Requires: python-cffi-py36
Requires: python3
Requires: python-cffi-py3
Obsoletes: python-pyzfs-py36
%description -n python-pyzfs-py36
%description -n python-pyzfs-py3
This package contains the Python libraries for %{name}.
%debug_package
@ -62,8 +70,8 @@ This package contains the Python libraries for %{name}.
--with-config=user \
--with-systemdunitdir=%{_unitdir} \
--with-systemdpresetdir=%{_presetdir} \
--with-python=3.6 \
PYTHON=%{__python36}
--with-python=3 \
PYTHON=%{__python3}
%make
@ -189,14 +197,17 @@ This package contains the Python libraries for %{name}.
%{_libdir}/pkgconfig/libzfs_core.pc
#%doc README.markdown
%files -n python-pyzfs-py36
%files -n python-pyzfs-py3
%defattr(-,root,root)
%dir %{python36_sitelib}/libzfs_core
%{python36_sitelib}/libzfs_core/*
%dir %{python36_sitelib}/pyzfs-*-py*.egg-info
%{python36_sitelib}/pyzfs-*-py*.egg-info/*
%dir %{python3_sitelib}/libzfs_core
%{python3_sitelib}/libzfs_core/*
%dir %{python3_sitelib}/pyzfs-*-py*.egg-info
%{python3_sitelib}/pyzfs-*-py*.egg-info/*
%changelog
* Tue Dec 08 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.5-2mamba
- rebuilt with python3
* Fri Oct 09 2020 Automatic Build System <autodist@mambasoft.it> 0.8.5-1mamba
- automatic version update by autodist