Compare commits

...

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

7 changed files with 133 additions and 14 deletions

1
.fmf/version Normal file
View File

@ -0,0 +1 @@
1

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.10.tar.gz

View File

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

6
gating.yaml Normal file
View 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}

View File

@ -1,10 +1,9 @@
Name: libvpd Name: libvpd
Version: 2.2.9 Version: 2.2.10
Release: 1%{?dist} Release: 1%{?dist}
Summary: VPD Database access library for lsvpd Summary: VPD Database access library for lsvpd
Group: System Environment/Libraries License: LGPL-2.0-or-later
License: LGPLv2+
URL: https://github.com/power-ras/%{name}/releases URL: https://github.com/power-ras/%{name}/releases
Source: https://github.com/power-ras/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz Source: https://github.com/power-ras/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz
@ -20,7 +19,6 @@ created by vpdupdate in the lsvpd package.
%package devel %package devel
Summary: Header files for libvpd Summary: Header files for libvpd
Group: Development/Libraries
Requires: %{name} = %{version}-%{release} sqlite-devel pkgconfig Requires: %{name} = %{version}-%{release} sqlite-devel pkgconfig
%description devel %description devel
Contains header files for building with libvpd. Contains header files for building with libvpd.
@ -29,6 +27,7 @@ Contains header files for building with libvpd.
%setup -q %setup -q
%build %build
export CXXFLAGS="-std=c++14 $RPM_OPT_FLAGS"
./bootstrap.sh ./bootstrap.sh
%configure --disable-static %configure --disable-static
make %{?_smp_mflags} make %{?_smp_mflags}
@ -57,22 +56,84 @@ find %{buildroot} -type f -name "*.la" -delete
%{_libdir}/pkgconfig/libvpd_cxx-2.pc %{_libdir}/pkgconfig/libvpd_cxx-2.pc
%changelog %changelog
* Fri May 13 2022 Than Ngo <than@redhat.com> - 2.2.9-1 * Fri Dec 06 2024 Than Ngo <than@redhat.com> - 2.2.10-1
- Resolves: #2051316, rebase to 2.2.9 - 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 * 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 * Tue Oct 27 2020 Jeff Law <law@redhat.com> - 2.2.7-3
- Resolves: #1664098, rebase to 2.2.7 - Force C++14 as this code is not C++17 ready
* Wed Jun 05 2019 Than Ngo <than@redhat.com> - 2.2.6-2 * Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.2.7-2
- Reolves: #1715728, rebuild to get libvpd-devel added to the Builder repo - 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 * Fri Jul 06 2018 Sinny Kumari <sinnykumari@fedoraproject.org> - 2.2.6-1
- Rebase to 2.2.6 - Rebase to 2.2.6
- run.vpdupdate is now created in /run instead of /var/lib/lsvpd/ - 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 * 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 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild

39
plans/tier1.fmf Normal file
View 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

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (libvpd-2.2.10.tar.gz) = 37ae5b684a2b8740652ea70a0243e2a13e82d5e5c23fb525746c211ffb2e5d4d70e8ae26310df51df1149401111de65dce1943703cfe290ad1cfcc856e14b726