fix debuginfo bz#329921

----------------------------------------------------------------------
    Modified Files: devel/ogdi.spec Added Files:
    devel/ogdi-3.2.0.beta1-optflags.patch
----------------------------------------------------------------------
epel9
Balint Cristian 17 years ago
parent 46a3bb9c37
commit 04b77c9e7a

@ -0,0 +1,25 @@
diff -up ogdi-3.2.0.beta1/configure.in~ ogdi-3.2.0.beta1/configure.in
--- ogdi-3.2.0.beta1/configure.in~ 2007-02-24 19:37:33.000000000 +0200
+++ ogdi-3.2.0.beta1/configure.in 2007-10-12 22:13:58.000000000 +0300
@@ -36,9 +36,6 @@ AC_COMPILER_WFLAGS
AC_COMPILER_PIC
AC_LD_SHARED
-dnl Strip out optimization if already added
-CFLAGS=`echo "$CFLAGS " | sed "s/-O2 //"`
-
dnl ---------------------------------------------------------------------------
dnl Do we have rpc/pmap_clnt.h, float.h, dlfcn.h?
dnl ---------------------------------------------------------------------------
diff -up ogdi-3.2.0.beta1/configure~ ogdi-3.2.0.beta1/configure
--- ogdi-3.2.0.beta1/configure~ 2007-02-24 19:37:33.000000000 +0200
+++ ogdi-3.2.0.beta1/configure 2007-10-12 22:14:14.000000000 +0300
@@ -2425,8 +2425,6 @@ _ACEOF
-CFLAGS=`echo "$CFLAGS " | sed "s/-O2 //"`
-
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'

@ -1,14 +1,15 @@
Name: ogdi
Version: 3.2.0
Release: 0.8.beta1%{?dist}
Release: 0.9.beta1%{?dist}
Summary: Open Geographic Datastore Interface
Group: Applications/Engineering
License: BSD-like
License: BSD
URL: http://ogdi.sourceforge.net/
Source0: http://dl.sourceforge.net/ogdi/%{name}-%{version}.beta1.tar.gz
Source1: http://ogdi.sourceforge.net/ogdi.pdf
Patch0: ogdi-fix-matrix.patch
Patch1: ogdi-mfix.patch
Patch2: ogdi-3.2.0.beta1-optflags.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-root-%(id -u -n)
BuildRequires: unixODBC-devel zlib-devel
@ -54,6 +55,9 @@ TCL wrapper for OGDI.
%setup -q -n %{name}-%{version}.beta1
%patch0 -p0 -b .matrix
%patch1 -p0 -b .warrn
touch -r configure.in configure.in.stamp
%patch2 -p1 -b .optflags
touch -r configure.in.stamp configure.in
# include documentation
cp -p %{SOURCE1} .
@ -61,6 +65,7 @@ cp -p %{SOURCE1} .
TOPDIR=`pwd`; TARGET=Linux; export TOPDIR TARGET
INST_LIB=%{_libdir}/;export INST_LIB
export CFG=debug # for -g
# do not compile with ssp. it will trigger internal bugs (to_fix_upstream)
OPT_FLAGS=`echo $RPM_OPT_FLAGS|sed -e 's/-Wp,-D_FORTIFY_SOURCE=2//g'`
@ -161,6 +166,9 @@ rm -rf %{buildroot}
%{_libdir}/%{name}/libecs_tcl.so
%changelog
* Mon May 26 2008 Balint Cristian <rezso@rdsor.ro> - 3.2.0-0.9.beta1
- fix debuginfo bz#329921
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 3.2.0-0.8.beta1
- Autorebuild for GCC 4.3

Loading…
Cancel
Save