change hard-coded perl path to variable 59/115159/1 accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable accepted/tizen/common/20170302.151834 accepted/tizen/ivi/20170303.004906 accepted/tizen/mobile/20170303.004817 accepted/tizen/tv/20170303.004835 accepted/tizen/unified/20170309.035242 accepted/tizen/wearable/20170303.004849 submit/tizen/20170302.130049 submit/tizen_unified/20170308.100412 tizen_4.0.m1_release
authorSlava Barinov <v.barinov@samsung.com>
Thu, 16 Feb 2017 12:13:24 +0000 (15:13 +0300)
committerSlava Barinov <v.barinov@samsung.com>
Thu, 16 Feb 2017 12:41:01 +0000 (15:41 +0300)
Change-Id: I329e6d57253e38e7ca20c8e96d43371ee67eac1e

packaging/git.spec

index b5e00eb..d068189 100644 (file)
@@ -185,7 +185,8 @@ make %{?_smp_mflags} test
   perl Makefile.PL
   make -f perl.mak DESTDIR=%{buildroot}  install_vendor
 )
-rm -rf %{buildroot}/usr/lib/perl5/site_perl
+rm -rf %{buildroot}%{perl_sitelib}
+
 %perl_process_packlist
 find %{buildroot}/%{_mandir} -type f -print0 | xargs -0 chmod 644
 install -m 644 -D contrib/completion/git-completion.bash %{buildroot}%{_sysconfdir}/bash_completion.d/git.sh