diff --git a/ioprocess-0.15.1.tar.gz b/ioprocess-0.15.1.tar.gz deleted file mode 100644 index 4eeb76d..0000000 Binary files a/ioprocess-0.15.1.tar.gz and /dev/null differ diff --git a/ioprocess-1.4.2.tar.gz b/ioprocess-1.4.2.tar.gz new file mode 100644 index 0000000..0c6515c Binary files /dev/null and b/ioprocess-1.4.2.tar.gz differ diff --git a/ioprocess.spec b/ioprocess.spec index 573b130..ac0c9a3 100644 --- a/ioprocess.spec +++ b/ioprocess.spec @@ -1,19 +1,27 @@ Name: ioprocess -Version: 0.15.1 +Version: 1.4.2 Release: 1 Summary: Slave process to perform risky IO Group: System Environment/Base License: GPLv2+ URL: https://github.com/oVirt/ioprocess -Source0: https://github.com/oVirt/ioprocess/releases/tag/%{name}-%{version}.tar.gz + +# Note: the url fragment satisfies the build system, assuming that the source +# url ends with name-version.tar.gz. This part is ignored by the server. +# See https://fedoraproject.org/wiki/Packaging:SourceURL?rd=Packaging/SourceURL#Git_Tags +Source: https://github.com/oVirt/ioprocess/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz -BuildRequires: python3-devel +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: gcc BuildRequires: glib2-devel +BuildRequires: python3-devel BuildRequires: yajl-devel + Requires: yajl -Requires: glib2 >= 2.28 + %description Slave process to perform risky IO. @@ -29,8 +37,7 @@ make %{?_smp_mflags} %install -make install DESTDIR=%{buildroot} - +make %{?_smp_mflags} install DESTDIR="%{buildroot}" %files %{!?_licensedir:%global license %doc} @@ -38,24 +45,28 @@ make install DESTDIR=%{buildroot} %doc README.md AUTHORS %license COPYING -%package -n python-ioprocess +%package -n python3-ioprocess Summary: Python bindings for ioprocess -BuildArch: noarch -Requires: python -Requires: python-cpopen -Requires: python-six -Requires: %{name} = %{version}-%{release} +BuildRequires: python3 +BuildRequires: python3-six +BuildRequires: util-linux +Requires: python3 +Requires: python3-six +Requires: %{name} = %{version} -%description -n python-ioprocess +%description -n python3-ioprocess Python bindings for ioprocess -%files -n python-ioprocess -%{!?_licensedir:%global license %doc} +%files -n python3-ioprocess %{python3_sitelib}/ioprocess-*.egg-info %{python3_sitelib}/ioprocess/ %doc README.md AUTHORS %license COPYING + %changelog +* Tue Jul 06 2021 wangdi - 1.4.2-1 +- Bump version to 1.4.2 + * Thu Jun 24 2021 Xu Jin - 0.15.1-1 - Initial package for openEuler