Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP2:GA
rhnlib.6621
rhnlib.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File rhnlib.spec of Package rhnlib.6621
# # spec file for package rhnlib # # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} Summary: Python libraries for the Spacewalk project License: GPL-2.0 Group: Development/Libraries Name: rhnlib Url: https://github.com/spacewalkproject/spacewalk Source0: rhnlib-git-0.5534fcd.tar.gz Version: 2.7.2.2 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build %if %{?suse_version: %{?suse_version} > 1110} %{!?suse_version:1} BuildArch: noarch %endif BuildRequires: python-devel %if 0%{?suse_version} Requires: python-openssl %else Requires: pyOpenSSL %endif Conflicts: rhncfg < 5.10.45 Conflicts: spacewalk-proxy-installer < 1.3.2 Conflicts: rhn-client-tools < 1.3.3 Conflicts: rhn-custom-info < 5.4.7 Conflicts: rhnpush < 5.5.10 Conflicts: rhnclient < 0.10 Conflicts: spacewalk-proxy < 1.3.6 %description rhnlib is a collection of python modules used by the Spacewalk software. %if 0%{?fedora} %package -n python3-rhnlib Summary: Python libraries for the Spacewalk project Group: Development/Libraries BuildRequires: python3-devel Requires: python3-pyOpenSSL Conflicts: rhncfg < 5.10.45 Conflicts: spacewalk-proxy-installer < 1.3.2 Conflicts: rhn-client-tools < 1.3.3 Conflicts: rhn-custom-info < 5.4.7 Conflicts: rhnpush < 5.5.10 Conflicts: rhnclient < 0.10 Conflicts: spacewalk-proxy < 1.3.6 %description -n python3-rhnlib rhnlib is a collection of python modules used by the Spacewalk (http://spacewalk.redhat.com) software. %endif %prep %setup -q -n rhnlib-git-0.5534fcd 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 #%{__python} setup.py build make -f Makefile.rhnlib %install rm -rf $RPM_BUILD_ROOT %{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT --prefix=%{_prefix} %if 0%{?fedora} %{__python3} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT --prefix=%{_prefix} %endif %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc ChangeLog COPYING README TODO %{python_sitelib}/* %if 0%{?fedora} %files -n python3-rhnlib %doc ChangeLog COPYING README TODO %{python3_sitelib}/* %endif %changelog
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