]> git.pld-linux.org Git - packages/perl.git/commitdiff
- an attempt to assure compatibility with rpm-4.[012]; needs testing
authorradek <radek@pld-linux.org>
Fri, 18 Apr 2003 11:12:56 +0000 (11:12 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
  (and simplification ;-)

Changed files:
    perl.spec -> 1.203

perl.spec

index 3fdce510aea64c6548042ab3d0a5dff56c4e7cc1..feef5ea5199bfc6fb803ba256baa27a132620427 100644 (file)
--- a/perl.spec
+++ b/perl.spec
 # - *TESTING*
 #
 
+%if 0%(if [ %{__perl_requires} ]; then echo 1; fi)
 %undefine      __perl_requires
 %define                __perl_provides %{_builddir}/%{name}-%{version}/find-perl-provides.sh
-#%%define              __find_provides %{_builddir}/%{name}-%{version}/find-perl-provides.sh
+%else
+%define                __find_provides %{_builddir}/%{name}-%{version}/find-perl-provides.sh
+%endif
 
 %define                perlthread      %{?!_without_threads:-thread-multi}
 
This page took 0.040572 seconds and 4 git commands to generate.