From e3c6b219bbafd43df292894942275d8909f617a8 Mon Sep 17 00:00:00 2001 From: Mateusz Korniak Date: Wed, 9 Sep 2009 10:51:37 +0000 Subject: [PATCH] - Lowered python-devel >= 1:2.5. *.egg-info is just not generated on py2.4. Changed files: python-pyPdf.spec -> 1.5 --- python-pyPdf.spec | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/python-pyPdf.spec b/python-pyPdf.spec index adae605..63a0d20 100644 --- a/python-pyPdf.spec +++ b/python-pyPdf.spec @@ -4,13 +4,13 @@ Summary: A Pure-Python library built as a PDF toolkit Summary(pl.UTF-8): Biblioteka toolkitu PDF napisana w czystym Pythonie Name: python-%{module} Version: 1.12 -Release: 1 +Release: 2 License: BSD Group: Development/Languages/Python Source0: http://pybrary.net/pyPdf/pyPdf-%{version}.tar.gz # Source0-md5: 7be5f7f4659f64fd194e9eb9a38ad425 URL: http://pybrary.net/pyPdf/ -BuildRequires: python-devel >= 1:2.5 +BuildRequires: python-devel BuildRequires: rpm-pythonprov %pyrequires_eq python BuildArch: noarch @@ -60,4 +60,6 @@ rm -rf $RPM_BUILD_ROOT %doc CHANGELOG %dir %{py_sitescriptdir}/%{module} %{py_sitescriptdir}/%{module}/*.py[co] -%{py_sitescriptdir}/*.egg-info +%if "%{py_ver}" > "2.4" +%{py_sitescriptdir}/reportlab-%{version}-py*.egg-info +%endif -- 2.44.0