SPECS: talloc: Fix Rv build.

Signed-off-by: yyjeqhc <jialin.oerv@isrc.iscas.ac.cn>
This commit is contained in:
2026-04-27 11:44:18 +08:00
committed by Kiryuu Sakuya
parent 07217dbc6c
commit c6a3d75f76

View File

@@ -24,7 +24,6 @@ BuildOption(conf): --builtin-libraries=replace
BuildOption(conf): --disable-silent-rules
BuildRequires: make
BuildRequires: gcc
BuildRequires: pkgconfig(python3)
%description
@@ -42,19 +41,19 @@ link against the Talloc library.
%package -n python-talloc
Summary: Python bindings for the Talloc library
Provides: python3-talloc = %{version}-%{release}
Provides: python3-talloc%{?_isa} = %{version}-%{release}
%python_provide python3-talloc
Requires: %{name}%{?_isa} = %{version}-%{release}
%description -n python-talloc
Python 3 bindings and libraries for using Talloc in Python applications.
Python bindings and libraries for using Talloc in Python applications.
%package -n python3-talloc-devel
%package -n python-talloc-devel
Summary: Development files for python3-talloc
# I don't think we can use provides python3-xxx here - 251
Requires: python3-talloc = %{version}-%{release}
Requires: python3-talloc%{?_isa} = %{version}-%{release}
%description -n python3-talloc-devel
Development files for the python3-talloc bindings.
%description -n python-talloc-devel
Development files for the python-talloc bindings.
%files
%license LICENSE
@@ -69,9 +68,9 @@ Development files for the python3-talloc bindings.
%{_libdir}/libpytalloc-util.cpython*.so.*
%{python3_sitearch}/talloc.cpython*.so
%files -n python3-talloc-devel
%files -n python-talloc-devel
%{_includedir}/pytalloc.h
%{_libdir}/pkgconfig/pytalloc-util.cpython-313-x86_64-linux-gnu.pc
%{_libdir}/pkgconfig/pytalloc-util.cpython-313-%{_arch}-linux-gnu.pc
%{_libdir}/libpytalloc-util.cpython*.so
%changelog