Projects
Eulaceura:Mainline
rhnlib
_service:obs_scm:rhnlib.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:rhnlib.spec of Package rhnlib
%global debug_package %{nil} %global build_py3 1 %{!?python3_sitelib: %define python3_sitelib %(%{__python3} -c "from distutils.sysconfig import get_python3_lib; print get_python3_lib()")} Name: rhnlib Version: 2.8.11 Release: 4 Summary: Python libraries for the Spacewalk project URL: https://github.com/spacewalkproject/spacewalk Source0: https://github.com/spacewalkproject/spacewalk/archive/%{name}-%{version}.tar.gz Patch0: enable_python3.patch License: GPLv2 %description rhnlib is a collection of python3 modules used by the Spacewalk (http://spacewalk.redhat.com) software. %if 0%{?build_py3} %package -n python3-rhnlib Summary: Python libraries for the Spacewalk project BuildRequires: python3-devel Requires: python3-pyOpenSSL %{?python3_provide:%python3_provide python3-rhnlib} Conflicts: rhncfg < 5.10.45 spacewalk-proxy-installer < 1.3.2 rhn-client-tools < 1.3.3 Conflicts: rhn-custom-info < 5.4.7 rhnpush < 5.5.10 rhnclient < 0.10 spacewalk-proxy < 1.3.6 %description -n python3-rhnlib rhnlib is a collection of python3 modules used by the Spacewalk (http://spacewalk.redhat.com) software. %endif %prep %autosetup %{name}-%{version} if [ ! -e setup.py ]; then sed -e 's/@VERSION@/%{version}/' -e 's/@NAME@/%{name}/' setup.py.in > setup.py fi if [ ! -e setup.cfg ]; then sed 's/@RELEASE@/%{release}/' setup.cfg.in > setup.cfg fi %build make -f Makefile.rhnlib %install %{__python3} setup.py install -O1 --skip-build --root %{buildroot} --prefix=%{_prefix} %files -n python3-rhnlib %doc ChangeLog COPYING README TODO %{python3_sitelib}/* %changelog * Wed Oct 28 2020 Anan Fu <fuanan3@huawei.com> - 2.8.11-4 - disable python2 * Fri Nov 22 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.8.11-3 - Package init
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2