Selaa lähdekoodia

upgrading package: linkchecker 3.2 -> 3.3

Thomas Lotterer 20 vuotta sitten
vanhempi
commit
fdea6a12ff
2 muutettua tiedostoa jossa 16 lisäystä ja 15 poistoa
  1. 14 13
      linkchecker/linkchecker.patch
  2. 2 2
      linkchecker/linkchecker.spec

+ 14 - 13
linkchecker/linkchecker.patch

@@ -1,7 +1,7 @@
 Index: setup.py
---- setup.py.orig	2005-04-04 22:12:17 +0200
-+++ setup.py	2005-04-09 11:04:41 +0200
-@@ -88,7 +88,7 @@
+--- setup.py.orig	2005-10-10 23:55:32 +0200
++++ setup.py	2005-10-24 15:28:17 +0200
+@@ -92,7 +92,7 @@
              else:
                  val = getattr(self, attr)
              if attr == 'install_data':
@@ -9,23 +9,24 @@ Index: setup.py
 +                cdir = os.path.join(val, "etc", "linkchecker")
                  data.append('config_dir = %r' % cnormpath(cdir))
              data.append("%s = %r" % (attr, cnormpath(val)))
- 	self.distribution.create_conf_file(data, directory=self.install_lib)
-@@ -306,10 +306,10 @@
-     def build_extensions (self):
-         # For gcc 3.x we can add -std=gnu99 to get rid of warnings.
+         self.distribution.create_conf_file(data, directory=self.install_lib)
+@@ -320,15 +320,7 @@
+         Add -std=gnu99 to build options if supported.
+         And compress extension libraries.
+         """
+-        # For gcc >= 3 we can add -std=gnu99 to get rid of warnings.
          extra = []
 -        if self.compiler.compiler_type == 'unix':
 -            option = "-std=gnu99"
 -            if cc_supports_option(self.compiler.compiler, option):
 -                extra.append(option)
-+        #if self.compiler.compiler_type == 'unix':
-+            #option = "-std=gnu99"
-+            #if cc_supports_option(self.compiler.compiler, option):
-+                #extra.append(option)
+-                if platform.machine() == 'm68k':
+-                    # work around ICE on m68k machines in gcc 4.0.1
+-                    cc_remove_option(self.compiler, "-O3")
          # First, sanity-check the 'extensions' list
          self.check_extensions_list(self.extensions)
          for ext in self.extensions:
-@@ -428,7 +428,7 @@
+@@ -471,7 +463,7 @@
  myemail = "calvin@users.sourceforge.net"
  
  data_files = [
@@ -34,7 +35,7 @@ Index: setup.py
               ['config/linkcheckerrc', 'config/logging.conf', ]),
           ('share/linkchecker/examples',
               ['cgi/lconline/leer.html.en', 'cgi/lconline/leer.html.de',
-@@ -438,13 +438,12 @@
+@@ -481,13 +473,12 @@
        ]
  
  if os.name == 'posix':

+ 2 - 2
linkchecker/linkchecker.spec

@@ -23,7 +23,7 @@
 ##
 
 #   package version
-%define       V_linkchecker 3.2
+%define       V_linkchecker 3.3
 %define       V_pydns       2.3.0
 
 #   package information
@@ -37,7 +37,7 @@ Class:        PLUS
 Group:        Misc
 License:      GPL
 Version:      %{V_linkchecker}
-Release:      20050804
+Release:      20051024
 
 #   list of sources
 Source0:      http://osdn.dl.sourceforge.net/linkchecker/linkchecker-%{V_linkchecker}.tar.gz