[perl-version] change path on vendor, so our debuginfo are not conflicting with perl core debuginfos

Marcela Mašláňová mmaslano at fedoraproject.org
Tue Aug 16 13:54:24 UTC 2011


commit a40e40d81d9dece5abed54bd97ff62c641d0899a
Author: Marcela Mašláňová <mmaslano at redhat.com>
Date:   Tue Aug 16 15:53:58 2011 +0200

    change path on vendor, so our debuginfo are not conflicting with
    perl core debuginfos

 perl-version.spec |   20 ++++++++++++--------
 1 files changed, 12 insertions(+), 8 deletions(-)
---
diff --git a/perl-version.spec b/perl-version.spec
index f0b5da1..07e9401 100644
--- a/perl-version.spec
+++ b/perl-version.spec
@@ -1,7 +1,7 @@
 Name:           perl-version
 Epoch:          3
 Version:        0.88
-Release:        5%{?dist}
+Release:        6%{?dist}
 Summary:        Perl extension for Version Objects
 License:        GPL+ or Artistic
 Group:          Development/Libraries
@@ -30,7 +30,7 @@ strongly urged to set 0.77 as a minimum in your code.
 %setup -q -n version-%{version}
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=perl OPTIMIZE="$RPM_OPT_FLAGS"
+%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
 make %{?_smp_mflags}
 
 %install
@@ -46,16 +46,20 @@ make test
 %files
 %defattr(-,root,root,-)
 %doc Changes README
-%doc %{perl_archlib}/version.pod
-%dir %{perl_archlib}/version/
-%doc %{perl_archlib}/version/Internals.pod
-%{perl_archlib}/auto/version/
-%{perl_archlib}/version.pm
-%{perl_archlib}/version/vxs.pm
+%doc %{perl_vendorlib}/version.pod
+%dir %{perl_vendorlib}/version/
+%doc %{perl_vendorlib}/version/Internals.pod
+%{perl_vendorlib}/auto/version/
+%{perl_vendorlib}/version.pm
+%{perl_vendorlib}/version/vxs.pm
 %{_mandir}/man3/version.3pm*
 %{_mandir}/man3/version::Internals.3pm*
 
 %changelog
+* Tue Aug 16 2011 Marcela Mašláňová <mmaslano at redhat.com> - 3:0.88-6
+- change path on vendor, so our debuginfo are not conflicting with
+  perl core debuginfos
+
 * Sun Jul 24 2011 Iain Arnell <iarnell at gmail.com> 3:0.88-5
 - update filtering for rpm 4.9
 



More information about the perl-devel mailing list