From 9fb9cc48ee04b39012d063bad3deca08f39d8f43 Mon Sep 17 00:00:00 2001 From: eabdullin Date: Fri, 11 Jul 2025 11:16:56 +0300 Subject: [PATCH] Fix path --- SPECS/immudb_wrapper.spec | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/SPECS/immudb_wrapper.spec b/SPECS/immudb_wrapper.spec index 9ff91d6..5e72874 100644 --- a/SPECS/immudb_wrapper.spec +++ b/SPECS/immudb_wrapper.spec @@ -11,38 +11,40 @@ Source0: https://github.com/AlmaLinux/immudb-wrapper/archive/refs/tags/%{ BuildArch: noarch BuildRequires: python3-devel -BuildRequires: python3-pip -BuildRequires: python3-wheel +BuildRequires: python3-setuptools BuildRequires: pyproject-rpm-macros %package -n python%{python3_pkgversion}-%{modname} Summary: %{summary} %{?python_provide:%python_provide python%{python3_pkgversion}-%{modname}} +BuildRequires: python3-GitPython >= 3.1.20 +BuildRequires: python3-immudb >= 1.4.0 +Requires: python3-GitPython >= 3.1.20 Requires: python3-immudb >= 1.4.0 %description -n python%{python3_pkgversion}-%{modname} %{summary}. Python %{python3_pkgversion} version. -%generate_buildrequires -%pyproject_buildrequires - %description %{summary}. %prep -%autosetup -n %{modname}-%{version} +%autosetup -n immudb-wrapper-%{version} %build -%pyproject_wheel +%py3_build %install -%pyproject_install -%pyproject_save_files %{modname} +%py3_install -%files -n python3-%{modname} -f %{pyproject_files} +%files -n python3-%{modname} %doc README.md %license LICENSE +%{python3_sitelib}/%{modname}.py* +%{python3_sitelib}/__pycache__/* +%{python3_sitelib}/%{modname}-%{version}-py%{python3_version}.egg-info + %changelog * Mon May 12 2025 Eduard Abdullin - 0.1.6-1