Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
home:csbuild:DBA
dba-python-3123
dba-python-3123.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File dba-python-3123.spec of Package dba-python-3123
%define real_name python %define version 3.12.3 %define prefix /DBA/%{real_name}/%{version} %define vers 3123 Name: dba-%{real_name}-%{vers} Version: %{version} Release: 1 Summary: Python Interpreter version 3.12.3 License: Python-2.0 Group: Development/Languages/Python Url: http://www.python.org/ Source0: https://www.python.org/ftp/python/3.12.3/Python-%{version}.tgz Source1: md5sum Source2: filter-provides-python.sh Source3: filter-provides-python.sh Source4: python-rpmlintrc BuildRoot: %{_tmppath}/%{name}-%{version}-build %define _use_internal_dependency_generator 0 %define __find_provides %{SOURCE2} %define __find_requires %{SOURCE3} %define __strip /bin/true #!BuildIgnore: nspr dba-geoip-148 dba-geoip-160 BuildRequires: dba-openssl-3014-static %define ssldir /DBA/openssl/3.0.14 BuildRequires: gnupg BuildRequires: readline-devel BuildRequires: gdbm-devel gmp-devel ncurses-devel sqlite-devel libffi-devel zlib-devel %if 0%{?rhel_version} >= 700 || 0%{?centos_version} >= 700 BuildRequires: libdb %else BuildRequires: db-devel %endif %if 0%{?suse_version} >= 1200 BuildRequires: automake libtool %endif %if 0%{?suse_version} >= 1100 BuildRequires: -post-build-checks %endif %description Python is an interpreted, object-oriented programming language, and is often compared to Tcl, Perl, Scheme, or Java. You can find an overview of Python in the documentation and tutorials included in the python-doc (HTML) or python-doc-pdf (PDF) packages. %prep md5sum %{SOURCE0} | awk '{print $1;}' | cmp - %{SOURCE1} %setup -q -n Python-%{version} %{__chmod} +x %{SOURCE2} %{SOURCE3} %build CFLAGS="$RPM_OPT_FLAGS -Wall -fno-strict-aliasing -fpic"; export CFLAGS ./configure \ --prefix=%{prefix} \ --with-openssl=%{ssldir} \ --enable-static \ --disable-shared make %{?_smp_mflags} %install # prevent rpath problem on suse export NO_BRP_CHECK_RPATH=true make "DESTDIR=$RPM_BUILD_ROOT" install %{__mkdir_p} %{buildroot}%{prefix} rm -f `find %{buildroot} -name *.la` %if 0%{?centos_version} >= 800 || 0%{?rhel_version} >= 800 sed -i 's/python/python3/' %{buildroot}%{prefix}/lib/python3.12/test/test_lib2to3/data/false_encoding.py sed -i 's/python/python3/' %{buildroot}%{prefix}/lib/python3.12/test/test_lib2to3/data/different_encoding.py sed -i 's/python/python3/' %{buildroot}%{prefix}/lib/python3.12/encodings/rot_13.py %endif %files %defattr(-,root,root) %dir %{prefix} %{prefix}/* %changelog * Mon Jun 10 2024 Dennis Hampe <dennis.hampe@bertelsmann.de> - update openssl * Wed May 22 2024 Dennis Hampe <dennis.hampe@bertelsmann.de> - inital version
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor