import libvpd-2.2.9-1.el8
This commit is contained in:
parent
0f986f039b
commit
ecfb2f03a8
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
||||
SOURCES/libvpd-2.2.8.tar.gz
|
||||
SOURCES/libvpd-2.2.9.tar.gz
|
||||
|
@ -1 +1 @@
|
||||
be752c4f370b5719a0affe7edbe4e4e62de5f8ee SOURCES/libvpd-2.2.8.tar.gz
|
||||
17fcca6874e97490e2b44868b50bb1e2c456dc35 SOURCES/libvpd-2.2.9.tar.gz
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user