X-Git-Url: https://git.pld-linux.org/?a=blobdiff_plain;f=perl-Sys-Virt.spec;h=98492fcc7020f7525d4dfe50f54ac5596946ecd0;hb=c59ff65142696c1a37fa0511474f6d3308dbe9dc;hp=878f1c8b865a2aceaf74a5dd4688fc4cf114e3e9;hpb=faebc589d181471457725687b7be8e100380f038;p=packages%2Fperl-Sys-Virt.git diff --git a/perl-Sys-Virt.spec b/perl-Sys-Virt.spec index 878f1c8..98492fc 100644 --- a/perl-Sys-Virt.spec +++ b/perl-Sys-Virt.spec @@ -7,15 +7,14 @@ Summary: Sys::Virt - Represent and manage a libvirt hypervisor connection Summary(pl.UTF-8): Sys::Virt - reprezentacja i zarządzanie połączeniem z hipernadzorcą libvirt Name: perl-Sys-Virt -Version: 2.5.0 -Release: 6 +Version: 6.3.0 +Release: 1 License: GPL v2+ or Artistic Group: Development/Languages/Perl -Source0: http://www.cpan.org/modules/by-module/Sys/%{pdir}-%{pnam}-%{version}.tar.gz -# Source0-md5: d07fca31367bef924ffe5c62e0d5f18a -Patch0: no-dot-in-inc.patch -URL: http://search.cpan.org/dist/Sys-Virt/ -BuildRequires: libvirt-devel >= 1.2.19 +Source0: http://www.cpan.org/modules/by-module/Sys/%{pdir}-%{pnam}-v%{version}.tar.gz +# Source0-md5: 08450ac24eca20d8e96fe3f9d644ccb7 +URL: https://metacpan.org/release/Sys-Virt +BuildRequires: libvirt-devel >= 6.3.0 BuildRequires: perl-devel >= 1:5.8.0 BuildRequires: pkgconfig BuildRequires: rpm-perlprov >= 4.1-13 @@ -28,7 +27,7 @@ BuildRequires: perl-Test-Simple BuildRequires: perl-Time-HiRes BuildRequires: perl-XML-XPath %endif -Requires: libvirt >= 1.2.19 +Requires: libvirt >= 6.3.0 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description @@ -43,12 +42,12 @@ jednolite API maszynami wirtualnymi działającymi w dowolnych kontenerach. %prep -%setup -q -n %{pdir}-%{pnam}-%{version} -%patch0 -p1 +%setup -q -n %{pdir}-%{pnam}-v%{version} %build %{__perl} Makefile.PL \ INSTALLDIRS=vendor + %{__make} -j1 \ CC="%{__cc}" \ OPTIMIZE="%{rpmcflags}" @@ -61,6 +60,8 @@ rm -rf $RPM_BUILD_ROOT %{__make} pure_install \ DESTDIR=$RPM_BUILD_ROOT +%{__rm} $RPM_BUILD_ROOT%{perl_vendorarch}/auto/Sys/Virt/Virt.bs + install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} cp -a examples $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}