Compare commits

...

2 Commits

Author SHA1 Message Date
CentOS Sources ecfb2f03a8 import libvpd-2.2.9-1.el8 2022-11-08 13:35:43 +00:00
CentOS Sources 0f986f039b import libvpd-2.2.8-1.el8 2021-11-29 12:08:23 +00:00
3 changed files with 11 additions and 13 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/libvpd-2.2.7.tar.gz
SOURCES/libvpd-2.2.9.tar.gz

View File

@ -1 +1 @@
f8ea10906483e4d5bedadefa1c57857f2b3274cf SOURCES/libvpd-2.2.7.tar.gz
17fcca6874e97490e2b44868b50bb1e2c456dc35 SOURCES/libvpd-2.2.9.tar.gz

View File

@ -1,5 +1,5 @@
Name: libvpd
Version: 2.2.7
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,12 @@ 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
* Mon Apr 06 2020 Than Ngo <than@redhat.com> - 2.2.7-1
- Resolves: #1664098, rebase to 2.2.7