Drop rpm packaging
authorPhilippe Pepiot <philippe.pepiot@logilab.fr>
Wed, 06 Nov 2019 11:13:17 +0100
changeset 865 c8d7aa381fcb
parent 864 d30c34a04ebf
child 866 40e82ee872ce
Drop rpm packaging This packaging (if it works) only work for python2 and we're going to drop python2 support. I don't have an rpm build environment and I don't known how to test this, so just drop the spec file and let someone revive this if needed.
--- a/python-rql.spec	Wed Jun 26 09:01:30 2019 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,59 +0,0 @@
-%if 0%{?el5}
-%define python python26
-%define __python /usr/bin/python2.6
-%{!?python_scriptarch: %define python_scriptarch %(%{__python} -c "from distutils.sysconfig import get_python_lib; from os.path import join; print join(get_python_lib(1, 1), 'scripts')")}
-%define python python
-%define __python /usr/bin/python
-%define libdir %{_prefix}/lib
-%define lib64dir %{_prefix}/lib64
-Name:           %{python}-rql
-Version:        0.35.0
-Release:        logilab.1%{?dist}
-Summary:        relationship query language (RQL) utilities
-Group:          Development/Languages/Python
-License:        LGPLv2+
-URL:            http://www.logilab.org/project/rql
-Source0:        http://download.logilab.org/pub/rql/rql-%{version}.tar.gz
-BuildRoot:      %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
-BuildRequires:  %{python}-devel
-BuildRequires:  %{python}-setuptools
-BuildRequires:  gecode-devel
-Requires:       %{python}
-Requires:       %{python}-logilab-common >= 0.47.0
-Requires:       %{python}-logilab-database >= 1.6.0
-Requires:       %{python}-yapps2 >= 2.1.1
-Requires:       %{python}-logilab-constraint >= 0.5.0
-Requires:       %{python}-six >= 1.4.0
-Requires:       %{python}-setuptools
-Conflicts:      cubicweb < 3.21.99
-relationship query language (RQL) utilities
-%setup -q -n rql-%{version}
-%{__python} setup.py build
-%if 0%{?el5}
-# change the python version in shebangs
-find . -name '*.py' -type f -print0 |  xargs -0 sed -i '1,3s;^#!.*python.*$;#! /usr/bin/python2.6;'
-NO_SETUPTOOLS=1 %{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT %{?python_scriptarch: --install-scripts=%{python_scriptarch}}
-%defattr(-, root, root)