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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--- Comment #11 from Scott Tsai <scottt.tw@xxxxxxxxx> ---
(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
_______________________________________________
package-review mailing list
package-review@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/package-review



[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]