Hello community,

here is the log from the commit of package xar for openSUSE:Factory checked in 
at 2018-03-07 10:38:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/xar (Old)
 and      /work/SRC/openSUSE:Factory/.xar.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "xar"

Wed Mar  7 10:38:41 2018 rev:8 rq:583417 version:1.6.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/xar/xar.changes  2017-12-05 01:30:36.808480338 
+0100
+++ /work/SRC/openSUSE:Factory/.xar.new/xar.changes     2018-03-07 
10:38:44.469684012 +0100
@@ -1,0 +2,6 @@
+Tue Mar  6 14:11:16 UTC 2018 - crrodrig...@opensuse.org
+
+- fix build with openssl 1.1, just another broken configure test
+  (openssl-checks.patch )
+
+-------------------------------------------------------------------

New:
----
  openssl-checks.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ xar.spec ++++++
--- /var/tmp/diff_new_pack.KhPe7F/_old  2018-03-07 10:38:46.081625868 +0100
+++ /var/tmp/diff_new_pack.KhPe7F/_new  2018-03-07 10:38:46.085625724 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package xar
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -27,18 +27,15 @@
 Source:         
https://github.com/mackyle/xar/archive/%{name}-%{version}.tar.gz
 # PATCH-FIX-UPSTREAM ext2.patch gh#mackyle/xar#10
 Patch0:         ext2.patch
+Patch1:         openssl-checks.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  e2fsprogs-devel
 BuildRequires:  libacl-devel
 BuildRequires:  libbz2-devel
 BuildRequires:  libxml2-devel
-BuildRequires:  zlib-devel
-%if 0%{?suse_version} >= 1330
-BuildRequires:  libopenssl-1_0_0-devel
-%else
 BuildRequires:  openssl-devel
-%endif
+BuildRequires:  zlib-devel
 
 %description
 The XAR project aims to provide an easily extensible archive format. Important
@@ -82,7 +79,7 @@
 %prep
 %setup -q -n %{name}-%{name}-%{version}
 %patch0
-
+%patch1 -p1
 %build
 pushd xar
 ./autogen.sh --noconfigure

++++++ openssl-checks.patch ++++++
Index: xar-xar-1.6.1/xar/configure.ac
===================================================================
--- xar-xar-1.6.1.orig/xar/configure.ac
+++ xar-xar-1.6.1/xar/configure.ac
@@ -329,7 +329,7 @@ dnl Configure libcrypto (part of OpenSSL
 dnl 
 have_libcrypto="1"
 AC_CHECK_HEADERS([openssl/evp.h], , [have_libcrypto="0"])
-AC_CHECK_LIB([crypto], [OpenSSL_add_all_ciphers], , [have_libcrypto="0"])
+AC_CHECK_LIB([crypto], [EVP_get_digestbyname], , [have_libcrypto="0"])
 if test "x${have_libcrypto}" = "x0" ; then
   AC_MSG_ERROR([Cannot build without libcrypto (OpenSSL)])
 fi

Reply via email to