Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 158233 Details for
Bug 214967
Review Request: arpack - Fortran77 subroutines for solving large scale eigenvalue problems
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
patch to remove static libs and fix function name clash
arpack.spec.diff (text/plain), 2.55 KB, created by
Dominik 'Rathann' Mierzejewski
on 2007-06-29 18:10:58 UTC
(
hide
)
Description:
patch to remove static libs and fix function name clash
Filename:
MIME Type:
Creator:
Dominik 'Rathann' Mierzejewski
Created:
2007-06-29 18:10:58 UTC
Size:
2.55 KB
patch
obsolete
>--- arpack.spec.axel 2007-03-26 19:01:52.000000000 +0200 >+++ arpack.spec 2007-06-29 20:04:57.000000000 +0200 >@@ -3,7 +3,7 @@ > Summary: Fortran77 subroutines for solving large scale eigenvalue problems > Name: arpack > Version: 2.1 >-Release: 6%{?dist} >+Release: 7%{?dist} > License: Freely distributable > Group: Development/Libraries > URL: http://www.caam.rice.edu/software/ARPACK/ >@@ -13,6 +13,8 @@ > Source3: RiceBSD.txt > # https://bugzilla.redhat.com/bugzilla/attachment.cgi?id=148107 > Source4: clarification-note-by-authors.txt >+# see http://www.ann.jussieu.fr/pipermail/freefempp/2006/000213.html >+Source5: arpack-patch-lapack.tar.gz > Patch0: arpack-2.1-redhat.patch > BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot > BuildRequires: %{?with_gfortran:gcc-gfortran}%{!?with_gfortran:/usr/bin/f77} >@@ -43,9 +45,19 @@ > library and so links used for building arpack based applications. > > %prep >-%setup -q -b 1 -n ARPACK >+%setup -q -b 1 -b 5 -n ARPACK > %patch -p1 -b .rh >-mkdir static shared >+# apply a fix for arpack's lapack >+# function and subroutine name clash >+# see http://www.ann.jussieu.fr/pipermail/freefempp/2006/000213.html >+# taken from FreeFem++ 2.11 >+for i in SRC/*.f ; do >+ sed -i 's/call *second/call secnd2/' $i >+done >+for i in UTIL/second.f; do >+ sed -i 's/ SECOND *(/secnd2(/' $i >+done >+mkdir shared > > %build > cd shared >@@ -56,20 +68,10 @@ > done > gcc -shared -llapack -Wl,-soname,libarpack.so.2 -o libarpack.so.2.1 *.o > cd .. >-cd static >-for dir in ../SRC ../UTIL; do >- make -f $dir/Makefile VPATH=$dir srcdir=$dir \ >- %{?with_gfortran:FC=gfortran} FFLAGS="%{optflags}" LDFLAGS="-s" \ >- all >-done >-ar rv libarpack.a *.o >-ranlib libarpack.a >-cd .. > > %install > rm -rf %{buildroot} > mkdir -p %{buildroot}%{_libdir} >-install -p -m644 static/libarpack.a %{buildroot}%{_libdir} > install -p -m755 shared/libarpack.so.2.1 %{buildroot}%{_libdir} > ln -s libarpack.so.2.1 %{buildroot}%{_libdir}/libarpack.so.2 > ln -s libarpack.so.2 %{buildroot}%{_libdir}/libarpack.so >@@ -83,17 +85,20 @@ > %postun -p /sbin/ldconfig > > %files >-%doc RiceBSD.doc clarification-note-by-authors.txt > %defattr(-,root,root,-) >+%doc RiceBSD.doc clarification-note-by-authors.txt > %{_libdir}/libarpack.so.* > > %files devel > %defattr(-,root,root,-) > %doc DOCUMENTS EXAMPLES > %{_libdir}/libarpack.so >-%{_libdir}/libarpack.a > > %changelog >+* Fri Jun 29 2007 Dominik 'Rathann' Mierzejewski <rpm@greysector.net> 2.1-7 >+- apply Frederic Hecht's patch for eigenvalue bug >+- remove static libs >+ > * Mon Mar 26 2007 Axel Thimm <Axel.Thimm@ATrpms.net> - 2.1-6 > - Add license and clarification note > - Add lapack support
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 214967
:
141957
|
148107
|
158233
|
235721
|
235731