rpms/s3cmd/F-9 import.log, NONE, 1.1 s3cmd-0.9.8.1-noet.patch, NONE, 1.1 s3cmd.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Lubomir Rintel (lkundrak) fedora-extras-commits at redhat.com
Fri Jul 4 21:06:50 UTC 2008


Author: lkundrak

Update of /cvs/pkgs/rpms/s3cmd/F-9
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv15556/F-9

Modified Files:
	.cvsignore sources 
Added Files:
	import.log s3cmd-0.9.8.1-noet.patch s3cmd.spec 
Log Message:
Initial import


--- NEW FILE import.log ---
s3cmd-0_9_8_1-3_fc9:F-9:s3cmd-0.9.8.1-3.fc9.src.rpm:1215205568

s3cmd-0.9.8.1-noet.patch:

--- NEW FILE s3cmd-0.9.8.1-noet.patch ---
Comment out test for python-elementtree. We don't need it at install time
and it needlessly drags in an extra package.

Lubomir Rintel <lkundrak at v3.sk>

diff -urp s3cmd-0.9.8.1.orig/setup.py s3cmd-0.9.8.1/setup.py
--- s3cmd-0.9.8.1.orig/setup.py	2008-07-02 19:32:29.000000000 +0200
+++ s3cmd-0.9.8.1/setup.py	2008-07-02 19:31:43.000000000 +0200
@@ -9,6 +9,7 @@ if float("%d.%d" % sys.version_info[:2])
 	sys.stderr.write("S3cmd requires Python 2.4 or newer.\n")
 	sys.exit(1)
 
+"""
 try:
 	import xml.etree.ElementTree as ET
 	print "Using xml.etree.ElementTree for XML processing"
@@ -22,6 +23,7 @@ except ImportError, e:
 		sys.stderr.write("Please install ElementTree module from\n")
 		sys.stderr.write("http://effbot.org/zone/element-index.htm\n")
 		sys.exit(1)
+"""
 
 try:
 	## Remove 'MANIFEST' file to force


--- NEW FILE s3cmd.spec ---
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}

Name:           s3cmd
Version:        0.9.8.1
Release:        3%{?dist}
Summary:        Tool for accessing Amazon Simple Storage Service

Group:          Applications/Internet
License:        GPLv2
URL:            http://s3tools.logix.cz/s3cmd
Source0:        http://download.sourceforge.net/s3tools/%{name}-%{version}.tar.gz
Patch0:         s3cmd-0.9.8.1-noet.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:      noarch

BuildRequires:  python-devel
%if %{!?fedora:8}%{?fedora} < 8 || %{!?rhel:6}%{?rhel} < 6
# This is in standard library since 2.5
Requires:       python-elementtree
%endif

%description
S3cmd lets you copy files from/to Amazon S3
(Simple Storage Service) using a simple to use
command line client.


%prep
%setup -q
%patch0 -p1 -b .noet


%build


%install
rm -rf $RPM_BUILD_ROOT
S3CMD_PACKAGING=Yes python setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_mandir}/man1
install -m 644 s3cmd.1 $RPM_BUILD_ROOT%{_mandir}/man1


%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%{_bindir}/s3cmd
%{_mandir}/man1/s3cmd.1*
%{python_sitelib}/S3
%if 0%{?fedora} >= 9 || 0%{?rhel >= 6}
%{python_sitelib}/s3cmd*.egg-info
%endif
%doc NEWS README


%changelog
* Fri Jul 04 2008 Lubomir Rintel (Good Data) <lubo.rintel at gooddata.com> - 0.9.8.1-3
- Be satisfied with ET provided by 2.5 python

* Fri Jul 04 2008 Lubomir Rintel (Good Data) <lubo.rintel at gooddata.com> - 0.9.8.1-2
- Added missing python-devel BR, thanks to Marek Mahut
- Packaged the Python egg file

* Wed Jul 02 2008 Lubomir Rintel (Good Data) <lubo.rintel at gooddata.com> - 0.9.8.1-1
- Initial packaging attempt


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/s3cmd/F-9/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	4 Jul 2008 20:40:32 -0000	1.1
+++ .cvsignore	4 Jul 2008 21:06:07 -0000	1.2
@@ -0,0 +1 @@
+s3cmd-0.9.8.1.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/s3cmd/F-9/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	4 Jul 2008 20:40:32 -0000	1.1
+++ sources	4 Jul 2008 21:06:07 -0000	1.2
@@ -0,0 +1 @@
+6814b86a2640f96fc52d704ec876ec81  s3cmd-0.9.8.1.tar.gz




More information about the fedora-extras-commits mailing list