[python-irclib] Revert "Bump to latest upstream (bz #813736)" because we're missing python-hgtools.

konradm konradm at fedoraproject.org
Fri Apr 20 05:10:15 UTC 2012


commit a2b66b8e820dbb9640984f6fafc9b388abbebd89
Author: Conrad Meyer <cemeyer at uw.edu>
Date:   Thu Apr 19 22:09:04 2012 -0700

    Revert "Bump to latest upstream (bz #813736)" because we're missing python-hgtools.
    
    This reverts commit a5f08b71fdacefef715510dc952a84f33674abbe.

 .gitignore         |    1 -
 python-irclib.spec |   29 +++++++++++++++--------------
 sources            |    2 +-
 3 files changed, 16 insertions(+), 16 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e155bb7..04a3b4f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,2 @@
 python-irclib-0.4.6.tar.gz
 /python-irclib-0.4.8.tar.gz
-/python-irclib-0.6.4.zip
diff --git a/python-irclib.spec b/python-irclib.spec
index a548953..11fefab 100644
--- a/python-irclib.spec
+++ b/python-irclib.spec
@@ -2,16 +2,17 @@
 %{!?pyver: %define pyver %(%{__python} -c "import sys ; print sys.version[:3]")}
 
 Name: python-irclib
-Version: 0.6.4
-Release: 1%{?dist}
+Version: 0.4.8
+Release: 3%{?dist}
 Summary: A set of Python modules for IRC support
+
 Group: Development/Libraries
 License: LGPLv2+
 URL: http://python-irclib.sourceforge.net
-Source0: http://downloads.sourceforge.net/python-irclib/python-irclib-%{version}.zip
-BuildRequires: python
-BuildRequires: python-devel
-BuildRequires: python-paver
+Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildRequires: python python-devel
 BuildArch: noarch
 
 %description
@@ -22,25 +23,25 @@ connections.
 
 %prep
 %setup -q
-rm paver-minilib.zip
-find . -type f -exec sed -i 's/\r//g' '{}' \;
+%{__sed} -i 's/\r//g' *
 
 %build
-python setup.py build
+%{__python} setup.py build
 
 %install
-python setup.py install -O1 --root $RPM_BUILD_ROOT
+rm -rf $RPM_BUILD_ROOT
+%{__python} setup.py install -O1 --root $RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(-,root,root,-)
-%doc README ChangeLog COPYING scripts
+%doc README ChangeLog COPYING irccat irccat2 servermap testbot.py dccsend dccreceive
 %{python_sitelib}/*.py*
 %{python_sitelib}/python_irclib-%{version}-py%{pyver}.egg-info/
 
 %changelog
-* Thu Apr 19 2012 Conrad Meyer <konrad at tylerc.org> - 0.6.4-1
-- Bump to latest upstream (bz #813736)
-
 * Sat Jan 14 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.4.8-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 
diff --git a/sources b/sources
index de469ad..84e16b9 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-a4db4f2d7529d8b2cddbe7f2dfb8ba8c  python-irclib-0.6.4.zip
+48cac0e12305325c0a9fddf8b1f04541  python-irclib-0.4.8.tar.gz


More information about the scm-commits mailing list