From c8a10ad7b5fcde625d72bc1d254af6a9e3394b9c Mon Sep 17 00:00:00 2001 From: richdawe Date: Sep 14 2006 20:57:41 +0000 Subject: .pyo files should no longer be %ghost'ed (bug #205393); updated to follow latest Python packaging guidelines. --- diff --git a/planet.spec b/planet.spec index 7cc104c..59ef7d6 100644 --- a/planet.spec +++ b/planet.spec @@ -5,7 +5,7 @@ Name: planet Version: 1.0 -Release: 0.6.20060218pre +Release: 0.7.20060218pre Summary: Flexible RDF/RSS/Atom feed aggregator Group: Applications/Internet @@ -42,7 +42,7 @@ CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build %install rm -rf $RPM_BUILD_ROOT -%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT +%{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT # Remove .py from install scripts, e.g. planet.py -> planet. REGEXP='s:%{_bindir}/\(.*\).py:%{_bindir}/\1:' @@ -61,16 +61,16 @@ rm -rf $RPM_BUILD_ROOT %doc AUTHORS INSTALL LICENCE NEWS THANKS README examples %{_bindir}/* %dir %{python_sitelib}/planet -%{python_sitelib}/planet/*.py -%{python_sitelib}/planet/*.pyc -%ghost %{python_sitelib}/planet/*.pyo +%{python_sitelib}/planet/*.py* %dir %{python_sitelib}/planet/compat_logging -%{python_sitelib}/planet/compat_logging/*.py -%{python_sitelib}/planet/compat_logging/*.pyc -%ghost %{python_sitelib}/planet/compat_logging/*.pyo +%{python_sitelib}/planet/compat_logging/*.py* %changelog +* Thu Sep 14 2006 Richard Dawe - 1.0-0.7.20060218pre +- .pyo files should no longer be %ghost'ed (bug #205393) +- Updated to follow latest Python packaging guidelines. + * Fri Mar 03 2006 Richard Dawe - 1.0-0.6.20060218pre - Rebuild for FC-5.