Name: cx_Oracle Version: 8.3.0 Release: 1%{?dist} Summary: Python interface to Oracle Source0: %{name}-%{version}.tar.gz License: BSD License Group: Development/Libraries Vendor: Anthony Tuininga Url: https://oracle.github.io/python-cx_Oracle %description %package -n python3-%{name} Summary: Python 3 interface to Oracle BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: gcc Requires: python3 %description -n python3-%{name} Python 3 interface to Oracle Database %prep %setup -n %{name}-%{version} -n %{name}-%{version} %build env CFLAGS="$RPM_OPT_FLAGS" python3 setup.py build %install python3 setup.py install --single-version-externally-managed -O1 --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES3 %clean rm -rf $RPM_BUILD_ROOT %files -n python3-%{name} -f INSTALLED_FILES3 %defattr(-,root,root)