|
|
|
@ -1,13 +1,14 @@
|
|
|
|
|
Name: libvpd
|
|
|
|
|
Version: 2.2.8
|
|
|
|
|
Release: 4%{?dist}
|
|
|
|
|
Version: 2.2.9
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: VPD Database access library for lsvpd
|
|
|
|
|
|
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
|
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: gcc-c++
|
|
|
|
|
BuildRequires: sqlite-devel zlib-devel libstdc++-devel libtool
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
|
|
|
|
@ -19,6 +20,7 @@ created by vpdupdate in the lsvpd package.
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
|
Summary: Header files for libvpd
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
Requires: %{name} = %{version}-%{release} sqlite-devel pkgconfig
|
|
|
|
|
%description devel
|
|
|
|
|
Contains header files for building with libvpd.
|
|
|
|
@ -27,7 +29,6 @@ Contains header files for building with libvpd.
|
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
export CXXFLAGS="-std=c++14 $RPM_OPT_FLAGS"
|
|
|
|
|
./bootstrap.sh
|
|
|
|
|
%configure --disable-static
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
@ -36,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
|
|
|
|
@ -66,53 +57,22 @@ popd
|
|
|
|
|
%{_libdir}/pkgconfig/libvpd_cxx-2.pc
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 2.2.8-4
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 2.2.8-3
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.8-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
* 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
|
|
|
|
|
- rebase to 2.2.8
|
|
|
|
|
- Resolves: #1844429, rebase to 2.2.8
|
|
|
|
|
|
|
|
|
|
* Tue Oct 27 2020 Jeff Law <law@redhat.com> - 2.2.7-3
|
|
|
|
|
- Force C++14 as this code is not C++17 ready
|
|
|
|
|
* Mon Apr 06 2020 Than Ngo <than@redhat.com> - 2.2.7-1
|
|
|
|
|
- Resolves: #1664098, rebase to 2.2.7
|
|
|
|
|
|
|
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.7-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jul 09 2020 Than Ngo <than@redhat.com> - 2.2.7-1
|
|
|
|
|
- rebase to 2.2.7
|
|
|
|
|
|
|
|
|
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.6-7
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Dec 02 2019 Than Ngo <than@redhat.com> - 2.2.6-6
|
|
|
|
|
- Update Url and Source
|
|
|
|
|
|
|
|
|
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.6-5
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.6-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jul 20 2018 Sinny Kumari <sinnykumari@fedoraproject.org> - 2.2.6-3
|
|
|
|
|
- Add gcc-c++ as BuildRequires
|
|
|
|
|
|
|
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.6-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
* Wed Jun 05 2019 Than Ngo <than@redhat.com> - 2.2.6-2
|
|
|
|
|
- Reolves: #1715728, rebuild to get libvpd-devel added to the Builder repo
|
|
|
|
|
|
|
|
|
|
* Fri Jul 06 2018 Sinny Kumari <sinnykumari@fedoraproject.org> - 2.2.6-1
|
|
|
|
|
- Rebase to 2.2.6
|
|
|
|
|
- run.vpdupdate is now created in /run instead of /var/lib/lsvpd/
|
|
|
|
|
|
|
|
|
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.5-8
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.5-7
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|