Commit d665c050 authored by Daniel P. Berrangé's avatar Daniel P. Berrangé

rpm: use standard perl variables

We don't need to manually build variables for perl install locations
as RPM includes that.
Reviewed-by: 's avatarLaine Stump <laine@laine.org>
Signed-off-by: 's avatarDaniel P. Berrangé <berrange@redhat.com>
parent 0a812bf2
......@@ -24,13 +24,6 @@ close SPEC;
__DATA__
# Automatically generated by perl-Sys-Virt-TCK.spec.PL
%define perlvendorarch %(perl -e 'use Config; print $Config{installvendorarch}')
%define perlvendorlib %(perl -e 'use Config; print $Config{installvendorlib}')
%define perlvendorprefix %(perl -e 'use Config; print $Config{vendorprefix}')
%define perlvendorman1 %{perlvendorprefix}/share/man/man1
%define perlvendorman3 %{perlvendorprefix}/share/man/man3
%define perlversion %(perl -e 'use Config; print $Config{version}')
%define appname Sys-Virt-TCK
Summary: Sys::Virt::TCK - libvirt Technology Compatibility Kit
......@@ -42,7 +35,7 @@ Group: Development/Tools
Source: http://libvirt.org/sources/tck/%{appname}-v%{version}.tar.gz
Url: http://libvirt.org/
BuildRoot: %{_tmppath}/%{appname}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: perl >= %{perlversion}
Requires: perl >= %{perl_version}
Requires: libvirt >= 0.6.2
BuildRequires: perl(accessors)
BuildRequires: perl(App::Prove)
......@@ -118,10 +111,9 @@ rm -rf $RPM_BUILD_ROOT
%{_bindir}/libvirt-tck
%dir %{_datadir}/libvirt-tck
%{_datadir}/libvirt-tck/*
%{perlvendorman1}/*
#%{perlvendorman3}/*
%{perlvendorlib}/Sys/Virt/TCK.pm
%{perlvendorlib}/Sys/Virt/TCK/
%{_mandir}/man1/*
%{perl_vendorlib}/Sys/Virt/TCK.pm
%{perl_vendorlib}/Sys/Virt/TCK/
%dir %{_localstatedir}/cache/libvirt-tck
%changelog
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment