public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Daniel P. Berrange <berrange@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/perl-Sys-Virt] epel10: Update to 0.2.7 release
Date: Mon, 29 Jun 2026 14:32:02 GMT	[thread overview]
Message-ID: <178274352255.1.3350409951988495207.rpms-perl-Sys-Virt-350c2c75a5d4@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/perl-Sys-Virt
Branch : epel10
Commit : 350c2c75a5d4ed6e435505ca85bc6e9eb4094b01
Author : Daniel P. Berrange <berrange@redhat.com>
Date   : 2011-06-29T11:52:19+01:00
Stats  : +7/-164 in 4 file(s)
URL    : https://src.fedoraproject.org/rpms/perl-Sys-Virt/c/350c2c75a5d4ed6e435505ca85bc6e9eb4094b01?branch=epel10

Log:
Update to 0.2.7 release

---
diff --git a/Sys-Virt-0.2.6-get_xml_description-flags.patch b/Sys-Virt-0.2.6-get_xml_description-flags.patch
deleted file mode 100644
index 60dd0b7..0000000
--- a/Sys-Virt-0.2.6-get_xml_description-flags.patch
+++ /dev/null
@@ -1,140 +0,0 @@
-commit 1584802db490cd459c07040cc636fd6f1ec35804
-Author: Daniel P. Berrange <berrange@redhat.com>
-Date:   Wed May 18 15:20:26 2011 +0100
-
-    Honour the flags parameter in all XML getters
-    
-    * Virt.xs: Add flags parameter to all get_xml_description methods
-
-diff --git a/Virt.xs b/Virt.xs
-index 3e42bf2..129d2f3 100644
---- a/Virt.xs
-+++ b/Virt.xs
-@@ -2162,12 +2162,13 @@ get_os_type(dom)
-       RETVAL
- 
- SV *
--get_xml_description(dom)
-+get_xml_description(dom, flags=0)
-       virDomainPtr dom;
-+      unsigned int flags;
-   PREINIT:
-       char *xml;
-     CODE:
--      if (!(xml = virDomainGetXMLDesc(dom, 0))) {
-+      if (!(xml = virDomainGetXMLDesc(dom, flags))) {
- 	 _croak_error(virConnGetLastError(virDomainGetConnect(dom)));
-       }
-       RETVAL = newSVpv(xml, 0);
-@@ -2738,12 +2739,13 @@ get_bridge_name(net)
-       RETVAL
- 
- SV *
--get_xml_description(net)
-+get_xml_description(net, flags=0)
-       virNetworkPtr net;
-+      unsigned int flags;
-   PREINIT:
-       char *xml;
-     CODE:
--      if (!(xml = virNetworkGetXMLDesc(net, 0))) {
-+      if (!(xml = virNetworkGetXMLDesc(net, flags))) {
- 	 _croak_error(virConnGetLastError(virNetworkGetConnect(net)));
-       }
-       RETVAL = newSVpv(xml, 0);
-@@ -2945,12 +2947,13 @@ is_persistent(pool)
- 
- 
- SV *
--get_xml_description(pool)
-+get_xml_description(pool, flags=0)
-       virStoragePoolPtr pool;
-+      unsigned int flags;
-   PREINIT:
-       char *xml;
-     CODE:
--      if (!(xml = virStoragePoolGetXMLDesc(pool, 0))) {
-+      if (!(xml = virStoragePoolGetXMLDesc(pool, flags))) {
- 	 _croak_error(virConnGetLastError(virStoragePoolGetConnect(pool)));
-       }
-       RETVAL = newSVpv(xml, 0);
-@@ -3192,12 +3195,13 @@ get_path(vol)
- 
- 
- SV *
--get_xml_description(vol)
-+get_xml_description(vol, flags=0)
-       virStorageVolPtr vol;
-+      unsigned int flags;
-   PREINIT:
-       char *xml;
-     CODE:
--      if (!(xml = virStorageVolGetXMLDesc(vol, 0))) {
-+      if (!(xml = virStorageVolGetXMLDesc(vol, flags))) {
- 	 _croak_error(virConnGetLastError(virStorageVolGetConnect(vol)));
-       }
-       RETVAL = newSVpv(xml, 0);
-@@ -3302,12 +3306,13 @@ get_parent(dev)
- 
- 
- SV *
--get_xml_description(dev)
-+get_xml_description(dev, flags=0)
-       virNodeDevicePtr dev;
-+      unsigned int flags;
-   PREINIT:
-       char *xml;
-     CODE:
--      if (!(xml = virNodeDeviceGetXMLDesc(dev, 0))) {
-+      if (!(xml = virNodeDeviceGetXMLDesc(dev, flags))) {
- 	_croak_error(virGetLastError());
-       }
-       RETVAL = newSVpv(xml, 0);
-@@ -3457,12 +3462,13 @@ is_active(iface)
- 
- 
- SV *
--get_xml_description(iface)
-+get_xml_description(iface, flags=0)
-       virInterfacePtr iface;
-+      unsigned int flags;
-   PREINIT:
-       char *xml;
-     CODE:
--      if (!(xml = virInterfaceGetXMLDesc(iface, 0))) {
-+      if (!(xml = virInterfaceGetXMLDesc(iface, flags))) {
- 	 _croak_error(virConnGetLastError(virInterfaceGetConnect(iface)));
-       }
-       RETVAL = newSVpv(xml, 0);
-@@ -3610,12 +3616,13 @@ get_usage_type(sec)
- 
- 
- SV *
--get_xml_description(sec)
-+get_xml_description(sec, flags=0)
-       virSecretPtr sec;
-+      unsigned int flags;
-   PREINIT:
-       char *xml;
-     CODE:
--      if (!(xml = virSecretGetXMLDesc(sec, 0))) {
-+      if (!(xml = virSecretGetXMLDesc(sec, flags))) {
- 	 _croak_error(virConnGetLastError(virSecretGetConnect(sec)));
-       }
-       RETVAL = newSVpv(xml, 0);
-@@ -3761,12 +3768,13 @@ get_name(filter)
- 
- 
- SV *
--get_xml_description(filter)
-+get_xml_description(filter, flags=0)
-       virNWFilterPtr filter;
-+      unsigned int flags;
-   PREINIT:
-       char *xml;
-     CODE:
--      if (!(xml = virNWFilterGetXMLDesc(filter, 0))) {
-+      if (!(xml = virNWFilterGetXMLDesc(filter, flags))) {
- 	_croak_error(virGetLastError());
-       }
-       RETVAL = newSVpv(xml, 0);

diff --git a/Sys-Virt-0.2.6-xpath-cast.patch b/Sys-Virt-0.2.6-xpath-cast.patch
deleted file mode 100644
index 9712d3b..0000000
--- a/Sys-Virt-0.2.6-xpath-cast.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-diff --git a/t/100-connect.t b/t/100-connect.t
-index 3cf7634..98183b7 100644
---- a/t/100-connect.t
-+++ b/t/100-connect.t
-@@ -46,9 +46,9 @@ my $guestword = $xp->find("string(/capabilities/guest[1]/arch/wordsize)");
- is($guestword, "32", "wordsize");
- my $guesttype = $xp->find("string(/capabilities/guest[1]/arch/domain/\@type)");
- is($guesttype, "test", "type");
--my $guestpae = $xp->find("count(/capabilities/guest[1]/features/pae)");
-+my $guestpae = int($xp->find("count(/capabilities/guest[1]/features/pae)"));
- is($guestpae,  1, "pae");
--my $guestnonpae = $xp->find("count(/capabilities/guest[1]/features/nonpae)");
-+my $guestnonpae = int($xp->find("count(/capabilities/guest[1]/features/nonpae)"));
- is($guestnonpae, 1, "nonpae");
- 
- my $ver = $conn->get_version();

diff --git a/perl-Sys-Virt.spec b/perl-Sys-Virt.spec
index f8e80fe..0d3d83b 100644
--- a/perl-Sys-Virt.spec
+++ b/perl-Sys-Virt.spec
@@ -1,19 +1,17 @@
 Name:           perl-Sys-Virt
-Version:        0.2.6
-Release:        3%{?dist}
+Version:        0.2.7
+Release:        1%{?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}-xpath-cast.patch
-Patch2:         Sys-Virt-%{version}-get_xml_description-flags.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires:  perl(ExtUtils::MakeMaker)
 BuildRequires:  perl(Test::Pod)
 BuildRequires:  perl(Test::Pod::Coverage)
 BuildRequires:  perl(XML::XPath)
-BuildRequires:  libvirt-devel >= 0.8.1
+BuildRequires:  libvirt-devel >= 0.8.8
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
 %description
@@ -23,8 +21,6 @@ virtualization containers to be managed with a consistent API.
 
 %prep
 %setup -q -n Sys-Virt-%{version}
-%patch1 -p1
-%patch2 -p1
 
 sed -i -e '/Sys-Virt\.spec/d' Makefile.PL
 sed -i -e '/\.spec\.PL$/d' MANIFEST
@@ -59,6 +55,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man3/*
 
 %changelog
+* Wed Jun 29 2011 Daniel P. Berrange <berrange@redhat.com> - 0.2.7-1
+- Update to 0.2.7 release
+
 * Thu May 19 2011 Matthew Booth <mbooth@redhat.com> - 0.2.6-3
 - Backport get_xml_description with flags
 

diff --git a/sources b/sources
index bd60c3b..05aa6c5 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-a4ca5735791e132320bd8546c5deacae  Sys-Virt-0.2.6.tar.gz
+968641ea0f85c6ad25ed13ba235f06ff  Sys-Virt-0.2.7.tar.gz

                 reply	other threads:[~2026-06-29 14:32 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178274352255.1.3350409951988495207.rpms-perl-Sys-Virt-350c2c75a5d4@fedoraproject.org \
    --to=berrange@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox