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

            A new commit has been pushed.

            Repo   : rpms/perl-Sys-Virt
            Branch : epel10
            Commit : cce76eba246204435e92f236a8d83efc188e8592
            Author : Petr Šabata <contyk@redhat.com>
            Date   : 2015-05-06T10:06:40+02:00
            Stats  : +35/-30 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/perl-Sys-Virt/c/cce76eba246204435e92f236a8d83efc188e8592?branch=epel10

            Log:
            1.2.15 bump

- Sanitize the spec
- Correct the dependency list

---
diff --git a/perl-Sys-Virt.spec b/perl-Sys-Virt.spec
index b4d6279..53a42cd 100644
--- a/perl-Sys-Virt.spec
+++ b/perl-Sys-Virt.spec
@@ -1,21 +1,31 @@
-# Automatically generated by perl-Sys-Virt.spec.PL
-
 Name:           perl-Sys-Virt
-Version:        1.2.14
-Release:        1%{?dist}%{?extra_release}
+Version:        1.2.15
+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
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildRequires:  perl(ExtUtils::MakeMaker)
-BuildRequires:  perl(Test::Pod)
-BuildRequires:  perl(Test::Pod::Coverage)
-BuildRequires:  perl(Test::CPAN::Changes)
-BuildRequires:  perl(XML::XPath)
-BuildRequires:  perl(Time::HiRes)
 BuildRequires:  libvirt-devel >= %{version}
+# Build
+BuildRequires:  perl
+BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
+# Runtime
+BuildRequires:  perl(overload)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(warnings)
+BuildRequires:  perl(XSLoader)
+# Tests only
+BuildRequires:  perl(base)
+BuildRequires:  perl(Sys::Hostname)
+BuildRequires:  perl(Test::More)
+BuildRequires:  perl(Time::HiRes)
+BuildRequires:  perl(XML::XPath)
+BuildRequires:  perl(XML::XPath::XMLParser)
+# Optional tests only
+BuildRequires:  perl(Test::CPAN::Changes)
+BuildRequires:  perl(Test::Pod) >= 1.00
+BuildRequires:  perl(Test::Pod::Coverage) >= 1.00
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
 %description
@@ -25,40 +35,35 @@ virtualization containers to be managed with a consistent API.
 
 %prep
 %setup -q -n Sys-Virt-%{version}
-
-sed -i -e '/Sys-Virt\.spec/d' Makefile.PL
-sed -i -e '/\.spec\.PL$/d' MANIFEST
+#sed -i -e '/Sys-Virt\.spec/d' Makefile.PL
+#sed -i -e '/\.spec\.PL$/d' MANIFEST
 rm -f *.spec.PL
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
+perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" NO_PACKLIST=1
 make %{?_smp_mflags}
 
 %install
-rm -rf $RPM_BUILD_ROOT
-
-make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
-
-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/*
+make pure_install DESTDIR=%{buildroot}
+find %{buildroot} -type f -name '*.bs' -empty -exec rm -f {} +
+%{_fixperms} %{buildroot}/*
 
 %check
 make test
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
-%defattr(-,root,root,-)
-%doc AUTHORS Changes LICENSE README examples/
+%license LICENSE
+%doc AUTHORS Changes README examples/
 %{perl_vendorarch}/auto/*
 %{perl_vendorarch}/Sys*
 %{_mandir}/man3/*
 
 %changelog
+* Wed May 06 2015 Petr Šabata <contyk@redhat.com> - 1.2.15-1
+- 1.2.15 bump
+- Sanitize the spec
+- Correct the dependency list
+
 * Thu Apr  9 2015 Daniel P. Berrange <berrange@redhat.com> - 1.2.14-1
 - Update to 1.2.14 release
 

diff --git a/sources b/sources
index be1c272..7a8fea3 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-092f7156ad2435d61869003b0d43adf6  Sys-Virt-1.2.14.tar.gz
+42c4eb2d1272a9526d7ba8dfd5168364  Sys-Virt-1.2.15.tar.gz

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

only message in thread, other threads:[~2026-06-29 14:32 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:32 [rpms/perl-Sys-Virt] epel10: 1.2.15 bump 

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