Explorar o código

Abstract version numbers to local variables.

Ralf S. Engelschall %!s(int64=24) %!d(string=hai) anos
pai
achega
c67d24b993
Modificáronse 1 ficheiros con 8 adicións e 4 borrados
  1. 8 4
      perl-ssl/perl-ssl.spec

+ 8 - 4
perl-ssl/perl-ssl.spec

@@ -23,6 +23,10 @@
 ##  SUCH DAMAGE. 
 ##  
 
+#   versions of individual parts
+%define       V_net               1.15
+%define       V_crypt             0.37
+
 #   package information
 Name:         perl-ssl
 Summary:      Perl Modules for use with SSL
@@ -36,8 +40,8 @@ Version:      20020410
 Release:      20020410
 
 #   list of sources
-Source0:      http://www.cpan.org/modules/by-module/Net/Net_SSLeay.pm-1.15.tar.gz
-Source1:      http://www.cpan.org/modules/by-module/Crypt/Crypt-SSLeay-0.37.tar.gz
+Source0:      http://www.cpan.org/modules/by-module/Net/Net_SSLeay.pm-%{V_net}.tar.gz
+Source1: http://www.cpan.org/modules/by-module/Crypt/Crypt-SSLeay-%{V_crypt}.tar.gz
 
 #   build information
 Prefix:       %{l_prefix}
@@ -49,8 +53,8 @@ AutoReqProv:  no
 
 %description
     Various Perl modules for use with SSL/TLS (OpenSSL):
-    - Net::SSLeay (1.15)
-    - Crypt::SSLeay (0.37)
+    - Net::SSLeay (%{V_net})
+    - Crypt::SSLeay (%{V_crypt})
 
 %prep
     %setup0 -q -c -n %{name}-%{version}