Compare commits

..

No commits in common. "c8" and "c9s-private-than" have entirely different histories.

7 changed files with 106 additions and 21 deletions

14
.gitignore vendored
View File

@ -1 +1,13 @@
SOURCES/libvpd-2.2.9.tar.gz
libvpd-2.1.1.tar.gz
/libvpd-2.1.2.tar.gz
/libvpd-2.1.3.tar.gz
/libvpd-2.2.1.tar.gz
/libvpd-2.2.2.tar.gz
/libvpd-2.2.3.tar.gz
/libvpd-2.2.4.tar.gz
/libvpd-2.2.5.tar.gz
/libvpd-2.2.6.tar.gz
/libvpd-2.2.7.tar.gz
/libvpd-2.2.8.tar.gz
/libvpd-2.2.9.tar.gz
/libvpd-2.2.11.tar.gz

View File

@ -1 +0,0 @@
17fcca6874e97490e2b44868b50bb1e2c456dc35 SOURCES/libvpd-2.2.9.tar.gz

1
99-libvpd.conf Normal file
View File

@ -0,0 +1 @@
install_items+=" /usr/bin/touch "

6
gating.yaml Normal file
View File

@ -0,0 +1,6 @@
--- !Policy
product_versions:
- rhel-9
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}

View File

@ -0,0 +1,22 @@
diff -up libvpd-2.2.10/Makefile.am.me libvpd-2.2.10/Makefile.am
--- libvpd-2.2.10/Makefile.am.me 2025-09-23 10:19:07.836805451 +0200
+++ libvpd-2.2.10/Makefile.am 2025-09-23 10:49:26.932917705 +0200
@@ -49,6 +49,8 @@ libvpd_cxx_la_SOURCES = src/vpdretriever
CXX_VERSION=@GENERIC_CXX_LIBRARY_VERSION@
C_VERSION=@GENERIC_C_LIBRARY_VERSION@
+udevrulesdir = $(prefix)/lib/udev/rules.d
+
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libvpd-2.pc libvpd_cxx-2.pc
@@ -65,7 +67,7 @@ libtool: $(LIBTOOL_DEPS)
$(SHELL) ./config.status --recheck
install-exec-hook:
- mkdir -p $(DESTDIR)/${sysconfdir}/udev/rules.d/
+ mkdir -p $(DESTDIR)/${udevrulesdir}
mkdir -p $(DESTDIR)/${localstatedir}/lib/lsvpd/
install -D --mode=644 90-vpdupdate.rules \
- ${DESTDIR}/${sysconfdir}/udev/rules.d/90-vpdupdate.rules
+ ${DESTDIR}/${udevrulesdir}/90-vpdupdate.rules

View File

@ -1,16 +1,20 @@
Name: libvpd
Version: 2.2.9
Version: 2.2.11
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
Source0: https://github.com/power-ras/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
Source1: 99-libvpd.conf
Patch1: libvpd-install-rules-in-system-wide-dir.patch
BuildRequires: gcc-c++
BuildRequires: sqlite-devel zlib-devel libstdc++-devel libtool
BuildRequires: make
BuildRequires: autoconf automake libtool
BuildRequires: gcc-c++
BuildRequires: make
BuildRequires: sqlite-devel
BuildRequires: systemd-devel
BuildRequires: zlib-devel
ExclusiveArch: %{power64}
@ -20,34 +24,34 @@ 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.
%prep
%setup -q
%autosetup
%build
./bootstrap.sh
%configure --disable-static
make %{?_smp_mflags}
%make_build
%install
make install DESTDIR=$RPM_BUILD_ROOT
%make_install
find %{buildroot} -type f -name "*.la" -delete
install -D -m644 %{SOURCE1} %{buildroot}%{_prefix}/lib/dracut/dracut.conf.d/99-libvpd.conf
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%{!?_licensedir:%global license %%doc}
%license COPYING
%doc README
%{_libdir}/libvpd_cxx-2.2.so.*
%{_libdir}/libvpd-2.2.so.*
%{_sysconfdir}/udev/rules.d/90-vpdupdate.rules
%{_udevrulesdir}/90-vpdupdate.rules
%{_prefix}/lib/dracut/dracut.conf.d/*
%files devel
%{_includedir}/libvpd-2
@ -57,22 +61,62 @@ find %{buildroot} -type f -name "*.la" -delete
%{_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
* Fri Jan 16 2026 Than Ngo <than@redhat.com> - 2.2.11-1
- Resolves: RHEL-102475, update to 2.2.11
* Tue Jan 30 2024 Than Ngo <than@redhat.com> - 2.2.9-2
- Resolves: RHEL-23015, prevent adding duplicate entries
* Fri May 06 2022 Than Ngo <than@redhat.com> - 2.2.9-1
- Resolves: #2051288, rebase to 2.2.9
* 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
* Mon Nov 09 2020 Than Ngo <than@redhat.com> - 2.2.8-1
- Resolves: #1844429, rebase to 2.2.8
- 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
* Tue Oct 27 2020 Jeff Law <law@redhat.com> - 2.2.7-3
- Force C++14 as this code is not C++17 ready
* 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
* 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
* 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

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (libvpd-2.2.11.tar.gz) = c9b14f7275f6ba113cb1c598ea754bfa0a429ca4a9407518689aaa263c307937f1ccd79d9b23c198f6e6c1fa0b1c85a9929937382bcf898e3fe19ae22552494b