Compare commits
No commits in common. "c8" and "c10s-private-than" have entirely different histories.
c8
...
c10s-priva
1
.fmf/version
Normal file
1
.fmf/version
Normal file
@ -0,0 +1 @@
|
||||
1
|
||||
14
.gitignore
vendored
14
.gitignore
vendored
@ -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.10.tar.gz
|
||||
|
||||
@ -1 +0,0 @@
|
||||
17fcca6874e97490e2b44868b50bb1e2c456dc35 SOURCES/libvpd-2.2.9.tar.gz
|
||||
1
99-libvpd.conf
Normal file
1
99-libvpd.conf
Normal file
@ -0,0 +1 @@
|
||||
install_items+=" /usr/bin/touch "
|
||||
6
gating.yaml
Normal file
6
gating.yaml
Normal file
@ -0,0 +1,6 @@
|
||||
--- !Policy
|
||||
product_versions:
|
||||
- rhel-10
|
||||
decision_context: osci_compose_gate
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
||||
22
libvpd-install-rules-in-system-wide-dir.patch
Normal file
22
libvpd-install-rules-in-system-wide-dir.patch
Normal 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
|
||||
@ -1,16 +1,20 @@
|
||||
Name: libvpd
|
||||
Version: 2.2.9
|
||||
Release: 1%{?dist}
|
||||
Version: 2.2.10
|
||||
Release: 2%{?dist}
|
||||
Summary: VPD Database access library for lsvpd
|
||||
|
||||
Group: System Environment/Libraries
|
||||
License: LGPLv2+
|
||||
License: LGPL-2.0-or-later
|
||||
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: 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,87 @@ 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
|
||||
* Tue Sep 23 2025 Than Ngo <than@redhat.com> - 2.2.10-2
|
||||
- Resolves: RHEL-93155, multiple errors of vpcupdate during boot
|
||||
|
||||
* Fri Dec 06 2024 Than Ngo <than@redhat.com> - 2.2.10-1
|
||||
- Update to 2.2.10, fix displaying duplicate VPD details
|
||||
Resolves: RHEL-24572
|
||||
|
||||
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 2.2.9-9
|
||||
- Bump release for October 2024 mass rebuild:
|
||||
Resolves: RHEL-64018
|
||||
|
||||
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 2.2.9-8
|
||||
- Bump release for June 2024 mass rebuild
|
||||
|
||||
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.9-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.9-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
* Thu Feb 16 2023 Than Ngo <than@redhat.com> - 2.2.9-5
|
||||
- migrated to SPDX license
|
||||
|
||||
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.9-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||
|
||||
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.9-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
* Thu Apr 07 2022 Dan Horák <dan[at]danny.cz> - 2.2.9-2
|
||||
- fix development symlinks
|
||||
|
||||
* Wed Apr 06 2022 Than Ngo <than@redhat.com> - 2.2.9-1
|
||||
- rebase to 2.2.9
|
||||
|
||||
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.8-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.8-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* 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
|
||||
|
||||
39
plans/tier1.fmf
Normal file
39
plans/tier1.fmf
Normal file
@ -0,0 +1,39 @@
|
||||
---
|
||||
|
||||
summary: Tier1 plan for libvpd
|
||||
|
||||
discover:
|
||||
how: fmf
|
||||
url: https://pkgs.devel.redhat.com/git/tests/libvpd
|
||||
ref: master
|
||||
filter: tier:1
|
||||
|
||||
prepare:
|
||||
- how: shell
|
||||
script: |
|
||||
set -euxo pipefail
|
||||
|
||||
ENABLE_REPO_CMD="yum-config-manager --enable"
|
||||
if command -v dnf >/dev/null 2>&1; then
|
||||
ENABLE_REPO_CMD="dnf config-manager --set-enabled"
|
||||
fi
|
||||
|
||||
${ENABLE_REPO_CMD} beaker-tasks || :
|
||||
- how: shell
|
||||
script: |
|
||||
set -exuo pipefail
|
||||
|
||||
if [[ -f /etc/os-release ]]; then
|
||||
. /etc/os-release
|
||||
if [[ "${ID:-}" == "rhel" && "${VERSION_ID%%.*}" -ge 8 ]]; then
|
||||
dnf config-manager --enable rhel-CRB
|
||||
fi
|
||||
fi
|
||||
|
||||
execute:
|
||||
how: tmt
|
||||
|
||||
adjust:
|
||||
enabled: false
|
||||
when: distro == centos-stream or distro == fedora
|
||||
|
||||
Loading…
Reference in New Issue
Block a user