瀏覽代碼

upgrading package: linkchecker 4.4 -> 4.5

Ralf S. Engelschall 19 年之前
父節點
當前提交
e99cd14a07
共有 2 個文件被更改,包括 27 次插入11 次删除
  1. 24 8
      linkchecker/linkchecker.patch
  2. 3 3
      linkchecker/linkchecker.spec

+ 24 - 8
linkchecker/linkchecker.patch

@@ -1,7 +1,7 @@
-Index: setup.py
---- setup.py.orig	2005-10-10 23:55:32 +0200
-+++ setup.py	2005-10-24 15:28:17 +0200
-@@ -92,7 +92,7 @@
+Index: linkchecker-4.5/setup.py
+--- linkchecker-4.5/setup.py.orig	2006-09-22 12:15:34 +0200
++++ linkchecker-4.5/setup.py	2006-09-29 20:12:53 +0200
+@@ -97,7 +97,7 @@
              else:
                  val = getattr(self, attr)
              if attr == 'install_data':
@@ -10,7 +10,7 @@ Index: setup.py
                  data.append('config_dir = %r' % cnormpath(cdir))
              data.append("%s = %r" % (attr, cnormpath(val)))
          self.distribution.create_conf_file(data, directory=self.install_lib)
-@@ -320,15 +320,7 @@
+@@ -325,15 +325,7 @@
          Add -std=gnu99 to build options if supported.
          And compress extension libraries.
          """
@@ -26,7 +26,7 @@ Index: setup.py
          # First, sanity-check the 'extensions' list
          self.check_extensions_list(self.extensions)
          for ext in self.extensions:
-@@ -471,7 +463,7 @@
+@@ -486,7 +478,7 @@
  myemail = "calvin@users.sourceforge.net"
  
  data_files = [
@@ -34,8 +34,8 @@ Index: setup.py
 +         ('etc/linkchecker',
               ['config/linkcheckerrc', 'config/logging.conf', ]),
           ('share/linkchecker/examples',
-              ['cgi/lconline/leer.html.en', 'cgi/lconline/leer.html.de',
-@@ -481,24 +473,13 @@
+              ['cgi-bin/lconline/leer.html.en',
+@@ -500,24 +492,13 @@
        ]
  
  if os.name == 'posix':
@@ -65,3 +65,19 @@ Index: setup.py
               ]))
  
  setup (name = "linkchecker",
+Index: pydns-2.3.0/DNS/Lib.py
+--- pydns-2.3.0/DNS/Lib.py.orig	2002-04-05 15:15:16 +0200
++++ pydns-2.3.0/DNS/Lib.py	2006-09-29 20:13:07 +0200
+@@ -1,3 +1,4 @@
++# -*- coding: latin-1 -*-
+ """
+  $Id: linkchecker.patch,v 1.8 2006/09/29 18:15:26 rse Exp $
+ 
+Index: pydns-2.3.0/DNS/Type.py
+--- pydns-2.3.0/DNS/Type.py.orig	2002-04-05 15:15:17 +0200
++++ pydns-2.3.0/DNS/Type.py	2006-09-29 20:12:53 +0200
+@@ -1,3 +1,4 @@
++# -*- coding: latin-1 -*-
+ """
+  $Id: linkchecker.patch,v 1.8 2006/09/29 18:15:26 rse Exp $
+ 

+ 3 - 3
linkchecker/linkchecker.spec

@@ -23,7 +23,7 @@
 ##
 
 #   package version
-%define       V_linkchecker 4.4
+%define       V_linkchecker 4.5
 %define       V_pydns       2.3.0
 
 #   package information
@@ -37,7 +37,7 @@ Class:        PLUS
 Group:        Misc
 License:      GPL
 Version:      %{V_linkchecker}
-Release:      20060917
+Release:      20060929
 
 #   list of sources
 Source0:      http://switch.dl.sourceforge.net/linkchecker/linkchecker-%{V_linkchecker}.tar.gz
@@ -70,7 +70,7 @@ AutoReqProv:  no
 %prep
     %setup -q -c
     %setup -q -T -D -a 1
-    %patch -d linkchecker-%{V_linkchecker} -p0
+    %patch -p0
 
 %build