From 9ac59a8de23cd3995961b5705c7767889a52758387bfeefeeda3ab45698a33bc Mon Sep 17 00:00:00 2001
From: Olaf Hering <ohering@suse.com>
Date: Thu, 10 Nov 2022 20:14:14 +0000
Subject: [PATCH] - some sort of openssl is required for building

OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/openhpi?expand=0&rev=46
---
 openhpi.changes | 5 +++++
 openhpi.spec    | 3 ++-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/openhpi.changes b/openhpi.changes
index d0f6b83..5855783 100644
--- a/openhpi.changes
+++ b/openhpi.changes
@@ -1,3 +1,8 @@
+-------------------------------------------------------------------
+Thu Nov 11 11:11:11 UTC 2022 - olaf@aepfle.de
+
+- some sort of openssl is required for building
+
 -------------------------------------------------------------------
 Fri Sep  3 11:31:43 UTC 2021 - Thomas Renninger <trenn@suse.de>
 
diff --git a/openhpi.spec b/openhpi.spec
index ca591db..5ea96ed 100644
--- a/openhpi.spec
+++ b/openhpi.spec
@@ -42,6 +42,7 @@ BuildRequires:  ncurses-devel
 BuildRequires:  net-snmp-devel
 BuildRequires:  tcpd-devel
 BuildRequires:  pkgconfig(systemd)
+BuildRequires:  pkgconfig(openssl)
 
 %description
 OpenHPI implements the SA Forum's Hardware Platform Interface (HPI). HPI is an
@@ -79,7 +80,7 @@ Requires:       libstdc++-devel
 Requires:       libtool
 Requires:       ncurses-devel
 Requires:       net-snmp-devel
-Requires:       openssl-devel
+Requires:       pkgconfig(openssl)
 Requires:       popt-devel
 Requires:       zlib-devel