[Bug 833226] Review Request: python-pycparser - C parser and AST generator written in Python

bugzilla at redhat.com bugzilla at redhat.com
Thu Jan 17 18:37:54 UTC 2013


Product: Fedora
https://bugzilla.redhat.com/show_bug.cgi?id=833226

--- Comment #11 from Scott Tsai <scottt.tw at gmail.com> ---
(In reply to comment #10)

I've update
http://scottt.tw/fedora/python-pycparser/python-pycparser.spec
http://scottt.tw/fedora/python-pycparser/python-pycparser-2.08-1.fc18.src.rpm
with these changes:

1. Change the source tarball to upstream tag "release_v2.09.1"
Upstream is currently using a "tag releases in mercurial" but offer no files in
the download section" strategy:

+# NOTE: "hgrev" and "version" should match, e.g.
+# revision 82ace14bb612 is tagged as "release_v2.09.1" in
+# https://bitbucket.org/eliben/pycparser
+
+%global hgrev 82ace14bb612
+
 Name:           python-pycparser
-Version:        2.08
+Version:        2.09.1
 Release:        1%{?dist}
 Summary:        C parser and AST generator written in Python

 License:        BSD
-URL:            http://code.google.com/p/pycparser/
-Source0:       
http://pycparser.googlecode.com/files/pycparser-%{version}.tar.gz
+URL:            https://bitbucket.org/eliben/pycparser
+# tarball generated by bitbucket from mercurial tag:
+# https://bitbucket.org/eliben/pycparser/commits/%{hgrev}
+Source0:        eliben-pycparser-%{hgrev}.tar.bz2


2. Add BuildRequires on python2-devel:

+BuildRequires:  python2-devel


Regarding the permission of "remove-relative-sys-path", I still think the
rpmlint warning should just be ignored.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=4bjvaTdlLx&a=cc_unsubscribe



More information about the package-review mailing list