rpms/python-cvstoys/devel python-cvstoys-no-shebang.patch, NONE, 1.1 python-cvstoys.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Michael J Knox (mjk) fedora-extras-commits at redhat.com
Thu Jul 6 19:35:29 UTC 2006


Author: mjk

Update of /cvs/extras/rpms/python-cvstoys/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv7674/devel

Modified Files:
	.cvsignore sources 
Added Files:
	python-cvstoys-no-shebang.patch python-cvstoys.spec 
Log Message:
auto-import python-cvstoys-1.0.10-3 on branch devel from python-cvstoys-1.0.10-3.src.rpm
initial cvstoys import

python-cvstoys-no-shebang.patch:

--- NEW FILE python-cvstoys-no-shebang.patch ---
--- CVSToys-1.0.10/cvstoys/setup.py	2003-04-02 15:59:01.000000000 +1200
+++ CVSToys-1.0.10/cvstoys/setup.py.mjk	2006-07-05 19:32:29.000000000 +1200
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
 # $Id: setup.py,v 1.13 2003/04/02 03:59:01 acapnotic Exp $
 
 from __future__ import nested_scopes
--- CVSToys-1.0.10/cvstoys/loginfo.py	2003-09-08 09:33:34.000000000 +1200
+++ CVSToys-1.0.10/cvstoys/loginfo.py.mjk	2006-07-05 19:32:57.000000000 +1200
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
 #$Id: loginfo.py,v 1.12 2003/09/07 21:33:34 acapnotic Exp $
 
 """CVS uses me to notify the daemon of changes.
--- CVSToys-1.0.10/cvstoys/clients/words.py	2004-03-05 19:30:27.000000000 +1300
+++ CVSToys-1.0.10/cvstoys/clients/words.py.mjk	2006-07-05 19:33:36.000000000 +1200
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
 #$Id: words.py,v 1.25 2004/03/05 06:30:27 acapnotic Exp $
 
 """Deliver notifications through a chat server, such as Words or IRC.


--- NEW FILE python-cvstoys.spec ---
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%{?!pybasever:%{expand:%%define pybasever %(%{__python} -c "import sys ; print sys.version[:3]")}}

Name:           python-cvstoys
Version:        1.0.10
Release:        3%{?dist}
Summary:        Collection of python tools for CVS

Group:          Development/Tools
License:        BSD
URL:            http://purl.net/net/CVSToys
Source0:        http://www.twistedmatrix.com/users/acapnotic/wares/code/CVSToys/CVSToys-%{version}.tar.bz2
Patch0:		%{name}-no-shebang.patch

BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:	python-setuptools
Requires:       python-abi = %{pybasever}, python-twisted

BuildArch:	noarch

%description
CVSToys is a collection of companion tools for the Concurrent Versions System,
better known as CVS.  The biggest best and only toy we've got is Fresh CVS,
a commit monitoring daemon which can keep a mirror of the repository or
checked-out working copy up to date, and send out notifications by e-mail, on
the web as HTML or RSS, or to a chat service such as IRC.

%prep
%setup -q -n CVSToys-%{version}
%patch0 -p1

%build
python setup.py build

%install
rm -rf %{buildroot}

python setup.py install -O1 --skip-build --root %{buildroot}

%clean
rm -rf %{buildroot}

%files 
%defattr(-,root,root,-)
%doc ChangeLog NEWS README
%{_bindir}/*
%dir %{python_sitelib}/cvstoys
%{python_sitelib}/cvstoys/*.py
%{python_sitelib}/cvstoys/*.pyc
%{python_sitelib}/cvstoys/actions/*.py
%{python_sitelib}/cvstoys/actions/*.pyc
%{python_sitelib}/cvstoys/clients/*.py
%{python_sitelib}/cvstoys/clients/*.pyc
%{python_sitelib}/cvstoys/clients/recent_template.html
%{python_sitelib}/cvstoys/plugins.tml
%ghost %{python_sitelib}/cvstoys/*.pyo
%ghost %{python_sitelib}/cvstoys/actions/*.pyo
%ghost %{python_sitelib}/cvstoys/clients/*.pyo


%changelog
* Wed Jul 05 2006 Michael J. Knox <michael[AT]knox.net.nz> - 1.0.10-3
- remove #! where its not needed. 

* Tue Jul 04 2006 Michael J. Knox <michael[AT]knox.net.nz> - 1.0.10-2
- dont set CFLAGs.. noarch, changed package group

* Sun Jul 02 2006 Michael J. Knox <michael[AT]knox.net.nz> - 1.0.10-1
- Inital build for FE



Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/python-cvstoys/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	6 Jul 2006 19:34:42 -0000	1.1
+++ .cvsignore	6 Jul 2006 19:35:29 -0000	1.2
@@ -0,0 +1 @@
+CVSToys-1.0.10.tar.bz2


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/python-cvstoys/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	6 Jul 2006 19:34:43 -0000	1.1
+++ sources	6 Jul 2006 19:35:29 -0000	1.2
@@ -0,0 +1 @@
+db4056f0c3fdd9f2d3fd2ab0e247b9d2  CVSToys-1.0.10.tar.bz2




More information about the scm-commits mailing list