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; ...@@ -24,13 +24,6 @@ close SPEC;
__DATA__ __DATA__
# Automatically generated by perl-Sys-Virt-TCK.spec.PL # 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 %define appname Sys-Virt-TCK
Summary: Sys::Virt::TCK - libvirt Technology Compatibility Kit Summary: Sys::Virt::TCK - libvirt Technology Compatibility Kit
...@@ -42,7 +35,7 @@ Group: Development/Tools ...@@ -42,7 +35,7 @@ Group: Development/Tools
Source:{appname}-v%{version}.tar.gz Source:{appname}-v%{version}.tar.gz
Url: Url:
BuildRoot: %{_tmppath}/%{appname}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{appname}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: perl >= %{perlversion} Requires: perl >= %{perl_version}
Requires: libvirt >= 0.6.2 Requires: libvirt >= 0.6.2
BuildRequires: perl(accessors) BuildRequires: perl(accessors)
BuildRequires: perl(App::Prove) BuildRequires: perl(App::Prove)
...@@ -118,10 +111,9 @@ rm -rf $RPM_BUILD_ROOT ...@@ -118,10 +111,9 @@ rm -rf $RPM_BUILD_ROOT
%{_bindir}/libvirt-tck %{_bindir}/libvirt-tck
%dir %{_datadir}/libvirt-tck %dir %{_datadir}/libvirt-tck
%{_datadir}/libvirt-tck/* %{_datadir}/libvirt-tck/*
%{perlvendorman1}/* %{_mandir}/man1/*
#%{perlvendorman3}/* %{perl_vendorlib}/Sys/Virt/
%{perlvendorlib}/Sys/Virt/ %{perl_vendorlib}/Sys/Virt/TCK/
%dir %{_localstatedir}/cache/libvirt-tck %dir %{_localstatedir}/cache/libvirt-tck
%changelog %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