source: branches/fc15-dev/server/fedora/specs/python-flask.spec.patch @ 2043

Last change on this file since 2043 was 2043, checked in by andersk, 13 years ago
python-flask: stop breaking local eggs (Trac: #266) python-flask should not own /usr/lib/python2.7/site-packages/easy-install.pth. https://bugzilla.redhat.com/show_bug.cgi?id=752706
File size: 926 bytes
RevLine 
[2043]1--- python-flask.spec.orig      2011-02-26 15:09:18.000000000 -0500
2+++ python-flask.spec   2011-11-10 22:14:25.926527870 -0500
3@@ -4,7 +4,7 @@
4 
5 Name:           python-flask
6 Version:        0.6.1
7-Release:        2%{?dist}
8+Release:        2%{?dist}.scripts.%{scriptsversion}
9 Summary:        A micro-framework for Python based on Werkzeug, Jinja 2 and good intentions
10 
11 Group:          Development/Libraries
12@@ -59,6 +59,7 @@
13 
14 rm -rf $RPM_BUILD_ROOT%{python_sitelib}/site.py
15 rm -rf $RPM_BUILD_ROOT%{python_sitelib}/site.py[co]
16+rm -rf $RPM_BUILD_ROOT%{python_sitelib}/easy-install.pth
17 rm -rf docs/_build/html/.buildinfo
18 rm -rf examples/minitwit/*.pyc
19 rm -rf examples/flaskr/*.pyc
20@@ -73,7 +74,9 @@
21 %files
22 %defattr(-,root,root,-)
23 %doc AUTHORS LICENSE PKG-INFO CHANGES README
24-%{python_sitelib}/*
25+%{python_sitelib}/*.egg-info
26+%{python_sitelib}/*.egg-link
27+%{python_sitelib}/flask
28 
29 %files doc
30 %defattr(-,root,root,-)
Note: See TracBrowser for help on using the repository browser.