|
|
|
@ -1,5 +1,5 @@
|
|
|
|
|
Name: libvpd
|
|
|
|
|
Version: 2.2.8
|
|
|
|
|
Version: 2.2.9
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: VPD Database access library for lsvpd
|
|
|
|
|
|
|
|
|
@ -8,7 +8,9 @@ License: LGPLv2+
|
|
|
|
|
URL: https://github.com/power-ras/%{name}/releases
|
|
|
|
|
Source: https://github.com/power-ras/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
|
|
|
|
|
|
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
|
BuildRequires: sqlite-devel zlib-devel libstdc++-devel libtool
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{power64}
|
|
|
|
|
|
|
|
|
@ -35,16 +37,6 @@ make %{?_smp_mflags}
|
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
|
find %{buildroot} -type f -name "*.la" -delete
|
|
|
|
|
|
|
|
|
|
# re-symlink *.so to SONAME, fix the symlinks issue by downgrade/upgrade
|
|
|
|
|
pushd %{buildroot}%{_libdir}
|
|
|
|
|
v=%{version}
|
|
|
|
|
version=$(echo ${v%.[0-9]*})
|
|
|
|
|
for lib in libvpd libvpd_cxx; do
|
|
|
|
|
rm -f ${lib}.so
|
|
|
|
|
ln -s ${lib}-${version}.so.2 ${lib}.so
|
|
|
|
|
done
|
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
@ -65,6 +57,9 @@ popd
|
|
|
|
|
%{_libdir}/pkgconfig/libvpd_cxx-2.pc
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Fri May 13 2022 Than Ngo <than@redhat.com> - 2.2.9-1
|
|
|
|
|
- Resolves: #2051316, rebase to 2.2.9
|
|
|
|
|
|
|
|
|
|
* Mon Nov 09 2020 Than Ngo <than@redhat.com> - 2.2.8-1
|
|
|
|
|
- Resolves: #1844429, rebase to 2.2.8
|
|
|
|
|
|
|
|
|
|