|
@@ -3,7 +3,7 @@
|
|
Name: libtevent
|
|
Name: libtevent
|
|
Summary: The tevent library
|
|
Summary: The tevent library
|
|
Summary(ja): Tevent ライブラリ
|
|
Summary(ja): Tevent ライブラリ
|
|
-Version: 0.9.32
|
|
|
|
|
|
+Version: 0.9.36
|
|
Release: 1%{?_dist_release}
|
|
Release: 1%{?_dist_release}
|
|
Group: System Environment/Libraries
|
|
Group: System Environment/Libraries
|
|
License: LGPLv3+
|
|
License: LGPLv3+
|
|
@@ -14,8 +14,10 @@ BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
|
Patch1: tevent-098-add_abi_scripts_and_fix_exports.patch
|
|
Patch1: tevent-098-add_abi_scripts_and_fix_exports.patch
|
|
|
|
|
|
BuildRequires: libtalloc-devel >= 2.0.0
|
|
BuildRequires: libtalloc-devel >= 2.0.0
|
|
-BuildRequires: python-devel
|
|
|
|
-BuildRequires: pytalloc-devel
|
|
|
|
|
|
+BuildRequires: python-devel python-rpm-macros
|
|
|
|
+BuildRequires: python3-devel python3-rpm-macros
|
|
|
|
+BuildRequires: python-talloc-devel
|
|
|
|
+BuildRequires: python3-talloc-devel
|
|
|
|
|
|
Vendor: Project Vine
|
|
Vendor: Project Vine
|
|
Distribution: Vine Linux
|
|
Distribution: Vine Linux
|
|
@@ -44,13 +46,24 @@ Summary: Python bindings for the Tevent library
|
|
Summary(ja): Tevent ライブラリの python バインディング
|
|
Summary(ja): Tevent ライブラリの python バインディング
|
|
Group: System Environment/Libraries
|
|
Group: System Environment/Libraries
|
|
Requires: libtevent = %{version}-%{release}
|
|
Requires: libtevent = %{version}-%{release}
|
|
-Requires: pytalloc >= 2.0.0
|
|
|
|
|
|
+Requires: python-talloc >= 2.0.0
|
|
Requires: pkgconfig
|
|
Requires: pkgconfig
|
|
|
|
|
|
%description -n python-tevent
|
|
%description -n python-tevent
|
|
Python bindings for libtevent
|
|
Python bindings for libtevent
|
|
|
|
|
|
-%if %build_compat32
|
|
|
|
|
|
+%package -n python3-tevent
|
|
|
|
+Summary: Python3 bindings for the Tevent library
|
|
|
|
+Summary(ja): Tevent ライブラリの python3 バインディング
|
|
|
|
+Group: System Environment/Libraries
|
|
|
|
+Requires: libtevent = %{version}-%{release}
|
|
|
|
+Requires: python3-talloc >= 2.0.0
|
|
|
|
+Requires: pkgconfig
|
|
|
|
+
|
|
|
|
+%description -n python3-tevent
|
|
|
|
+Python3 bindings for libtevent
|
|
|
|
+
|
|
|
|
+%if %{build_compat32}
|
|
|
|
|
|
%package -n compat32-%{name}
|
|
%package -n compat32-%{name}
|
|
Summary: The tevent library
|
|
Summary: The tevent library
|
|
@@ -69,11 +82,14 @@ tevent_req (Tevent Request) functions.
|
|
%prep
|
|
%prep
|
|
%setup -q -n tevent-%{version}
|
|
%setup -q -n tevent-%{version}
|
|
|
|
|
|
-%patch1 -p1 -b .abi_checks
|
|
|
|
-
|
|
|
|
%build
|
|
%build
|
|
%configure
|
|
%configure
|
|
-make %{?_smp_mflags}
|
|
|
|
|
|
+%configure --disable-rpath \
|
|
|
|
+ --bundled-libraries=NONE \
|
|
|
|
+ --builtin-libraries=replace \
|
|
|
|
+ --extra-python=%{__python3}
|
|
|
|
+
|
|
|
|
+make %{?_smp_mflags} V=1
|
|
|
|
|
|
%check
|
|
%check
|
|
make %{?_smp_mflags} check
|
|
make %{?_smp_mflags} check
|
|
@@ -105,7 +121,11 @@ rm -rf $RPM_BUILD_ROOT
|
|
%{python_sitearch}/_tevent.so
|
|
%{python_sitearch}/_tevent.so
|
|
%{python_sitearch}/tevent.py
|
|
%{python_sitearch}/tevent.py
|
|
|
|
|
|
-%if %build_compat32
|
|
|
|
|
|
+%files -n python3-tevent
|
|
|
|
+%{python3_sitearch}/tevent.py
|
|
|
|
+%{python3_sitearch}/_tevent.cpython*.so
|
|
|
|
+
|
|
|
|
+%if %{build_compat32}
|
|
|
|
|
|
%files -n compat32-%{name}
|
|
%files -n compat32-%{name}
|
|
%defattr(-,root,root,-)
|
|
%defattr(-,root,root,-)
|
|
@@ -130,6 +150,11 @@ rm -rf $RPM_BUILD_ROOT
|
|
%endif
|
|
%endif
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Tue Feb 27 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.9.36-1
|
|
|
|
+- new upstream release.
|
|
|
|
+- dropped Patch1.
|
|
|
|
+- enabled python3 modules.
|
|
|
|
+
|
|
* Sat Jul 15 2017 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.9.32-1
|
|
* Sat Jul 15 2017 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.9.32-1
|
|
- new upstream release.
|
|
- new upstream release.
|
|
|
|
|