rpms/geos/devel geos.spec,1.12,1.13
Balint Cristian (rezso)
fedora-extras-commits at redhat.com
Sat May 31 15:44:32 UTC 2008
Author: rezso
Update of /cvs/pkgs/rpms/geos/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv31448/devel
Modified Files:
geos.spec
Log Message:
- enable RHEL4 RHEL5 triages too in spec file.
----------------------------------------------------------------------
Modified Files:
devel/geos.spec
----------------------------------------------------------------------
Index: geos.spec
===================================================================
RCS file: /cvs/pkgs/rpms/geos/devel/geos.spec,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- geos.spec 23 Apr 2008 14:09:39 -0000 1.12
+++ geos.spec 31 May 2008 15:43:44 -0000 1.13
@@ -1,6 +1,6 @@
Name: geos
Version: 3.0.0
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: GEOS is a C++ port of the Java Topology Suite
Group: Applications/Engineering
@@ -9,8 +9,11 @@
Source0: http://geos.refractions.net/%{name}-%{version}.tar.bz2
Patch0: geos-gcc43.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildRequires: doxygen swig ruby libtool
+BuildRequires: doxygen libtool
+%if "%{?dist}" != ".el4"
+BuildRequires: swig ruby
BuildRequires: python-devel ruby-devel
+%endif
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
%{!?ruby_sitearch: %define ruby_sitearch %(ruby -rrbconfig -e 'puts Config::CONFIG["sitearchdir"]')}
@@ -37,6 +40,7 @@
This package contains the development files to build applications that
use GEOS
+%if "%{?dist}" != ".el4"
%package python
Summary: Python modules for GEOS
Group: Development/Libraries
@@ -52,7 +56,7 @@
%description ruby
Ruby module to build applications using GEOS and ruby
-
+%endif
%prep
%setup -q
@@ -70,8 +74,10 @@
done
%configure --disable-static --disable-dependency-tracking \
+%if "%{?dist}" != ".el4"
--enable-python \
--enable-ruby
+%endif
make %{?_smp_mflags}
@@ -113,6 +119,7 @@
%exclude %{_libdir}/*.la
%exclude %{_libdir}/*.a
+%if "%{?dist}" != ".el4"
%files python
%defattr(-,root,root,-)
%dir %{python_sitearch}/%{name}
@@ -128,8 +135,12 @@
%exclude %{ruby_sitearch}/%{name}.a
%exclude %{ruby_sitearch}/%{name}.la
%{ruby_sitearch}/%{name}.so
+%endif
%changelog
+* Wed May 28 2008 Balint Cristian <rezso at rdsor.ro> - 3.0.0-4
+- disable bindings for REL4
+
* Wed Apr 23 2008 Balint Cristian <rezso at rdsor.ro> - 3.0.0-3
- require ruby too
More information about the fedora-extras-commits
mailing list