Compare commits
No commits in common. "c9-beta" and "imports/c10s/python-drgn-0.0.31-2.el10" have entirely different histories.
c9-beta
...
imports/c1
16
.gitignore
vendored
16
.gitignore
vendored
@ -1 +1,15 @@
|
|||||||
SOURCES/drgn-0.0.31.tar.gz
|
/drgn-0.0.11.tar.gz
|
||||||
|
/drgn-0.0.13.tar.gz
|
||||||
|
/drgn-0.0.14.tar.gz
|
||||||
|
/drgn-0.0.15.tar.gz
|
||||||
|
/drgn-0.0.16.tar.gz
|
||||||
|
/drgn-0.0.18.tar.gz
|
||||||
|
/drgn-0.0.19.tar.gz
|
||||||
|
/drgn-0.0.20.tar.gz
|
||||||
|
/drgn-0.0.21.tar.gz
|
||||||
|
/drgn-0.0.22.tar.gz
|
||||||
|
/drgn-0.0.23.tar.gz
|
||||||
|
/drgn-0.0.24.tar.gz
|
||||||
|
/drgn-0.0.25.tar.gz
|
||||||
|
/drgn-0.0.29.tar.gz
|
||||||
|
/drgn-0.0.31.tar.gz
|
||||||
|
|||||||
@ -1 +0,0 @@
|
|||||||
40a36081b89d0d3228cbc6fe2f0b25b0afe9a5ab SOURCES/drgn-0.0.31.tar.gz
|
|
||||||
20
changelog
Normal file
20
changelog
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
* Tue Jul 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.13-3
|
||||||
|
- Second attempt - Rebuilt for
|
||||||
|
https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Jun 8 2021 Davide Cavalca <dcavalca@fedoraproject.org> - 0.0.13-2
|
||||||
|
- Backport fix for s390x and drop the ExcludeArch
|
||||||
|
|
||||||
|
* Tue Jun 8 2021 Davide Cavalca <dcavalca@fedoraproject.org> - 0.0.13-1
|
||||||
|
- Update to 0.0.13
|
||||||
|
- Drop no longer needed ExcludeArch for armv7hl and i686
|
||||||
|
|
||||||
|
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.0.11-3
|
||||||
|
- Rebuilt for Python 3.10
|
||||||
|
|
||||||
|
* Tue Apr 6 2021 Davide Cavalca <dcavalca@fedoraproject.org> - 0.0.11-2
|
||||||
|
- Make doc subpackage noarch
|
||||||
|
- Add license file
|
||||||
|
|
||||||
|
* Tue Apr 6 2021 Davide Cavalca <dcavalca@fedoraproject.org> - 0.0.11-1
|
||||||
|
- Initial package.
|
||||||
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}
|
||||||
@ -15,7 +15,7 @@ scripting in Python.}
|
|||||||
|
|
||||||
Name: python-%{pypi_name}
|
Name: python-%{pypi_name}
|
||||||
Version: 0.0.31
|
Version: 0.0.31
|
||||||
Release: 4%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Programmable debugger
|
Summary: Programmable debugger
|
||||||
|
|
||||||
License: LGPL-2.1-or-later
|
License: LGPL-2.1-or-later
|
||||||
@ -24,9 +24,9 @@ Source0: %{pypi_source}
|
|||||||
|
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
BuildRequires: python3dist(setuptools)
|
BuildRequires: python3dist(setuptools)
|
||||||
BuildRequires: python3dist(sphinx)
|
|
||||||
%if %{with docs}
|
%if %{with docs}
|
||||||
BuildRequires: sed
|
BuildRequires: sed
|
||||||
|
BuildRequires: python3dist(sphinx)
|
||||||
BuildRequires: python3-docs
|
BuildRequires: python3-docs
|
||||||
BuildRequires: graphviz
|
BuildRequires: graphviz
|
||||||
%endif
|
%endif
|
||||||
@ -83,7 +83,6 @@ fi
|
|||||||
%build
|
%build
|
||||||
# verbose build
|
# verbose build
|
||||||
V=1 %py3_build
|
V=1 %py3_build
|
||||||
PYTHONPATH=${PWD} sphinx-build-3 -b man docs man docs/man/*
|
|
||||||
|
|
||||||
%if %{with docs}
|
%if %{with docs}
|
||||||
# generate html docs
|
# generate html docs
|
||||||
@ -96,8 +95,6 @@ rm -rf html/.{doctrees,buildinfo}
|
|||||||
%py3_install
|
%py3_install
|
||||||
mkdir -p %{buildroot}%{_datadir}/drgn
|
mkdir -p %{buildroot}%{_datadir}/drgn
|
||||||
cp -PR contrib tools %{buildroot}%{_datadir}/drgn
|
cp -PR contrib tools %{buildroot}%{_datadir}/drgn
|
||||||
mkdir -p %{buildroot}%{_mandir}/man1
|
|
||||||
cp -PR man/drgn.1* %{buildroot}%{_mandir}/man1
|
|
||||||
|
|
||||||
%if %{with tests}
|
%if %{with tests}
|
||||||
%check
|
%check
|
||||||
@ -110,7 +107,6 @@ cp -PR man/drgn.1* %{buildroot}%{_mandir}/man1
|
|||||||
%doc README.rst
|
%doc README.rst
|
||||||
%{_bindir}/drgn
|
%{_bindir}/drgn
|
||||||
%{_datadir}/drgn
|
%{_datadir}/drgn
|
||||||
%{_mandir}/man1/drgn.1*
|
|
||||||
%{python3_sitearch}/_%{pypi_name}.pyi
|
%{python3_sitearch}/_%{pypi_name}.pyi
|
||||||
%{python3_sitearch}/_%{pypi_name}.cpython*.so
|
%{python3_sitearch}/_%{pypi_name}.cpython*.so
|
||||||
%{python3_sitearch}/%{pypi_name}
|
%{python3_sitearch}/%{pypi_name}
|
||||||
@ -125,37 +121,43 @@ cp -PR man/drgn.1* %{buildroot}%{_mandir}/man1
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Wed Jul 16 2025 Philipp Rudo <prudo@redhat.com> - 0.0.31-4
|
|
||||||
- Fix regression in selftest introduced in 0.0.31-3
|
|
||||||
|
|
||||||
* Thu Jul 3 2025 Philipp Rudo <prudo@redhat.com> - 0.0.31-3
|
|
||||||
- Add man page for drgn
|
|
||||||
Resolves: RHEL-100318
|
|
||||||
|
|
||||||
* Wed May 28 2025 Philipp Rudo <prudo@redhat.com> - 0.0.31-2
|
* Wed May 28 2025 Philipp Rudo <prudo@redhat.com> - 0.0.31-2
|
||||||
- Rebuild for libkdumpfile 0.5.5
|
- Rebuild for libkdumpfile 0.5.5
|
||||||
Resolves: RHEL-86262
|
Resolves: RHEL-86263
|
||||||
|
|
||||||
* Fri May 16 2025 Philipp Rudo <prudo@redhat.com> - 0.0.31-1
|
* Fri May 16 2025 Philipp Rudo <prudo@redhat.com> - 0.0.31-1
|
||||||
- Rebase to upstream v0.0.31
|
- Rebase to upstream v0.0.31
|
||||||
Resolves: RHEL-86264
|
Resolves: RHEL-86265
|
||||||
|
|
||||||
* Mon Nov 11 2024 Philipp Rudo <prudo@redhat.com> - 0.0.29-1
|
* Mon Nov 11 2024 Philipp Rudo <prudo@redhat.com> - 0.0.29-1
|
||||||
- Rebase to upstream v0.0.29
|
- Rebase to upstream v0.0.29
|
||||||
Resolves: RHEL-61658
|
Resolves: RHEL-61657
|
||||||
|
|
||||||
* Thu Aug 8 2024 Tao Liu <ltao@redhat.com> - 0.0.24-4
|
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 0.0.25-8
|
||||||
|
- Bump release for October 2024 mass rebuild:
|
||||||
|
Resolves: RHEL-64018
|
||||||
|
|
||||||
|
* Thu Aug 8 2024 Tao Liu <ltao@redhat.com> - 0.0.25-7
|
||||||
- Enable brew-build.tier0.functional test
|
- Enable brew-build.tier0.functional test
|
||||||
|
- Remove autorelease and autochangelog
|
||||||
|
|
||||||
* Wed May 15 2024 Tao Liu <ltao@redhat.com> - 0.0.24-3
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 0.0.25-6
|
||||||
|
- Bump release for June 2024 mass rebuild
|
||||||
|
|
||||||
|
* Wed May 15 2024 Tao Liu <ltao@redhat.com> - 0.0.25-5
|
||||||
- Remove brew-build.tier0.functional test
|
- Remove brew-build.tier0.functional test
|
||||||
|
|
||||||
* Mon Oct 23 2023 Davide Cavalca <dcavalca@centosproject.org> - 0.0.24-2
|
* Thu May 02 2024 Philipp Rudo <prudo@redhat.com> - 0.0.25-4
|
||||||
- Import changelog from the EPEL package
|
- Add gating.yaml to RHEL-10 python-drgn
|
||||||
- Add gating.yaml to RHEL-9 python-drgn
|
|
||||||
|
|
||||||
* Tue Oct 10 2023 Tao Liu <ltao@redhat.com> - 0.0.24-1
|
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.25-3
|
||||||
- Import epel9 python-drgn to rhel9
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.25-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Dec 01 2023 Omar Sandoval <osandov@osandov.com> - 0.0.25-1
|
||||||
|
- Update to 0.0.25; Fixes: RHBZ#2252482
|
||||||
|
|
||||||
* Fri Sep 08 2023 Omar Sandoval <osandov@osandov.com> - 0.0.24-1
|
* Fri Sep 08 2023 Omar Sandoval <osandov@osandov.com> - 0.0.24-1
|
||||||
- Update to 0.0.24; Fixes: RHBZ#2238043
|
- Update to 0.0.24; Fixes: RHBZ#2238043
|
||||||
@ -189,57 +191,3 @@ cp -PR man/drgn.1* %{buildroot}%{_mandir}/man1
|
|||||||
|
|
||||||
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.19-3
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.19-3
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||||
|
|
||||||
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 0.0.19-2
|
|
||||||
- Rebuilt for Python 3.11
|
|
||||||
|
|
||||||
* Wed May 18 2022 Davide Cavalca <dcavalca@fedoraproject.org> - 0.0.19-1
|
|
||||||
- Update to 0.0.19; Fixes: RHBZ#2088180
|
|
||||||
|
|
||||||
* Thu Apr 21 2022 Michel Alexandre Salim <salimma@fedoraproject.org> - 0.0.18-3
|
|
||||||
- Rebuild for libkdumpfile 0.4.1
|
|
||||||
|
|
||||||
* Sun Mar 06 2022 Davide Cavalca <dcavalca@fedoraproject.org> - 0.0.18-2
|
|
||||||
- Backport fix for armv7hl
|
|
||||||
|
|
||||||
* Sun Mar 06 2022 Davide Cavalca <dcavalca@fedoraproject.org> - 0.0.18-1
|
|
||||||
- Update to 0.0.18; Fixes: RHBZ#2060295, RHBZ#2046872
|
|
||||||
|
|
||||||
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.16-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
||||||
|
|
||||||
* Thu Dec 09 2021 Omar Sandoval <osandov@osandov.com> - 0.0.16-1
|
|
||||||
- Update to 0.0.16
|
|
||||||
|
|
||||||
* Thu Dec 09 2021 Omar Sandoval <osandov@osandov.com> - 0.0.15-1
|
|
||||||
- Update to 0.0.15
|
|
||||||
|
|
||||||
* Tue Oct 26 2021 Davide Cavalca <dcavalca@fedoraproject.org> - 0.0.14-2
|
|
||||||
- Add support for building from git snapshots for packit
|
|
||||||
|
|
||||||
* Thu Aug 12 2021 Davide Cavalca <dcavalca@fedoraproject.org> - 0.0.14-1
|
|
||||||
- Update to 0.0.14; Fixes: RHBZ#1993354
|
|
||||||
|
|
||||||
* Thu Aug 12 2021 Davide Cavalca <dcavalca@fedoraproject.org> - 0.0.13-6
|
|
||||||
- Update descriptions
|
|
||||||
|
|
||||||
* Tue Jul 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.13-3
|
|
||||||
- Second attempt - Rebuilt for
|
|
||||||
https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
||||||
|
|
||||||
* Tue Jun 8 2021 Davide Cavalca <dcavalca@fedoraproject.org> - 0.0.13-2
|
|
||||||
- Backport fix for s390x and drop the ExcludeArch
|
|
||||||
|
|
||||||
* Tue Jun 8 2021 Davide Cavalca <dcavalca@fedoraproject.org> - 0.0.13-1
|
|
||||||
- Update to 0.0.13
|
|
||||||
- Drop no longer needed ExcludeArch for armv7hl and i686
|
|
||||||
|
|
||||||
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.0.11-3
|
|
||||||
- Rebuilt for Python 3.10
|
|
||||||
|
|
||||||
* Tue Apr 6 2021 Davide Cavalca <dcavalca@fedoraproject.org> - 0.0.11-2
|
|
||||||
- Make doc subpackage noarch
|
|
||||||
- Add license file
|
|
||||||
|
|
||||||
* Tue Apr 6 2021 Davide Cavalca <dcavalca@fedoraproject.org> - 0.0.11-1
|
|
||||||
- Initial package.
|
|
||||||
1
sources
Normal file
1
sources
Normal file
@ -0,0 +1 @@
|
|||||||
|
SHA512 (drgn-0.0.31.tar.gz) = 9a851e0968ad660c39ff3b26ff1f478a7622db8ddae0c35b60b2db8bc96f3b53e519e0782c1d57171cf45e02db60701d5958190df18b1a41c283a31feb7fc1d2
|
||||||
2
tests/README
Normal file
2
tests/README
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
initial tests:
|
||||||
|
run make check, which runs any selftests in the upstream source tarball
|
||||||
64
tests/selftest/Makefile
Normal file
64
tests/selftest/Makefile
Normal file
@ -0,0 +1,64 @@
|
|||||||
|
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
#
|
||||||
|
# Makefile of /CoreOS/patch/Sanity/selftest
|
||||||
|
# Description: Executes upstream test suite
|
||||||
|
# Author: Miroslav Vadkerti <mvadkert@redhat.com>
|
||||||
|
#
|
||||||
|
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
#
|
||||||
|
# Copyright (c) 2010 Red Hat, Inc. All rights reserved.
|
||||||
|
#
|
||||||
|
# This copyrighted material is made available to anyone wishing
|
||||||
|
# to use, modify, copy, or redistribute it subject to the terms
|
||||||
|
# and conditions of the GNU General Public License version 2.
|
||||||
|
#
|
||||||
|
# This program is distributed in the hope that it will be
|
||||||
|
# useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||||
|
# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||||
|
# PURPOSE. See the GNU General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU General Public
|
||||||
|
# License along with this program; if not, write to the Free
|
||||||
|
# Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||||
|
# Boston, MA 02110-1301, USA.
|
||||||
|
#
|
||||||
|
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
export TEST=/CoreOS/rng-tools/Sanity/selftest
|
||||||
|
export TESTVERSION=1.0
|
||||||
|
|
||||||
|
BUILT_FILES=
|
||||||
|
|
||||||
|
FILES=$(METADATA) runtest.sh Makefile PURPOSE
|
||||||
|
|
||||||
|
.PHONY: all install download clean
|
||||||
|
|
||||||
|
run: $(FILES) build
|
||||||
|
./runtest.sh
|
||||||
|
|
||||||
|
build: $(BUILT_FILES)
|
||||||
|
chmod a+x runtest.sh
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -f *~ $(BUILT_FILES)
|
||||||
|
|
||||||
|
|
||||||
|
include /usr/share/rhts/lib/rhts-make.include
|
||||||
|
|
||||||
|
$(METADATA): Makefile
|
||||||
|
@echo "Owner: Miroslav Vadkerti <mvadkert@redhat.com>" > $(METADATA)
|
||||||
|
@echo "Name: $(TEST)" >> $(METADATA)
|
||||||
|
@echo "TestVersion: $(TESTVERSION)" >> $(METADATA)
|
||||||
|
@echo "Path: $(TEST_DIR)" >> $(METADATA)
|
||||||
|
@echo "Description: Executes upstream test suite" >> $(METADATA)
|
||||||
|
@echo "Type: Sanity" >> $(METADATA)
|
||||||
|
@echo "TestTime: 30m" >> $(METADATA)
|
||||||
|
@echo "RunFor: patch" >> $(METADATA)
|
||||||
|
@echo "Requires: patch gcc rpm-build automake libselinux-devel ed libattr-devel" >> $(METADATA)
|
||||||
|
@echo "Priority: Normal" >> $(METADATA)
|
||||||
|
@echo "License: GPLv2" >> $(METADATA)
|
||||||
|
@echo "Confidential: no" >> $(METADATA)
|
||||||
|
@echo "Destructive: no" >> $(METADATA)
|
||||||
|
@echo "Releases: -RHEL3 -RHEL4 -RHELServer5 -RHELClient5" >> $(METADATA)
|
||||||
|
|
||||||
|
rhts-lint $(METADATA)
|
||||||
4
tests/selftest/PURPOSE
Normal file
4
tests/selftest/PURPOSE
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
PURPOSE of python-drgn/tests/selftest
|
||||||
|
Description: Executes selftest to validate integrity of python-drgn
|
||||||
|
Author: Tao Liu <ltao@redhat.com>
|
||||||
|
|
||||||
68
tests/selftest/runtest.sh
Executable file
68
tests/selftest/runtest.sh
Executable file
@ -0,0 +1,68 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
# vim: dict=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k
|
||||||
|
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
#
|
||||||
|
# runtest.sh of /CoreOS/rng-tools/Sanity/selftest
|
||||||
|
# Description: Executes the upstream test suite comming with the package
|
||||||
|
# Author: Miroslav Vadkerti <mvadkert@redhat.com>
|
||||||
|
#
|
||||||
|
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
#
|
||||||
|
# Copyright (c) 2010 Red Hat, Inc. All rights reserved.
|
||||||
|
#
|
||||||
|
# This copyrighted material is made available to anyone wishing
|
||||||
|
# to use, modify, copy, or redistribute it subject to the terms
|
||||||
|
# and conditions of the GNU General Public License version 2.
|
||||||
|
#
|
||||||
|
# This program is distributed in the hope that it will be
|
||||||
|
# useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||||
|
# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||||
|
# PURPOSE. See the GNU General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU General Public
|
||||||
|
# License along with this program; if not, write to the Free
|
||||||
|
# Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||||
|
# Boston, MA 02110-1301, USA.
|
||||||
|
#
|
||||||
|
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
# Include rhts environment
|
||||||
|
. /usr/bin/rhts-environment.sh || exit 1
|
||||||
|
. /usr/share/beakerlib/beakerlib.sh || exit 1
|
||||||
|
|
||||||
|
PACKAGE="python-drgn"
|
||||||
|
PACKAGES="drgn python3-devel python3-setuptools sed python3-pytest gcc-c++ make bzip2-devel elfutils-devel libkdumpfile-devel xz-devel autoconf automake libtool zlib-ng-compat-devel"
|
||||||
|
UPSTREAMPKG="python-drgn-*"
|
||||||
|
BUILDLOG=`mktemp`
|
||||||
|
TESTLOG=`mktemp`
|
||||||
|
TARGET=$(echo `uname -m` | egrep ppc)
|
||||||
|
if [[ $TARGET != "" ]]; then TARGET="--target `uname -m`"; fi
|
||||||
|
TOPDIR=`mktemp -d`
|
||||||
|
SPEC="$TOPDIR/SPECS/$PACKAGE*.spec"
|
||||||
|
TESTDIR="$TOPDIR/BUILD/$UPSTREAMPKG/"
|
||||||
|
|
||||||
|
rlJournalStart
|
||||||
|
rlPhaseStartSetup
|
||||||
|
for PKG in $PACKAGES; do
|
||||||
|
rlAssertRpm $PKG
|
||||||
|
done
|
||||||
|
rlPhaseEnd
|
||||||
|
rlPhaseStartTest
|
||||||
|
rlFetchSrcForInstalled drgn
|
||||||
|
rlRun "rpm -ivh --define '_topdir $TOPDIR' $PACKAGE*.src.rpm" 0 "Installing $PACKAGE src rpm"
|
||||||
|
echo "+ Building $PACKAGE (Log: $BUILDLOG)"
|
||||||
|
echo "+ Build command: rpmbuild -bc $SPEC $TARGET"
|
||||||
|
rlRun "rpmbuild --define '_package_note_flags %nil' --define '_topdir $TOPDIR' -bc $SPEC $TARGET &> $BUILDLOG"
|
||||||
|
if [ $? -eq 0 ]
|
||||||
|
then
|
||||||
|
rlPass "Selftest Passed"
|
||||||
|
else
|
||||||
|
rlFail "Selftest Failed"
|
||||||
|
fi
|
||||||
|
rlPhaseEnd
|
||||||
|
|
||||||
|
rlPhaseStartCleanup
|
||||||
|
rlRun "rm -rf $PACKAGE*.src.rpm" 0 "Removing source rpm"
|
||||||
|
rlPhaseEnd
|
||||||
|
rlJournalPrintText
|
||||||
|
rlJournalEnd
|
||||||
26
tests/tests.yml
Normal file
26
tests/tests.yml
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
---
|
||||||
|
# This first play always runs on the local staging system
|
||||||
|
- hosts: localhost
|
||||||
|
roles:
|
||||||
|
- role: standard-test-beakerlib
|
||||||
|
tags:
|
||||||
|
- classic
|
||||||
|
tests:
|
||||||
|
- selftest
|
||||||
|
required_packages:
|
||||||
|
- drgn
|
||||||
|
- python3-devel
|
||||||
|
- python3-setuptools
|
||||||
|
- sed
|
||||||
|
- python3-pytest
|
||||||
|
- gcc-c++
|
||||||
|
- make
|
||||||
|
- bzip2-devel
|
||||||
|
- elfutils-devel
|
||||||
|
- elfutils-debuginfod-client-devel
|
||||||
|
- libkdumpfile-devel
|
||||||
|
- xz-devel
|
||||||
|
- autoconf
|
||||||
|
- automake
|
||||||
|
- libtool
|
||||||
|
- zlib-ng-compat-devel
|
||||||
Loading…
Reference in New Issue
Block a user