Accepting request 702774 from home:dimstar:Factory

- Add pkgconfig(zlib) Requires to the -devel package: the .pc file
  lists -lz in the Libs, but does not mention any requires
  explicitly. So let's do our consumers a favor and pull in what we
  require.

This was masked so far by the fact that openssl pulled in zlib, which
it no longer does. But since our .pc file claims we need to link libz.so,
we also should pull it in ourselves.

OBS-URL: https://build.opensuse.org/request/show/702774
OBS-URL: https://build.opensuse.org/package/show/server:database/mariadb-connector-c?expand=0&rev=40
This commit is contained in:
Kristyna Streitova 2019-05-14 10:40:12 +00:00 committed by Git OBS Bridge
parent c8c10bcb3f
commit 893348699b
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Tue May 14 07:38:44 UTC 2019 - Dominique Leuenberger <dimstar@opensuse.org>
- Add pkgconfig(zlib) Requires to the -devel package: the .pc file
lists -lz in the Libs, but does not mention any requires
explicitly. So let's do our consumers a favor and pull in what we
require.
-------------------------------------------------------------------
Fri Mar 1 15:19:46 UTC 2019 - kstreitova@suse.com

View File

@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@ -93,6 +93,7 @@ Summary: Development files for the MariaDB Connector C API
Group: Development/Libraries/C and C++
Requires: %{libname}%{sover} = %{version}
Requires: pkgconfig(openssl)
Requires: pkgconfig(zlib)
# mysql-devel needs to be provided as some pkgs still depend on it
Provides: mysql-devel = %{mariadb_version}
Obsoletes: mysql-devel < %{mariadb_version}