[python-django14] remove that bdist-crap. not used here
Matthias Runge
mrunge at fedoraproject.org
Mon Apr 29 11:57:41 UTC 2013
commit 463c3ce3e7b7290d30a4f057f538a7bd05832fa5
Author: Matthias Runge <mrunge at redhat.com>
Date: Mon Apr 29 13:57:19 2013 +0200
remove that bdist-crap. not used here
python-django14.spec | 8 +++-----
1 files changed, 3 insertions(+), 5 deletions(-)
---
diff --git a/python-django14.spec b/python-django14.spec
index 8a41ce8..62e199c 100644
--- a/python-django14.spec
+++ b/python-django14.spec
@@ -40,7 +40,7 @@ Provides: %{pkgname} = %{version}-%{release}
# provide compatibility with python-django
Provides: python-django = %{version}-%{release}
Provides: Django = %{version}-%{release}
-Obsoletes: python-django < 1.4.5-2
+Obsoletes: python-django < 1.4.5-3
Conflicts: python-django >= 1.5
%description
@@ -96,15 +96,13 @@ cp -p %{SOURCE1} __init__.py
%build
-%{__python} setup.py bdist_egg
+%{__python} setup.py build
%install
rm -rf $RPM_BUILD_ROOT
-#%{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT
+%{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT
-mkdir -p $RPM_BUILD_ROOT%{python_sitelib}
-easy_install -m --prefix $RPM_BUILD_ROOT%{_usr} dist/*.egg
%find_lang django
%find_lang djangojs
More information about the scm-commits
mailing list