[python-confparser/f15] fixing invalid build?

Douglas Schilling Landgraf dougsland at fedoraproject.org
Sat Jul 30 03:13:39 UTC 2011


commit fca44b07203a90bc71cd95df98459cc967285fb8
Author: Douglas Schilling Landgraf <dougsland at redhat.com>
Date:   Sat Jul 30 00:37:05 2011 -0300

    fixing invalid build?

 python-confparser.spec |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/python-confparser.spec b/python-confparser.spec
index b9acd07..fa39422 100644
--- a/python-confparser.spec
+++ b/python-confparser.spec
@@ -12,11 +12,7 @@ Source0:        https://github.com/dougsland/python-confparser/raw/master/%{name
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 
-%if (0%{?fedora} > 12 || 0%{?rhel} > 5)
 BuildRequires: python-devel, python-setuptools-devel
-%else
-BuildRequires: python-devel, python-setuptools
-%endif
 
 %description
 Parser for *nix config files
@@ -39,9 +35,7 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(-,root,root,-)
 %doc README COPYING
 %{python_sitelib}/confparser.py*
-%if (0%{?fedora} > 12 || 0%{?rhel} > 5)
 %{python_sitelib}/*.egg-info
-%endif
 
 %changelog
 * Wed Jul 29 2011 Douglas Schilling Landgraf <dougsland at redhat.com> 1.0.0-4


More information about the scm-commits mailing list