public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/perl-Sys-Virt] epel10: - new upstream version
@ 2026-06-29 14:31 
  0 siblings, 0 replies; only message in thread
From:  @ 2026-06-29 14:31 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/perl-Sys-Virt
            Branch : epel10
            Commit : e6bf417d4c3afde139959ec5b4378bfa804fb5d0
            Author : Štěpán Kasal <kasal@fedoraproject.org>
            Date   : 2009-08-26T15:03:35+00:00
            Stats  : +12/-78 in 4 file(s)
            URL    : https://src.fedoraproject.org/rpms/perl-Sys-Virt/c/e6bf417d4c3afde139959ec5b4378bfa804fb5d0?branch=epel10

            Log:
            - new upstream version
- remove upstreamed patch

---
diff --git a/.cvsignore b/.cvsignore
index b9a1f37..7b3f413 100644
--- a/.cvsignore
+++ b/.cvsignore
@@ -1 +1 @@
-Sys-Virt-0.2.0.tar.gz
+Sys-Virt-0.2.1.tar.gz

diff --git a/perl-Sys-Virt-free.patch b/perl-Sys-Virt-free.patch
deleted file mode 100644
index f991bae..0000000
--- a/perl-Sys-Virt-free.patch
+++ /dev/null
@@ -1,68 +0,0 @@
-2009-03-30  Stepan Kasal  <skasal@redhat.com>
-
-	* Virt.xs: call Safefree before bailing out.
-
-Adapted from a similar patch to Sys-Virt-0.1.2.
-
-diff -urpN Sys-Virt-0.2.0.orig/Virt.xs Sys-Virt-0.2.0/Virt.xs
---- Sys-Virt-0.2.0.orig/Virt.xs	2009-03-27 20:45:33.000000000 +0100
-+++ Sys-Virt-0.2.0/Virt.xs	2009-03-30 16:51:16.000000000 +0200
-@@ -670,6 +670,7 @@ list_domain_ids(con, maxids)
-   PPCODE:
-       Newx(ids, maxids, int);
-       if ((nid = virConnectListDomains(con, ids, maxids)) < 0) {
-+        Safefree(ids);
- 	_croak_error(virConnGetLastError(con));
-       }
-       EXTEND(SP, nid);
-@@ -700,7 +701,7 @@ list_defined_domain_names(con, maxnames)
-   PPCODE:
-       Newx(names, maxnames, char *);
-       if ((ndom = virConnectListDefinedDomains(con, names, maxnames)) < 0) {
--	free(names);
-+	Safefree(names);
- 	_croak_error(virConnGetLastError(con));
-       }
-       EXTEND(SP, ndom);
-@@ -731,6 +732,7 @@ list_network_names(con, maxnames)
-   PPCODE:
-       Newx(names, maxnames, char *);
-       if ((nnet = virConnectListNetworks(con, names, maxnames)) < 0) {
-+        Safefree(names);
- 	_croak_error(virConnGetLastError(con));
-       }
-       EXTEND(SP, nnet);
-@@ -762,7 +764,7 @@ list_defined_network_names(con, maxnames
-   PPCODE:
-       Newx(names, maxnames, char *);
-       if ((ndom = virConnectListDefinedNetworks(con, names, maxnames)) < 0) {
--	free(names);
-+	Safefree(names);
- 	_croak_error(virConnGetLastError(con));
-       }
-       EXTEND(SP, ndom);
-@@ -793,6 +795,7 @@ list_storage_pool_names(con, maxnames)
-   PPCODE:
-       Newx(names, maxnames, char *);
-       if ((nnet = virConnectListStoragePools(con, names, maxnames)) < 0) {
-+        Safefree(names);
- 	_croak_error(virConnGetLastError(con));
-       }
-       EXTEND(SP, nnet);
-@@ -824,7 +827,7 @@ list_defined_storage_pool_names(con, max
-   PPCODE:
-       Newx(names, maxnames, char *);
-       if ((ndom = virConnectListDefinedStoragePools(con, names, maxnames)) < 0) {
--	free(names);
-+	Safefree(names);
- 	_croak_error(virConnGetLastError(con));
-       }
-       EXTEND(SP, ndom);
-@@ -859,6 +862,7 @@ list_node_device_names(con, cap, maxname
-   PPCODE:
-       Newx(names, maxnames, char *);
-       if ((nnet = virNodeListDevices(con, cap, names, maxnames, flags)) < 0) {
-+        Safefree(names);
- 	_croak_error(virConnGetLastError(con));
-       }
-       EXTEND(SP, nnet);

diff --git a/perl-Sys-Virt.spec b/perl-Sys-Virt.spec
index 137831a..7687c4b 100644
--- a/perl-Sys-Virt.spec
+++ b/perl-Sys-Virt.spec
@@ -1,18 +1,17 @@
 Name:           perl-Sys-Virt
-Version:        0.2.0
-Release:        3%{?dist}
+Version:        0.2.1
+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:         %{name}-free.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.6.1
+BuildRequires:  libvirt-devel >= 0.6.4
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
 %description
@@ -22,7 +21,6 @@ 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
@@ -41,9 +39,9 @@ rm -rf $RPM_BUILD_ROOT
 
 make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
 
-find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
-find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
-find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
+find $RPM_BUILD_ROOT -type f \( -name .packlist -o -name '*.bs' -empty \) |
+	xargs rm -f
+find $RPM_BUILD_ROOT -depth -type d -empty -exec rmdir {} \;
 
 %{_fixperms} $RPM_BUILD_ROOT/*
 
@@ -61,6 +59,10 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man3/*
 
 %changelog
+* Wed Aug 26 2009 Stepan Kasal <skasal@redhat.com> - 0.2.1-1
+- new upstream version
+- remove upstreamed patch
+
 * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.0-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
 

diff --git a/sources b/sources
index c61c6d4..f245f5e 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-c8968a476c9130521b317f9f729a22d9  Sys-Virt-0.2.0.tar.gz
+d87ebf92922a66412124b0ee9544dd6d  Sys-Virt-0.2.1.tar.gz

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-29 14:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-29 14:31 [rpms/perl-Sys-Virt] epel10: - new upstream version 

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox