Fix path
This commit is contained in:
parent
fc39aefb3e
commit
9fb9cc48ee
@ -11,38 +11,40 @@ Source0: https://github.com/AlmaLinux/immudb-wrapper/archive/refs/tags/%{
|
|||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
BuildRequires: python3-pip
|
BuildRequires: python3-setuptools
|
||||||
BuildRequires: python3-wheel
|
|
||||||
BuildRequires: pyproject-rpm-macros
|
BuildRequires: pyproject-rpm-macros
|
||||||
|
|
||||||
%package -n python%{python3_pkgversion}-%{modname}
|
%package -n python%{python3_pkgversion}-%{modname}
|
||||||
Summary: %{summary}
|
Summary: %{summary}
|
||||||
%{?python_provide:%python_provide python%{python3_pkgversion}-%{modname}}
|
%{?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
|
Requires: python3-immudb >= 1.4.0
|
||||||
|
|
||||||
%description -n python%{python3_pkgversion}-%{modname}
|
%description -n python%{python3_pkgversion}-%{modname}
|
||||||
%{summary}.
|
%{summary}.
|
||||||
Python %{python3_pkgversion} version.
|
Python %{python3_pkgversion} version.
|
||||||
|
|
||||||
%generate_buildrequires
|
|
||||||
%pyproject_buildrequires
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
%{summary}.
|
%{summary}.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{modname}-%{version}
|
%autosetup -n immudb-wrapper-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%pyproject_wheel
|
%py3_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%pyproject_install
|
%py3_install
|
||||||
%pyproject_save_files %{modname}
|
|
||||||
|
|
||||||
%files -n python3-%{modname} -f %{pyproject_files}
|
%files -n python3-%{modname}
|
||||||
%doc README.md
|
%doc README.md
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
|
%{python3_sitelib}/%{modname}.py*
|
||||||
|
%{python3_sitelib}/__pycache__/*
|
||||||
|
%{python3_sitelib}/%{modname}-%{version}-py%{python3_version}.egg-info
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Mon May 12 2025 Eduard Abdullin <eabdullin@almalinux.org> - 0.1.6-1
|
* Mon May 12 2025 Eduard Abdullin <eabdullin@almalinux.org> - 0.1.6-1
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user