]> git.pld-linux.org Git - packages/perl.git/commitdiff
- added automatic rpm dependency generation for perl modules
authorpius <pius@pld-linux.org>
Fri, 22 Oct 1999 19:39:42 +0000 (19:39 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- release 12

Changed files:
    perl.spec -> 1.38

perl.spec

index 206439378c7db26748478ba4d88e87f13375cfd3..4bc05462ddd8a29c0786862b312e4a88bd7b8367 100644 (file)
--- a/perl.spec
+++ b/perl.spec
@@ -1,7 +1,7 @@
 %define                perlver 5.005
 %define                perlrel 03
 %define                perlthread -thread
-
+%define        __find_provides %{_builddir}/%{name}%{version}/find-perl-provides
 Summary:       Practical Extraction and Report Language
 Summary(de):   Praktische Extraktions- und Berichtsprache 
 Summary(fr):   Practical Extraction and Report Language (Perl)
@@ -9,7 +9,7 @@ Summary(pl):    Practical Extraction and Report Language (Perl)
 Summary(tr):   Kabuk yorumlama dili
 Name:          perl
 Version:       %{perlver}_%{perlrel}
-Release:       11
+Release:       12
 Copyright:     GPL
 Group:         Utilities/Text
 Group(pl):     Narzêdzia/Tekst
@@ -18,6 +18,7 @@ Patch0:               perl-noroot_install.patch
 Patch1:                perl-DESTDIR.patch
 Patch2:                perl-File-Spec-0.7.patch
 Patch3:                perl-CPAN-1.50.patch
+Patch4:                perl-find-provides.patch
 URL:           http://www.perl.org/
 Requires:      csh
 Buildroot:     /tmp/%{name}-%{version}-root
@@ -79,6 +80,13 @@ Practical Extraction and Report Language (SUID root binaria).
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
+%patch4 -p1
+
+for i in find-* ; do
+  mv $i $i.old
+  sed "s|FPPATH|%{_builddir}/%{name}%{version}|g" < $i.old > $i
+  chmod 755 $i; rm -f $i.old
+done
 
 %build
 # this is gross
This page took 0.033385 seconds and 4 git commands to generate.