Selaa lähdekoodia

upgrading package: linkchecker 2.4 -> 2.5

Ralf S. Engelschall 21 vuotta sitten
vanhempi
commit
c99076a751
2 muutettua tiedostoa jossa 8 lisäystä ja 31 poistoa
  1. 6 29
      linkchecker/linkchecker.patch
  2. 2 2
      linkchecker/linkchecker.spec

+ 6 - 29
linkchecker/linkchecker.patch

@@ -1,29 +1,6 @@
-Index: linkcheck/i18n.py
---- linkcheck/i18n.py.orig	2005-01-24 21:52:50 +0100
-+++ linkcheck/i18n.py	2005-02-16 16:39:54 +0100
-@@ -73,12 +73,13 @@
-     """
-     global default_language
-     # get supported languages
--    for lang in os.listdir(directory):
--        path = os.path.join(directory, lang)
--        if not os.path.isdir(path):
--            continue
--        if os.path.exists(os.path.join(path, 'LC_MESSAGES', '%s.mo'%domain)):
--            supported_languages.append(lang)
-+    if os.path.isdir(directory):
-+        for lang in os.listdir(directory):
-+            path = os.path.join(directory, lang)
-+            if not os.path.isdir(path):
-+                continue
-+            if os.path.exists(os.path.join(path,'LC_MESSAGES','%s.mo'%domain)):
-+                supported_languages.append(lang)
-     loc = get_locale()
-     if loc in supported_languages:
-         default_language = loc
 Index: setup.py
---- setup.py.orig	2005-02-07 01:30:28 +0100
-+++ setup.py	2005-02-16 16:39:54 +0100
+--- setup.py.orig	2005-03-02 22:14:33 +0100
++++ setup.py	2005-03-05 09:40:46 +0100
 @@ -86,7 +86,7 @@
              else:
                  val = getattr(self, attr)
@@ -48,16 +25,16 @@ Index: setup.py
          # First, sanity-check the 'extensions' list
          self.check_extensions_list(self.extensions)
          for ext in self.extensions:
-@@ -248,7 +248,7 @@
-              ['share/locale/fr/LC_MESSAGES/linkchecker.mo']),
-          ('share/locale/nl/LC_MESSAGES',
+@@ -250,7 +250,7 @@
               ['share/locale/nl/LC_MESSAGES/linkchecker.mo']),
+          ('share/locale/es/LC_MESSAGES',
+              ['share/locale/es/LC_MESSAGES/linkchecker.mo']),
 -         ('share/linkchecker',
 +         ('etc/linkchecker',
               ['config/linkcheckerrc', 'config/logging.conf', ]),
           ('share/linkchecker/examples',
               ['cgi/lconline/leer.html.en', 'cgi/lconline/leer.html.de',
-@@ -258,13 +258,12 @@
+@@ -260,13 +260,12 @@
        ]
  
  if os.name == 'posix':

+ 2 - 2
linkchecker/linkchecker.spec

@@ -24,7 +24,7 @@
 ##
 
 #   package version
-%define       V_linkchecker 2.4
+%define       V_linkchecker 2.5
 %define       V_pydns       2.3.0
 
 #   package information
@@ -38,7 +38,7 @@ Class:        PLUS
 Group:        Misc
 License:      GPL
 Version:      %{V_linkchecker}
-Release:      20050216
+Release:      20050305
 
 #   list of sources
 Source0:      http://osdn.dl.sourceforge.net/linkchecker/linkchecker-%{V_linkchecker}.tar.gz