Compare commits

...

No commits in common. "imports/c10s/python-drgn-0.0.31-3.el10" and "c9-beta" have entirely different histories.

12 changed files with 71 additions and 234 deletions

16
.gitignore vendored
View File

@ -1,15 +1 @@
/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
SOURCES/drgn-0.0.31.tar.gz

1
.python-drgn.metadata Normal file
View File

@ -0,0 +1 @@
40a36081b89d0d3228cbc6fe2f0b25b0afe9a5ab SOURCES/drgn-0.0.31.tar.gz

View File

@ -1,3 +0,0 @@
# python-drgn
The python-drgn package

View File

@ -15,7 +15,7 @@ scripting in Python.}
Name: python-%{pypi_name}
Version: 0.0.31
Release: 3%{?dist}
Release: 4%{?dist}
Summary: Programmable debugger
License: LGPL-2.1-or-later
@ -125,47 +125,37 @@ cp -PR man/drgn.1* %{buildroot}%{_mandir}/man1
%endif
%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-97801
Resolves: RHEL-100318
* Wed May 28 2025 Philipp Rudo <prudo@redhat.com> - 0.0.31-2
- Rebuild for libkdumpfile 0.5.5
Resolves: RHEL-86263
Resolves: RHEL-86262
* Fri May 16 2025 Philipp Rudo <prudo@redhat.com> - 0.0.31-1
- Rebase to upstream v0.0.31
Resolves: RHEL-86265
Resolves: RHEL-86264
* Mon Nov 11 2024 Philipp Rudo <prudo@redhat.com> - 0.0.29-1
- Rebase to upstream v0.0.29
Resolves: RHEL-61657
Resolves: RHEL-61658
* 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
* Thu Aug 8 2024 Tao Liu <ltao@redhat.com> - 0.0.24-4
- Enable brew-build.tier0.functional test
- Remove autorelease and autochangelog
* 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
* Wed May 15 2024 Tao Liu <ltao@redhat.com> - 0.0.24-3
- Remove brew-build.tier0.functional test
* Thu May 02 2024 Philipp Rudo <prudo@redhat.com> - 0.0.25-4
- Add gating.yaml to RHEL-10 python-drgn
* Mon Oct 23 2023 Davide Cavalca <dcavalca@centosproject.org> - 0.0.24-2
- Import changelog from the EPEL package
- Add gating.yaml to RHEL-9 python-drgn
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.25-3
- 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
* Tue Oct 10 2023 Tao Liu <ltao@redhat.com> - 0.0.24-1
- Import epel9 python-drgn to rhel9
* Fri Sep 08 2023 Omar Sandoval <osandov@osandov.com> - 0.0.24-1
- Update to 0.0.24; Fixes: RHBZ#2238043
@ -199,3 +189,57 @@ cp -PR man/drgn.1* %{buildroot}%{_mandir}/man1
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.19-3
- 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.

View File

@ -1,20 +0,0 @@
* 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.

View File

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

View File

@ -1 +0,0 @@
SHA512 (drgn-0.0.31.tar.gz) = 9a851e0968ad660c39ff3b26ff1f478a7622db8ddae0c35b60b2db8bc96f3b53e519e0782c1d57171cf45e02db60701d5958190df18b1a41c283a31feb7fc1d2

View File

@ -1,2 +0,0 @@
initial tests:
run make check, which runs any selftests in the upstream source tarball

View File

@ -1,64 +0,0 @@
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
# 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)

View File

@ -1,4 +0,0 @@
PURPOSE of python-drgn/tests/selftest
Description: Executes selftest to validate integrity of python-drgn
Author: Tao Liu <ltao@redhat.com>

View File

@ -1,68 +0,0 @@
#!/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

View File

@ -1,26 +0,0 @@
---
# 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