--- /dev/null
+--- openr2-1.3.2/configure.in.orig 2017-05-24 15:38:44.947201526 +0200
++++ openr2-1.3.2/configure.in 2017-05-24 15:42:28.244836997 +0200
+@@ -32,16 +32,6 @@
+ AC_PROG_LIBTOOL
+ AC_LANG([C])
+
+-if test "${build}" == "${host}"
+-then
+- case "${host}" in
+- x86_64-*)
+- # X86_64 Linux machines may have both 64 bit and 32 bit libraries. We need to choose the right set
+- AX_CHECK_REAL_FILE([${prefix}/lib64], libdir='${exec_prefix}/lib64')
+- ;;
+- esac
+-fi
+-
+ AC_CHECK_LIB([m],[cosf], [], [AC_MSG_FAILURE([library libm is required but not present])])
+ AC_CHECK_HEADER([math.h],[],[AC_MSG_FAILURE([header math.h is required but not present])])
+ AC_CHECK_HEADER([pthread.h],[],[AC_MSG_FAILURE([header pthread.h is required but not present])])
Summary(pl.UTF-8): OpenR2 - sygnaĆy MFC/R2 po liniach E1
Name: openr2
Version: 1.3.2
-Release: 1
+Release: 2
License: LGPL v2+ (library), GPL v2+ (utilities)
Group: Libraries
#Source0Download: https://github.com/moises-silva/openr2/releases
# Source0-md5: 5858020ad014c111f6f7a8c86758da6c
Patch0: %{name}-nosvn.patch
Patch1: %{name}-opt.patch
+Patch2: %{name}-libdir.patch
URL: https://libopenr2.org/
BuildRequires: autoconf
BuildRequires: automake
%setup -q
%patch0 -p1
%patch1 -p1
+%patch2 -p1
%build
%{__libtoolize}