From c174ca580ed6e972437e582b094a26e3262bd650 Mon Sep 17 00:00:00 2001 From: Konstantin Ryabitsev Date: Mar 29 2006 04:03:12 +0000 Subject: Fixes for egg handling. --- diff --git a/python-kid.spec b/python-kid.spec index a25b0e3..ee39534 100644 --- a/python-kid.spec +++ b/python-kid.spec @@ -2,7 +2,7 @@ Name: python-kid Version: 0.9 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Kid - A simple and pythonic XML template language Group: Applications/Publishing @@ -14,7 +14,7 @@ BuildArch: noarch BuildRequires: python-setuptools BuildRequires: python-elementtree -Requires: python-elementtree +Requires: python-elementtree, python-setuptools %description @@ -36,7 +36,8 @@ rm -rf $RPM_BUILD_ROOT %{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT \ --single-version-externally-managed rm -rf $RPM_BUILD_ROOT%{python_sitelib}/kid/test - +# Do not rely on egg requires -- we'll do a better job +rm -f $RPM_BUILD_ROOT%{python_sitelib}/kid*egg-info/requires.txt %clean rm -rf $RPM_BUILD_ROOT @@ -54,6 +55,10 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Tue Mar 28 2006 Konstantin Ryabitsev - 0.9-2 +- Require python-setuptools +- Do not rely on python egg requires.txt (#186296) + * Mon Feb 27 2006 Konstantin Ryabitsev - 0.9-1 - Version 0.9 - Switch to using setuptools.