[python-flask/f15] Don't own %{python_sitelib}/easy-install.pth

Daniel M. Young dyoung at fedoraproject.org
Thu Nov 17 00:18:25 UTC 2011


commit d7e458c847ce900fde87ed95810be4d575e09884
Author: Dan Young <dyoung at mesd.k12.or.us>
Date:   Wed Nov 16 16:17:59 2011 -0800

    Don't own %{python_sitelib}/easy-install.pth

 python-flask.spec |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/python-flask.spec b/python-flask.spec
index 6675ae0..e282707 100644
--- a/python-flask.spec
+++ b/python-flask.spec
@@ -4,7 +4,7 @@
 
 Name:           python-flask
 Version:        0.6.1
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        A micro-framework for Python based on Werkzeug, Jinja 2 and good intentions
 
 Group:          Development/Libraries
@@ -59,6 +59,7 @@ make -C docs html
 
 rm -rf $RPM_BUILD_ROOT%{python_sitelib}/site.py
 rm -rf $RPM_BUILD_ROOT%{python_sitelib}/site.py[co]
+rm -rf $RPM_BUILD_ROOT%{python_sitelib}/easy-install.pth
 rm -rf docs/_build/html/.buildinfo
 rm -rf examples/minitwit/*.pyc
 rm -rf examples/flaskr/*.pyc
@@ -73,13 +74,18 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(-,root,root,-)
 %doc AUTHORS LICENSE PKG-INFO CHANGES README
-%{python_sitelib}/*
+%{python_sitelib}/*.egg-info
+%{python_sitelib}/*.egg-link
+%{python_sitelib}/flask
 
 %files doc
 %defattr(-,root,root,-)
 %doc docs/_build/html examples
 
 %changelog
+* Wed Nov 16 2011 Dan Young <dyoung at mesd.k12.or.us> - 0.6.1-3
+- don't own easy-install.pth
+
 * Thu Feb 24 2011 Dan Young <dyoung at mesd.k12.or.us> - 0.6.1-2
 - fix rpmlint spelling warning
 - BR python2-devel rather than python-devel


More information about the scm-commits mailing list