Fedora has QA checks on the rpms, such that files that have shebang lines
should be executable. I had two choices: make the .py files executable
in the packaging; or remove the shebang lines. Since these modules
don't seem to be intended to be run on the command-line, I decided to remove
the shebang lines.
diff -pur planet-2.0.orig/planet/cache.py planet-2.0/planet/cache.py
--- planet-2.0.orig/planet/cache.py 2006-07-27 00:53:35.000000000 +0100
+++ planet-2.0/planet/cache.py 2008-10-11 08:55:04.000000000 +0100
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# -*- coding: UTF-8 -*-
"""Item cache.
diff -pur planet-2.0.orig/planet/feedparser.py planet-2.0/planet/feedparser.py
--- planet-2.0.orig/planet/feedparser.py 2006-07-27 00:53:35.000000000 +0100
+++ planet-2.0/planet/feedparser.py 2008-10-11 08:55:04.000000000 +0100
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
"""Universal feed parser
Handles RSS 0.9x, RSS 1.0, RSS 2.0, CDF, Atom 0.3, and Atom 1.0 feeds
Only in planet-2.0/planet: feedparser.py.orig
diff -pur planet-2.0.orig/planet/__init__.py planet-2.0/planet/__init__.py
--- planet-2.0.orig/planet/__init__.py 2006-07-27 00:53:35.000000000 +0100
+++ planet-2.0/planet/__init__.py 2008-10-11 08:55:04.000000000 +0100
@@ -1,4 +1,3 @@
-#!/usr/bin/env python
# -*- coding: UTF-8 -*-
"""Planet aggregator library.