public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/perl-Sys-Virt] epel10.2: Re-add virDomainAbortJob binding accidentally removed
@ 2026-06-30 7:30 Daniel P. Berrange
0 siblings, 0 replies; only message in thread
From: Daniel P. Berrange @ 2026-06-30 7:30 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/perl-Sys-Virt
Branch : epel10.2
Commit : f550ca124dc1aa9dd0cca1a5727d0a9f3443dc7e
Author : Daniel P. Berrange <berrange@redhat.com>
Date : 2011-08-03T17:30:58+01:00
Stats : +32/-1 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/perl-Sys-Virt/c/f550ca124dc1aa9dd0cca1a5727d0a9f3443dc7e?branch=epel10.2
Log:
Re-add virDomainAbortJob binding accidentally removed
---
diff --git a/Sys-Virt-0.9.4-abort-job.patch b/Sys-Virt-0.9.4-abort-job.patch
new file mode 100644
index 0000000..d2b4ed2
--- /dev/null
+++ b/Sys-Virt-0.9.4-abort-job.patch
@@ -0,0 +1,26 @@
+commit 9aab5b096e035064f328c74a55d0a1cf0d1dc29f
+Author: Daniel P. Berrange <berrange@redhat.com>
+Date: Wed Aug 3 17:21:25 2011 +0100
+
+ Re-add virDomainAbortJob binding accidentally removed
+
+diff --git a/Virt.xs b/Virt.xs
+index e798a27..b8e17f9 100644
+--- a/Virt.xs
++++ b/Virt.xs
+@@ -2258,6 +2258,15 @@ get_job_info(dom)
+
+
+ void
++abort_job(dom)
++ virDomainPtr dom;
++ PPCODE:
++ if (virDomainAbortJob(dom) < 0) {
++ _croak_error(virGetLastError());
++ }
++
++
++void
+ abort_block_job(dom, path, flags=0)
+ virDomainPtr dom;
+ const char *path;
diff --git a/perl-Sys-Virt.spec b/perl-Sys-Virt.spec
index 03e9ca7..64fa139 100644
--- a/perl-Sys-Virt.spec
+++ b/perl-Sys-Virt.spec
@@ -1,11 +1,12 @@
Name: perl-Sys-Virt
Version: 0.9.4
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Represent and manage a libvirt hypervisor connection
License: GPLv2+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Sys-Virt/
Source0: http://www.cpan.org/authors/id/D/DA/DANBERR/Sys-Virt-%{version}.tar.gz
+Patch1: Sys-Virt-%{version}-abort-job.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Test::Pod)
@@ -21,6 +22,7 @@ virtualization containers to be managed with a consistent API.
%prep
%setup -q -n Sys-Virt-%{version}
+%patch1 -p1
sed -i -e '/Sys-Virt\.spec/d' Makefile.PL
sed -i -e '/\.spec\.PL$/d' MANIFEST
@@ -55,6 +57,9 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man3/*
%changelog
+* Wed Aug 3 2011 Daniel P. Berrange <berrange@redhat.com> - 0.9.4-2
+- Re-add virDomainAbortJob API binding accidentally removed
+
* Wed Aug 3 2011 Daniel P. Berrange <berrange@redhat.com> - 0.9.4-1
- Update to 0.9.4 release
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-30 7:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-30 7:30 [rpms/perl-Sys-Virt] epel10.2: Re-add virDomainAbortJob binding accidentally removed Daniel P. Berrange
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox