rpms/python-metar/EL-5 metar-1.3.0-nobang.patch, NONE, 1.1 python-metar.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Matthias Saou (thias) fedora-extras-commits at redhat.com
Mon Apr 2 08:36:16 UTC 2007


Author: thias

Update of /cvs/extras/rpms/python-metar/EL-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv15350/EL-5

Modified Files:
	.cvsignore sources 
Added Files:
	metar-1.3.0-nobang.patch python-metar.spec 
Log Message:
Initial import.


metar-1.3.0-nobang.patch:

--- NEW FILE metar-1.3.0-nobang.patch ---
diff -Naupr metar-1.3.0.orig/metar/__init__.py metar-1.3.0/metar/__init__.py
--- metar-1.3.0.orig/metar/__init__.py	2005-11-19 17:23:01.000000000 +0100
+++ metar-1.3.0/metar/__init__.py	2007-03-27 18:52:00.000000000 +0200
@@ -1,4 +1,3 @@
-#!/usr/bin/python
 #
 #  A python package for interpreting METAR and SPECI weather reports.
 #  
diff -Naupr metar-1.3.0.orig/metar/Metar.py metar-1.3.0/metar/Metar.py
--- metar-1.3.0.orig/metar/Metar.py	2005-11-19 17:19:17.000000000 +0100
+++ metar-1.3.0/metar/Metar.py	2007-03-27 18:51:50.000000000 +0200
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
 #
 #  A python package for interpreting METAR and SPECI weather reports.
 #  


--- NEW FILE python-metar.spec ---
%define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")

Summary: Coded METAR weather reports parser for Python
Name: python-metar
Version: 1.3.0
Release: 2%{?dist}
License: MIT
Group: Development/Languages
URL: http://homepage.mac.com/wtpollard/Software/FileSharing4.html
# I don't think this source URL could get more complicated... and breaks mach
#Source: http://homepage.mac.com/WebObjects/FileSharing.woa/wa/metar-1.3.0.tar.gz.3.0.tar.gz?a=downloadFile&user=wtpollard&path=.Public/Downloads/metar-%{version}.tar.gz
Source: metar-%{version}.tar.gz
Patch0: metar-1.3.0-nobang.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: python-devel
BuildArch: noarch

%description
Python package that parses coded METAR weather reports.


%prep
%setup -q -n metar-%{version}
%patch0 -p1 -b .nobang


%build
%{__python} setup.py build


%install
%{__rm} -rf %{buildroot}
%{__python} setup.py install --skip-build --root %{buildroot}


%clean
%{__rm} -rf %{buildroot}


%files
%defattr(-,root,root,-)
%doc CHANGES README TODO
%{python_sitelib}/metar/


%changelog
* Tue Mar 27 2007 Matthias Saou <http://freshrpms.net/> 1.3.0-2
- Include nobang patch.

* Fri Feb  9 2007 Matthias Saou <http://freshrpms.net/> 1.3.0-1
- Initial RPM release.



Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/python-metar/EL-5/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	2 Apr 2007 01:01:17 -0000	1.1
+++ .cvsignore	2 Apr 2007 08:35:43 -0000	1.2
@@ -0,0 +1 @@
+metar-1.3.0.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/python-metar/EL-5/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	2 Apr 2007 01:01:17 -0000	1.1
+++ sources	2 Apr 2007 08:35:43 -0000	1.2
@@ -0,0 +1 @@
+eba1dfd6eaebafffe584aab78659eb44  metar-1.3.0.tar.gz




More information about the fedora-extras-commits mailing list