Accepting request 845987 from home:badshah400:boo1178139
- Drop eigen_pkgconfig.patch: the includedir now needs to be specified relative to CMAKE_INSTALL_PREFIX, so this patch causes the includedir in the pkgconfig file to be erroneousi (boo#1178139). - Use %autosetup to automatically run through patches. OBS-URL: https://build.opensuse.org/request/show/845987 OBS-URL: https://build.opensuse.org/package/show/science/eigen3?expand=0&rev=35
This commit is contained in:
parent
9861383636
commit
618c228666
@ -1,3 +1,12 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 4 13:27:10 UTC 2020 - Atri Bhattacharya <badshah400@gmail.com>
|
||||
|
||||
- Drop eigen_pkgconfig.patch: the includedir now needs to be
|
||||
specified relative to CMAKE_INSTALL_PREFIX, so this patch causes
|
||||
the includedir in the pkgconfig file to be erroneousi
|
||||
(boo#1178139).
|
||||
- Use %autosetup to automatically run through patches.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Oct 25 21:45:11 UTC 2020 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
|
||||
|
||||
|
11
eigen3.spec
11
eigen3.spec
@ -35,8 +35,6 @@ URL: http://eigen.tuxfamily.org/
|
||||
Source0: https://gitlab.com/libeigen/eigen/-/archive/%{version}/%{srcname}-%{version}.tar.bz2
|
||||
Patch0: 0001-Disable-Altivec-for-ppc64le.patch
|
||||
Patch1: 0001-Do-stack-allignment-on-ppc.patch
|
||||
# PATCH-FIX-OPENSUSE eigen_pkgconfig.patch asterios.dramis@gmail.com -- Fix pkg-config file includedir
|
||||
Patch2: eigen_pkgconfig.patch
|
||||
# PATCH-FIX-OPENSUSE 01_install_FindEigen3.patch asterios.dramis@gmail.com -- Install FindEigen3.cmake
|
||||
Patch3: 01_install_FindEigen3.patch
|
||||
# PATCH-FIX-OPENSUSE eigen3-3.3.1-fixcmake.patch -- Fix double {prefix} as we use INCLUDE_INSTALL_DIR with {_includedir}
|
||||
@ -98,14 +96,7 @@ for Linear Algebra
|
||||
%endif
|
||||
|
||||
%prep
|
||||
%setup -q -n %{srcname}-%{version}
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
%patch3 -p1
|
||||
%patch4 -p1
|
||||
%patch5 -p1
|
||||
%patch6 -p1
|
||||
%autosetup -p1 -n %{srcname}-%{version}
|
||||
|
||||
# Fix rpmlint warning "wrong-file-end-of-line-encoding"
|
||||
sed -i 's/\r$//' COPYING.MINPACK
|
||||
|
@ -1,10 +0,0 @@
|
||||
Index: eigen-3.3.8/eigen3.pc.in
|
||||
===================================================================
|
||||
--- eigen-3.3.8.orig/eigen3.pc.in
|
||||
+++ eigen-3.3.8/eigen3.pc.in
|
||||
@@ -6,4 +6,4 @@ Description: A C++ template library for
|
||||
Requires:
|
||||
Version: @EIGEN_VERSION_NUMBER@
|
||||
Libs:
|
||||
-Cflags: -I${prefix}/@INCLUDE_INSTALL_DIR@
|
||||
+Cflags: -I@INCLUDE_INSTALL_DIR@
|
Loading…
x
Reference in New Issue
Block a user