commit 3be79b9c8000387fcd1655a0c86b7342bd09bd9f
Author: Iain Arnell <[email protected]>
Date: Sun Jan 9 09:19:11 2011 +0100
move git-cpan-* scripts back to libexecdir
perl-Git-CPAN-Patch.spec | 13 ++++++++++---
1 files changed, 10 insertions(+), 3 deletions(-)
---
diff --git a/perl-Git-CPAN-Patch.spec b/perl-Git-CPAN-Patch.spec
index 401dc68..051ffdc 100644
--- a/perl-Git-CPAN-Patch.spec
+++ b/perl-Git-CPAN-Patch.spec
@@ -1,7 +1,7 @@
Name: perl-Git-CPAN-Patch
Summary: Patch CPAN modules using Git
Version: 0.4.6
-Release: 1%{?dist}
+Release: 2%{?dist}
License: GPL+ or Artistic
Group: Development/Libraries
Source0:
http://search.cpan.org/CPAN/authors/id/Y/YA/YANICK/Git-CPAN-Patch-%{version}.tar.gz
@@ -60,7 +60,7 @@ sending back patches to its maintainer.
%setup -q -n Git-CPAN-Patch-%{version}
%build
-echo y | %{__perl} Build.PL installdirs=vendor
+%{__perl} Build.PL installdirs=vendor
./Build
%install
@@ -71,6 +71,10 @@ find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null
\;
%{_fixperms} %{buildroot}/*
+# upstream now installs to /usr/bin; we still prefer /usr/libexec/git-core
+install -d -m 0755 %{buildroot}%{_libexecdir}/git-core
+mv %{buildroot}/%{_bindir}/* %{buildroot}%{_libexecdir}/git-core/
+
%check
./Build test
@@ -86,10 +90,13 @@ rm -rf %{buildroot}
%files -n git-cpan-patch
%defattr(-,root,root,-)
%doc Changes README
-%{_bindir}/*
+%{_libexecdir}/*
%{_mandir}/man1/*
%changelog
+* Sun Jan 09 2011 Iain Arnell <[email protected]> 0.4.6-2
+- move git-cpan-* scripts back to libexecdir
+
* Sun Jan 09 2011 Iain Arnell <[email protected]> 0.4.6-1
- update by Fedora::App::MaintainerTools 0.006
- updating to latest GA CPAN version (0.4.4)
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/perl-devel