Blame SPECS/rhnlib.spec

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