Auto sync2gitlab import of libvpd-2.2.9-1.el8.src.rpm

This commit is contained in:
CentOS Sources 2022-06-11 08:12:38 +00:00
parent c4d160915c
commit 7ad48ddfe0
3 changed files with 8 additions and 12 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
/libvpd-2.2.8.tar.gz
/libvpd-2.2.9.tar.gz

View File

@ -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

View File

@ -1 +1 @@
SHA512 (libvpd-2.2.8.tar.gz) = d0b7d1760c6ae54717c538405c651317b7318dec5780961f5386c09b7d245e35a84c2fc47d89c47c3cd2168d73d7186f5819981d52c3ba962514639833dc62aa
SHA512 (libvpd-2.2.9.tar.gz) = e32a80e0f3aaedbaaac64dbdedfee7eeb2e7a7b6d2d737bca4678d26caadab77032a7c26211a5fc3caed3724488bc8fa99620ceac05f8d156ca90f4452cfaf0a