From 53880e7c76fe320c08753f41fefc68fe27879b62ddad809ec01a17dd02279845 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Tue, 19 Apr 2022 12:06:40 +0000 Subject: [PATCH] Accepting request 970759 from home:jengelh:branches:devel:libraries:c_c++ add needed baselibs stanza OBS-URL: https://build.opensuse.org/request/show/970759 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libvpd?expand=0&rev=2 --- baselibs.conf | 2 ++ libvpd.spec | 15 ++++++++------- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/baselibs.conf b/baselibs.conf index aad8755..519d08a 100644 --- a/baselibs.conf +++ b/baselibs.conf @@ -1,2 +1,4 @@ libvpd-2_2-3 libvpd-devel + requires -libvpd- + requires "libvpd-2_2-3- = " diff --git a/libvpd.spec b/libvpd.spec index 6e7a44c..a3df87f 100644 --- a/libvpd.spec +++ b/libvpd.spec @@ -23,7 +23,7 @@ Version: 2.2.9 Release: 0 Summary: VPD Database access library for lsvpd License: LGPL-2.1-or-later -Group: Development/Libraries/Other +Group: Development/Libraries/C and C++ URL: https://github.com/power-ras/libvpd Source: https://github.com/power-ras/libvpd/archive/v%{version}.tar.gz#/%{name}2-%{version}.tar.gz Source1: baselibs.conf @@ -38,15 +38,16 @@ BuildRequires: pkgconfig(udev) BuildRequires: pkgconfig(zlib) %description -The libvpd_cxx package contains the classes that are used to access a -vpd database created by vpdupdate in the lsvpd package. +The libvpd package contains classes that are used to access a Vital +Product Data (VPD) database created by vpdupdate in the lsvpd package. %package -n %{name}%{soversion} Summary: VPD Database access library for lsvpd +Group: System/Libraries %description -n %{name}%{soversion} -The libvpd_cxx package contains the classes that are used to access a -vpd database created by vpdupdate in the lsvpd package. +The libvpd package contains classes that are used to access a Vital +Product Data (VPD) database created by vpdupdate in the lsvpd package. %package devel Summary: VPD Database access library for lsvpd @@ -61,13 +62,13 @@ files that are used to access a vpd database created by vpdupdate in the lsvpd package. %prep -%autosetup -p1 -n %{name}-%{version} +%autosetup -p1 %build autoreconf -fiv %configure \ --disable-static -make %{?_smp_mflags} +%make_build %install %make_install