Forráskód Böngészése

fix dependency for FileHandle::Unget

Ralf S. Engelschall 22 éve
szülő
commit
8e9181f7c4
1 módosított fájl, 15 hozzáadás és 5 törlés
  1. 15 5
      perl-sys/perl-sys.spec

+ 15 - 5
perl-sys/perl-sys.spec

@@ -33,6 +33,7 @@
 %define       V_file_tail           0.98
 %define       V_freezethaw          0.43
 %define       V_authen_sasl         2.06
+%define       V_weakref             0.01
 %define       V_filehandle_deluxe   0.92
 %define       V_filehandle_rollback 1.05
 %define       V_filehandle_unget    0.14
@@ -47,8 +48,8 @@ Distribution: OpenPKG
 Class:        BASE
 Group:        Language
 License:      GPL/Artistic
-Version:      20040209
-Release:      20040209
+Version:      20040217
+Release:      20040217
 
 #   list of sources
 Source0:      http://www.cpan.org/modules/by-module/Unix/Unix-Syslog-%{V_unix_syslog}.tar.gz
@@ -60,9 +61,10 @@ Source5:      http://www.cpan.org/modules/by-module/IPC/IPC-Shareable-%{V_ipc_sh
 Source6:      http://www.cpan.org/modules/by-module/File/File-Tail-%{V_file_tail}.tar.gz
 Source7:      http://www.cpan.org/modules/by-module/FreezeThaw/FreezeThaw-%{V_freezethaw}.tar.gz
 Source8:      http://www.cpan.org/modules/by-module/Authen/Authen-SASL-%{V_authen_sasl}.tar.gz
-Source9:      http://www.cpan.org/modules/by-module/FileHandle/FileHandle-Deluxe-%{V_filehandle_deluxe}.tar.gz
-Source10:     http://www.cpan.org/modules/by-module/FileHandle/FileHandle-Rollback-%{V_filehandle_rollback}.tar.gz
-Source11:     http://www.cpan.org/modules/by-module/FileHandle/FileHandle-Unget-%{V_filehandle_unget}.tar.gz
+Source9:      http://www.cpan.org/authors/id/L/LU/LUKKA/WeakRef-%{V_weakref}.tar.gz
+Source10:     http://www.cpan.org/modules/by-module/FileHandle/FileHandle-Deluxe-%{V_filehandle_deluxe}.tar.gz
+Source11:     http://www.cpan.org/modules/by-module/FileHandle/FileHandle-Rollback-%{V_filehandle_rollback}.tar.gz
+Source12:     http://www.cpan.org/modules/by-module/FileHandle/FileHandle-Unget-%{V_filehandle_unget}.tar.gz
 
 #   build information
 Prefix:       %{l_prefix}
@@ -83,6 +85,7 @@ AutoReqProv:  no
     - FreezeThaw (%{V_freezethaw})
     - Authen::SASL (%{V_authen_sasl})
     - Archive::Zip (%{V_archive_zip})
+    - WeakRef (%{V_weakref})
     - FileHandle::Deluxe (%{V_filehandle_deluxe})
     - FileHandle::Rollback (%{V_filehandle_rollback})
     - FileHandle::Unget (%{V_filehandle_unget})
@@ -148,6 +151,11 @@ AutoReqProv:  no
         url       = http://www.cpan.org/modules/by-module/Unix/
         regex     = Unix-Syslog-(__VER__)\.tar\.gz
     }
+    prog perl-sys:WeakRef = {
+        version   = %{V_weakref}
+        url       = http://search.cpan.org/CPAN/authors/id/L/LU/LUKKA/
+        regex     = WeakRef-(__VER__)\.tar\.gz
+    }
 
 %prep
     %setup -q -c
@@ -162,6 +170,7 @@ AutoReqProv:  no
     %setup -q -T -D -a 9
     %setup -q -T -D -a 10
     %setup -q -T -D -a 11
+    %setup -q -T -D -a 12
 
 %build
 
@@ -179,6 +188,7 @@ AutoReqProv:  no
     %{l_prefix}/bin/perl-openpkg -d %{SOURCE9}  configure build install
     %{l_prefix}/bin/perl-openpkg -d %{SOURCE10} configure build install
     %{l_prefix}/bin/perl-openpkg -d %{SOURCE11} configure build install
+    %{l_prefix}/bin/perl-openpkg -d %{SOURCE12} configure build install
     %{l_prefix}/bin/perl-openpkg -F perl-openpkg-files fixate cleanup
     %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} `cat perl-openpkg-files`