|
|
48e10a |
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
|
|
48e10a |
|
|
|
48e10a |
Summary: Python libraries for the Spacewalk project
|
|
|
48e10a |
Name: rhnlib
|
|
|
48e10a |
URL: https://github.com/spacewalkproject/spacewalk
|
|
|
48e10a |
Source0: https://github.com/spacewalkproject/spacewalk/archive/%{name}-%{version}.tar.gz
|
|
|
48e10a |
Patch0: rhnlib-2.5.65-1-to-rhnlib-2.5.65-2-el7.patch
|
|
|
48e10a |
Patch1: rhnlib-2.5.65-2-el7-to-rhnlib-2.5.65-3-el7.patch
|
|
|
48e10a |
Patch2: rhnlib-2.5.65-3-el7-to-rhnlib-2.5.65-4-el7.patch
|
|
|
48e10a |
Patch3: rhnlib-2.5.65-4-el7-to-rhnlib-2.5.65-5-el7.patch
|
|
|
48e10a |
Patch4: rhnlib-2.5.65-5-el7-to-rhnlib-2.5.65-6-el7.patch
|
|
|
48e10a |
Patch5: rhnlib-2.5.65-6-el7-to-rhnlib-2.5.65-7-el7.patch
|
|
|
48e10a |
Patch6: rhnlib-2.5.65-7-el7-to-rhnlib-2.5.65-8-el7.patch
|
|
|
48e10a |
Version: 2.5.65
|
|
|
48e10a |
Release: 8%{?dist}
|
|
|
48e10a |
|
|
|
48e10a |
Group: Development/Libraries
|
|
|
48e10a |
License: GPLv2
|
|
|
48e10a |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
48e10a |
|
|
|
48e10a |
%if %{?suse_version: %{suse_version} > 1110} %{!?suse_version:1}
|
|
|
48e10a |
BuildArch: noarch
|
|
|
48e10a |
%endif
|
|
|
48e10a |
BuildRequires: python-devel
|
|
|
48e10a |
|
|
|
48e10a |
Requires: pyOpenSSL
|
|
|
48e10a |
Conflicts: rhncfg < 5.10.45
|
|
|
48e10a |
Conflicts: spacewalk-proxy-installer < 1.3.2
|
|
|
48e10a |
Conflicts: rhn-client-tools < 1.3.3
|
|
|
48e10a |
Conflicts: rhn-custom-info < 5.4.7
|
|
|
48e10a |
Conflicts: rhnpush < 5.5.10
|
|
|
48e10a |
Conflicts: rhnclient < 0.10
|
|
|
48e10a |
Conflicts: spacewalk-proxy < 1.3.6
|
|
|
48e10a |
|
|
|
48e10a |
%description
|
|
|
48e10a |
rhnlib is a collection of python modules used by the Spacewalk (http://spacewalk.redhat.com) software.
|
|
|
48e10a |
|
|
|
48e10a |
|
|
|
48e10a |
%prep
|
|
|
48e10a |
%setup -q
|
|
|
48e10a |
%patch0 -p1
|
|
|
48e10a |
%patch1 -p1
|
|
|
48e10a |
%patch2 -p1
|
|
|
48e10a |
%patch3 -p1
|
|
|
48e10a |
%patch4 -p1
|
|
|
48e10a |
%patch5 -p1
|
|
|
48e10a |
%patch6 -p1
|
|
|
48e10a |
if [ ! -e setup.py ]; then
|
|
|
48e10a |
sed -e 's/@VERSION@/%{version}/' -e 's/@NAME@/%{name}/' setup.py.in > setup.py
|
|
|
48e10a |
fi
|
|
|
48e10a |
if [ ! -e setup.cfg ]; then
|
|
|
48e10a |
sed 's/@RELEASE@/%{release}/' setup.cfg.in > setup.cfg
|
|
|
48e10a |
fi
|
|
|
48e10a |
|
|
|
48e10a |
|
|
|
48e10a |
%build
|
|
|
48e10a |
#%{__python} setup.py build
|
|
|
48e10a |
make -f Makefile.rhnlib
|
|
|
48e10a |
|
|
|
48e10a |
|
|
|
48e10a |
%install
|
|
|
48e10a |
rm -rf $RPM_BUILD_ROOT
|
|
|
48e10a |
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT --prefix=%{_prefix}
|
|
|
48e10a |
|
|
|
48e10a |
|
|
|
48e10a |
%clean
|
|
|
48e10a |
rm -rf $RPM_BUILD_ROOT
|
|
|
48e10a |
|
|
|
48e10a |
|
|
|
48e10a |
%files
|
|
|
48e10a |
%doc ChangeLog COPYING README TODO
|
|
|
48e10a |
|
|
|
48e10a |
%{python_sitelib}/*
|
|
|
48e10a |
|
|
|
48e10a |
%changelog
|
|
|
48e10a |
* Fri Jul 27 2018 Tomas Kasparek <tkasparek@redhat.com> 2.5.65-8
|
|
|
48e10a |
- Resolves: #1608425 - forbid old SSL versions during negotiation
|
|
|
48e10a |
(tkasparek@redhat.com)
|
|
|
48e10a |
|
|
|
48e10a |
* Thu Oct 19 2017 Tomas Kasparek <tkasparek@redhat.com> 2.5.65-7
|
|
|
48e10a |
- Resolves: #1503953 - upstream project has migrated to github
|
|
|
48e10a |
(tkasparek@redhat.com)
|
|
|
48e10a |
|
|
|
48e10a |
* Mon Oct 09 2017 Tomas Kasparek <tkasparek@redhat.com> 2.5.65-6
|
|
|
48e10a |
- Resolves: #1499794 - revert previous reboot loop changes
|
|
|
48e10a |
(tkasparek@redhat.com)
|
|
|
48e10a |
|
|
|
48e10a |
* Thu Sep 21 2017 Tomas Kasparek <tkasparek@redhat.com> 2.5.65-5
|
|
|
48e10a |
- Resolves: #1471045 - check a state of handshake before shutdown SSL
|
|
|
48e10a |
connection (grinrag@gmail.com)
|
|
|
48e10a |
|
|
|
48e10a |
* Mon Mar 06 2017 Gennadii Altukhov <galt@redhat.com> 2.5.65-4
|
|
|
48e10a |
- Resolves: #1409577 - fixed BZ ID in changelog (galt@redhat.com)
|
|
|
48e10a |
|
|
|
48e10a |
* Mon Mar 06 2017 Gennadii Altukhov <galt@redhat.com> 2.5.65-3
|
|
|
48e10a |
- 1409577 - bump release verion
|
|
|
48e10a |
|
|
|
48e10a |
* Mon Mar 06 2017 Gennadii Altukhov <galt@redhat.com> 2.5.65-2
|
|
|
48e10a |
- fix except in rhnlib to make it compatible with Python 2.4 (galt@redhat.com)
|
|
|
48e10a |
- 1409577 - Reboot loop - rhn_check, rhnsd (jdostal@redhat.com)
|
|
|
48e10a |
|
|
|
48e10a |
* Wed Jul 17 2013 Tomas Kasparek <tkasparek@redhat.com> 2.5.65-1
|
|
|
48e10a |
- updating copyright years
|
|
|
48e10a |
|
|
|
48e10a |
* Wed Jun 19 2013 Stephen Herr <sherr@redhat.com> 2.5.64-1
|
|
|
48e10a |
- 947639 - rhnlib timeout fixes
|
|
|
48e10a |
|
|
|
48e10a |
* Mon Jun 17 2013 Michael Mraka <michael.mraka@redhat.com> 2.5.63-1
|
|
|
48e10a |
- removed old CVS/SVN version ids
|
|
|
48e10a |
- more branding cleanup
|
|
|
48e10a |
|
|
|
48e10a |
* Mon Jun 17 2013 Tomas Kasparek <tkasparek@redhat.com> 2.5.62-1
|
|
|
48e10a |
- rebranding few more strings in client stuff
|
|
|
48e10a |
|
|
|
48e10a |
* Wed Jun 12 2013 Tomas Kasparek <tkasparek@redhat.com> 2.5.61-1
|
|
|
48e10a |
- Revert "947639 - new rhnlib conflicts with old spacewalk-backend"
|
|
|
48e10a |
|
|
|
48e10a |
* Tue May 21 2013 Tomas Kasparek <tkasparek@redhat.com> 2.5.60-1
|
|
|
48e10a |
- branding clean-up of rhel client stuff
|
|
|
48e10a |
|
|
|
48e10a |
* Thu May 02 2013 Stephen Herr <sherr@redhat.com> 2.5.59-1
|
|
|
48e10a |
- 947639 - new rhnlib conflicts with old spacewalk-backend
|
|
|
48e10a |
|
|
|
48e10a |
* Tue Apr 09 2013 Stephen Herr <sherr@redhat.com> 2.5.58-1
|
|
|
48e10a |
- 947639 - rhnlib update made necessary by error in rhncfg
|
|
|
48e10a |
|
|
|
48e10a |
* Wed Apr 03 2013 Stephen Herr <sherr@redhat.com> 2.5.57-1
|
|
|
48e10a |
- 947639 - Make timeout of yum-rhn-plugin calls through rhn-client-tools
|
|
|
48e10a |
configurable
|
|
|
48e10a |
|
|
|
48e10a |
* Tue Apr 02 2013 Stephen Herr <sherr@redhat.com> 2.5.56-1
|
|
|
48e10a |
- 947639 - make Proxy timeouts configurable
|
|
|
48e10a |
- Purging %%changelog entries preceding Spacewalk 1.0, in active packages.
|
|
|
48e10a |
|
|
|
48e10a |
* Tue Oct 30 2012 Jan Pazdziora 2.5.55-1
|
|
|
48e10a |
- Update the copyright year.
|
|
|
48e10a |
|
|
|
48e10a |
* Mon Oct 22 2012 Jan Pazdziora 2.5.54-1
|
|
|
48e10a |
- Revert "Revert "Revert "get_server_capability() is defined twice in osad and
|
|
|
48e10a |
rhncfg, merge and move to rhnlib and make it member of rpclib.Server"""
|
|
|
48e10a |
|
|
|
48e10a |
* Thu Jun 21 2012 Jan Pazdziora 2.5.53-1
|
|
|
48e10a |
- allow linking against openssl
|
|
|
48e10a |
- %%defattr is not needed since rpm 4.4
|
|
|
48e10a |
|
|
|
48e10a |
* Thu Mar 29 2012 Jan Pazdziora 2.5.52-1
|
|
|
48e10a |
- 807679 - replace $Revision$ with rhnlib version-release.
|
|
|
48e10a |
|
|
|
48e10a |
* Fri Jan 27 2012 Jan Pazdziora 2.5.51-1
|
|
|
48e10a |
- Revert "make split_host IPv6 compliant" (msuchy@redhat.com)
|
|
|
48e10a |
|
|
|
48e10a |
* Wed Jan 11 2012 Miroslav Suchý 2.5.50-1
|
|
|
48e10a |
- make split_host IPv6 compliant
|
|
|
48e10a |
|
|
|
48e10a |
* Wed Dec 21 2011 Milan Zazrivec <mzazrivec@redhat.com> 2.5.49-1
|
|
|
48e10a |
- update copyright info
|
|
|
48e10a |
|
|
|
48e10a |
* Wed Nov 02 2011 Martin Minar <mminar@redhat.com> 2.5.48-1
|
|
|
48e10a |
- Change PASS percentage after few attempts and print percentage in case of
|
|
|
48e10a |
failure (jhutar@redhat.com)
|
|
|
48e10a |
|
|
|
48e10a |
* Fri Oct 28 2011 Jan Pazdziora 2.5.47-1
|
|
|
48e10a |
- Do not rely on exact amount of memomory when determinig PASS/FAIL
|
|
|
48e10a |
(jhutar@redhat.com)
|
|
|
48e10a |
|
|
|
48e10a |
* Mon Oct 24 2011 Martin Minar <mminar@redhat.com> 2.5.46-1
|
|
|
48e10a |
- simplify code (msuchy@redhat.com)
|
|
|
48e10a |
- move imports to beginning of file (msuchy@redhat.com)
|
|
|
48e10a |
|
|
|
48e10a |
* Wed Aug 17 2011 Martin Minar <mminar@redhat.com> 2.5.45-1
|
|
|
48e10a |
- 730744 - support IPv6 connections (mzazrivec@redhat.com)
|
|
|
48e10a |
|
|
|
48e10a |
* Thu Aug 11 2011 Miroslav Suchý 2.5.44-1
|
|
|
48e10a |
- do not mask original error by raise in execption
|
|
|
48e10a |
|
|
|
48e10a |
* Tue Aug 09 2011 Martin Minar <mminar@redhat.com> 2.5.43-1
|
|
|
48e10a |
- 688095 - set timeout for HTTP connections (mzazrivec@redhat.com)
|
|
|
48e10a |
|
|
|
48e10a |
* Wed Jul 27 2011 Michael Mraka <michael.mraka@redhat.com> 2.5.42-1
|
|
|
48e10a |
- import xmlrpclib directly
|
|
|
48e10a |
- removed unnecessary implicit imports
|
|
|
48e10a |
|
|
|
48e10a |
* Fri May 20 2011 Michael Mraka <michael.mraka@redhat.com> 2.5.41-1
|
|
|
48e10a |
- merged backend/common/UserDictCase.py into rhnlib/rhn/UserDictCase.py
|
|
|
48e10a |
|
|
|
48e10a |
* Wed Apr 13 2011 Jan Pazdziora 2.5.40-1
|
|
|
48e10a |
- 683200 - simplify idn_pune_to_unicode and idn_ascii_to_pune
|
|
|
48e10a |
(msuchy@redhat.com)
|
|
|
48e10a |
|
|
|
48e10a |
* Fri Apr 08 2011 Miroslav Suchý 2.5.39-1
|
|
|
48e10a |
- idn_ascii_to_pune() have to return string (msuchy@redhat.com)
|
|
|
48e10a |
- Revert "idn_unicode_to_pune() have to return string" (msuchy@redhat.com)
|
|
|
48e10a |
- update copyright years (msuchy@redhat.com)
|
|
|
48e10a |
|
|
|
48e10a |
* Tue Apr 05 2011 Michael Mraka <michael.mraka@redhat.com> 2.5.38-1
|
|
|
48e10a |
- idn_unicode_to_pune() has to return string
|
|
|
48e10a |
|
|
|
48e10a |
* Wed Mar 30 2011 Jan Pazdziora 2.5.37-1
|
|
|
48e10a |
- string does not exist, str is the correct thing to use here...
|
|
|
48e10a |
(jsherril@redhat.com)
|
|
|
48e10a |
|
|
|
48e10a |
* Wed Mar 16 2011 Miroslav Suchý <msuchy@redhat.com> 2.5.36-1
|
|
|
48e10a |
- code cleanup - remove HTTPResponse.read() override
|
|
|
48e10a |
|
|
|
48e10a |
* Fri Mar 11 2011 Miroslav Suchý <msuchy@redhat.com> 2.5.35-1
|
|
|
48e10a |
- 683200 - create idn_ascii_to_pune() and idn_pune_to_unicode(), which will
|
|
|
48e10a |
take care about corner cases of encodings.idna
|
|
|
48e10a |
|
|
|
48e10a |
* Wed Feb 16 2011 Miroslav Suchý <msuchy@redhat.com> 2.5.34-1
|
|
|
48e10a |
- Revert "Revert "get_server_capability() is defined twice in osad and rhncfg,
|
|
|
48e10a |
merge and move to rhnlib and make it member of rpclib.Server""
|
|
|
48e10a |
(msuchy@redhat.com)
|
|
|
48e10a |
|
|
|
48e10a |
* Tue Feb 01 2011 Tomas Lestach <tlestach@redhat.com> 2.5.33-1
|
|
|
48e10a |
- Revert "get_server_capability() is defined twice in osad and rhncfg, merge
|
|
|
48e10a |
and move to rhnlib and make it member of rpclib.Server" (tlestach@redhat.com)
|
|
|
48e10a |
|
|
|
48e10a |
* Fri Jan 28 2011 Miroslav Suchý <msuchy@redhat.com> 2.5.32-1
|
|
|
48e10a |
- get_server_capability() is defined twice in osad and rhncfg, merge and move
|
|
|
48e10a |
to rhnlib and make it member of rpclib.Server
|
|
|
48e10a |
- Updating the copyright years to include 2010.
|
|
|
48e10a |
|
|
|
48e10a |
* Mon Dec 20 2010 Michael Mraka <michael.mraka@redhat.com> 2.5.31-1
|
|
|
48e10a |
- put crypto back
|
|
|
48e10a |
|
|
|
48e10a |
* Mon Dec 20 2010 Miroslav Suchý <msuchy@redhat.com> 2.5.30-1
|
|
|
48e10a |
- conflitcs with older versions
|
|
|
48e10a |
|
|
|
48e10a |
* Wed Nov 24 2010 Michael Mraka <michael.mraka@redhat.com> 2.5.29-1
|
|
|
48e10a |
- removed unused imports
|
|
|
48e10a |
|
|
|
48e10a |
* Tue Nov 02 2010 Jan Pazdziora 2.5.28-1
|
|
|
48e10a |
- Update copyright years in the rest of the repo.
|
|
|
48e10a |
|
|
|
48e10a |
* Mon Sep 20 2010 Miroslav Suchý <msuchy@redhat.com> 2.5.27-1
|
|
|
48e10a |
- add copyright file - this is required by Debian policy
|
|
|
48e10a |
- update GPLv2 license file
|
|
|
48e10a |
- 618267 - simplify regexp
|
|
|
48e10a |
|
|
|
48e10a |
* Thu Aug 05 2010 Milan Zazrivec <mzazrivec@redhat.com> 2.5.26-1
|
|
|
48e10a |
- 618267 - do not allow control characters in xmlrpc communication
|
|
|
48e10a |
|
|
|
48e10a |
* Thu Jul 01 2010 Miroslav Suchý <msuchy@redhat.com> 2.5.25-1
|
|
|
48e10a |
- 595837 - write nice error in case of "connection reset by peer" and xmlrpc
|
|
|
48e10a |
protocol error (msuchy@redhat.com)
|
|
|
48e10a |
- 583980 - replace fcntl.O_NDELAY with os.O_NDELAY, for newer Pythons.
|
|
|
48e10a |
(jpazdziora@redhat.com)
|
|
|
48e10a |
- 583020 - need to initialize self.send_handler for the class Server as well.
|
|
|
48e10a |
(jpazdziora@redhat.com)
|
|
|
48e10a |
- Removing server from cmd-line (slukasik@redhat.com)
|
|
|
48e10a |
- Adding port number to command line args (slukasik@redhat.com)
|
|
|
48e10a |
- Adding shebang (slukasik@redhat.com)
|
|
|
48e10a |
- Fixing return value (slukasik@redhat.com)
|
|
|
48e10a |
- Fixing typo. (slukasik@redhat.com)
|
|
|
48e10a |
|
|
|
48e10a |
* Mon Apr 19 2010 Michael Mraka <michael.mraka@redhat.com> 2.5.24-1
|
|
|
48e10a |
- Cleaning up, preparing for automatization
|
|
|
48e10a |
- 575259 - properly set protocol type
|
|
|
48e10a |
|