public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/perl-Sys-Virt] epel10.2: 1.2.15 bump
Date: Tue, 30 Jun 2026 07:31:00 GMT	[thread overview]
Message-ID: <178280466036.1.16297775290710470480.rpms-perl-Sys-Virt-cce76eba2462@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/perl-Sys-Virt
            Branch : epel10.2
            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.2

            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

                 reply	other threads:[~2026-06-30  7:31 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=178280466036.1.16297775290710470480.rpms-perl-Sys-Virt-cce76eba2462@fedoraproject.org \
    --to=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