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 <>
Signed-off-by: 's avatarDaniel P. Berrangé <>
parent 0a812bf2
......@@ -24,13 +24,6 @@ close SPEC;
# 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
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
%dir %{_datadir}/libvirt-tck
%dir %{_localstatedir}/cache/libvirt-tck
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