This commit is contained in:
parent
b7ee15da43
commit
9bbfff65e9
24
libtool-1.5.24.diff
Normal file
24
libtool-1.5.24.diff
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
--- tagdemo/foo.cpp
|
||||||
|
+++ tagdemo/foo.cpp
|
||||||
|
@@ -20,7 +20,8 @@
|
||||||
|
// USA.
|
||||||
|
|
||||||
|
#include "foo.h"
|
||||||
|
-#include <iostream.h>
|
||||||
|
+#include <iostream>
|
||||||
|
+using namespace std;
|
||||||
|
|
||||||
|
#ifdef HAVE_MATH_H
|
||||||
|
#include <math.h>
|
||||||
|
--- tagdemo/main.cpp
|
||||||
|
+++ tagdemo/main.cpp
|
||||||
|
@@ -22,7 +22,8 @@
|
||||||
|
|
||||||
|
#include "foo.h"
|
||||||
|
#include "baz.h"
|
||||||
|
-#include <iostream.h>
|
||||||
|
+#include <iostream>
|
||||||
|
+using namespace std;
|
||||||
|
|
||||||
|
|
||||||
|
int
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Nov 13 15:18:15 CET 2007 - schwab@suse.de
|
||||||
|
|
||||||
|
- Fix C++ includes.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jun 27 11:23:17 CEST 2007 - schwab@suse.de
|
Wed Jun 27 11:23:17 CEST 2007 - schwab@suse.de
|
||||||
|
|
||||||
|
19
libtool.spec
19
libtool.spec
@ -15,13 +15,13 @@ License: GPL v2 or later
|
|||||||
Group: Development/Tools/Building
|
Group: Development/Tools/Building
|
||||||
Summary: A Tool to Build Shared Libraries
|
Summary: A Tool to Build Shared Libraries
|
||||||
Version: 1.5.24
|
Version: 1.5.24
|
||||||
Release: 1
|
Release: 23
|
||||||
Autoreqprov: on
|
AutoReqProv: on
|
||||||
PreReq: %{install_info_prereq}
|
PreReq: %{install_info_prereq}
|
||||||
Requires: libltdl-3 = %{version}
|
Requires: libltdl-3 = %{version}
|
||||||
URL: http://www.gnu.org/software/libtool/
|
Url: http://www.gnu.org/software/libtool/
|
||||||
Source: ftp://ftp.gnu.org/pub/gnu/libtool/libtool-%{version}.tar.gz
|
Source: ftp://ftp.gnu.org/pub/gnu/libtool/libtool-%{version}.tar.gz
|
||||||
#Patch: libtool-%{version}.diff
|
Patch: libtool-%{version}.diff
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -43,7 +43,7 @@ Authors:
|
|||||||
%package -n libltdl-3
|
%package -n libltdl-3
|
||||||
Summary: Libtool Runtime Library
|
Summary: Libtool Runtime Library
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Autoreqprov: on
|
AutoReqProv: on
|
||||||
Provides: libltdl
|
Provides: libltdl
|
||||||
Obsoletes: libltdl <= 1.5.22
|
Obsoletes: libltdl <= 1.5.22
|
||||||
|
|
||||||
@ -64,16 +64,13 @@ Authors:
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
#%patch
|
%patch
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# get the current config.guess & config.sub.
|
|
||||||
# -f: don't look at the file timestamps (they might be wrong due to patches)
|
|
||||||
%{?suse_update_config:%{suse_update_config -l -f}}
|
|
||||||
./configure CFLAGS="$RPM_OPT_FLAGS" \
|
./configure CFLAGS="$RPM_OPT_FLAGS" \
|
||||||
--prefix=/usr --infodir=%{_infodir} --libdir=%{_libdir}
|
--prefix=/usr --infodir=%{_infodir} --libdir=%{_libdir}
|
||||||
make
|
make
|
||||||
make check
|
make check VERBOSE=yes
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT
|
make install DESTDIR=$RPM_BUILD_ROOT
|
||||||
@ -109,6 +106,8 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_libdir}/libltdl.so.*
|
%{_libdir}/libltdl.so.*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Nov 13 2007 - schwab@suse.de
|
||||||
|
- Fix C++ includes.
|
||||||
* Wed Jun 27 2007 - schwab@suse.de
|
* Wed Jun 27 2007 - schwab@suse.de
|
||||||
- Update to libtool 1.5.24.
|
- Update to libtool 1.5.24.
|
||||||
* Initial support for Interix newer than version 3.
|
* Initial support for Interix newer than version 3.
|
||||||
|
Loading…
Reference in New Issue
Block a user