[prev in list] [next in list] [prev in thread] [next in thread] 

List:       opensuse-commit
Subject:    commit rpmlint for openSUSE:Factory
From:       root () hilbert ! suse ! de (h_root)
Date:       2010-10-29 8:29:15
Message-ID: 20101029082915.DA32E20298 () hilbert ! suse ! de
[Download RAW message or body]


Hello community,

here is the log from the commit of package rpmlint for openSUSE:Factory
checked in at Fri Oct 29 10:29:15 CEST 2010.



--------
--- rpmlint/rpmlint.changes	2010-10-27 14:19:04.000000000 +0200
+++ /mounts/work_src_done/STABLE/rpmlint/rpmlint.changes	2010-10-29 10:01:34.000000000 +0200
@@ -1,0 +2,6 @@
+Fri Oct 29 07:23:39 UTC 2010 - lnussel@suse.de
+
+- remove debug logging
+- fix BrandingPolicy.py
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ rpmlint.spec ++++++
--- /var/tmp/diff_new_pack.mDC64J/_old	2010-10-29 10:28:38.000000000 +0200
+++ /var/tmp/diff_new_pack.mDC64J/_new	2010-10-29 10:28:38.000000000 +0200
@@ -23,7 +23,7 @@
 BuildRequires:  rpm-python
 Summary:        Rpm correctness checker
 Version:        0.99
-Release:        4
+Release:        5
 Source0:        %{name}-%{version}.tar.bz2
 Source1:        config
 Source1001:     config.in

++++++ add-weak-dependencies.diff ++++++
--- /var/tmp/diff_new_pack.mDC64J/_old	2010-10-29 10:28:38.000000000 +0200
+++ /var/tmp/diff_new_pack.mDC64J/_new	2010-10-29 10:28:38.000000000 +0200
@@ -1,6 +1,8 @@
---- Pkg.py
+Index: Pkg.py
+===================================================================
+--- Pkg.py.orig
 +++ Pkg.py
-@@ -425,6 +425,10 @@
+@@ -425,6 +425,10 @@ class Pkg:
          self._missingok_files = None
          self._files = None
          self._requires = None
@@ -11,7 +13,7 @@
          self._req_names = -1
  
          if header:
-@@ -656,6 +660,22 @@
+@@ -656,6 +660,22 @@ class Pkg:
          self._gatherDepInfo()
          return self._requires
  
@@ -34,7 +36,7 @@
      def prereq(self):
          """Get package PreReqs as list of
             (name, flags, (epoch, version, release)) tuples."""
-@@ -692,18 +712,25 @@
+@@ -692,7 +712,7 @@ class Pkg:
  
      # internal function to gather dependency info used by the above ones
      def _gather_aux(self, header, list, nametag, flagstag, versiontag,
@@ -43,13 +45,7 @@
          names = header[nametag]
          flags = header[flagstag]
          versions = header[versiontag]
- 
-+        print "versions", versions
-+
-         if versions:
-             for loop in range(len(versions)):
-+                print "looping over", versions[loop], type(versions[loop])
-                 evr = stringToVersion(versions[loop])
+@@ -703,7 +723,11 @@ class Pkg:
                  if prereq is not None and flags[loop] & PREREQ_FLAG:
                      prereq.append((names[loop], flags[loop] & (~PREREQ_FLAG),
                                     evr))
@@ -62,7 +58,7 @@
                      list.append((names[loop], flags[loop], evr))
  
      def _gatherDepInfo(self):
-@@ -713,6 +740,10 @@
+@@ -713,6 +737,10 @@ class Pkg:
              self._provides = []
              self._conflicts = []
              self._obsoletes = []
@@ -73,7 +69,7 @@
  
              self._gather_aux(self.header, self._requires,
                               rpm.RPMTAG_REQUIRENAME,
-@@ -732,6 +763,32 @@
+@@ -732,6 +760,32 @@ class Pkg:
                               rpm.RPMTAG_OBSOLETEFLAGS,
                               rpm.RPMTAG_OBSOLETEVERSION)
  

++++++ BrandingPolicyCheck.py ++++++
--- /var/tmp/diff_new_pack.mDC64J/_old	2010-10-29 10:28:38.000000000 +0200
+++ /var/tmp/diff_new_pack.mDC64J/_new	2010-10-29 10:28:38.000000000 +0200
@@ -35,7 +35,8 @@
                     (r[0].find('-theme-') >= 0 or r[0].find('-branding-') >= 0)):
                 printError(pkg,'suse-branding-specific-branding-req', r[0])
             if r[0].endswith('branding') or r[0].endswith('theme'):
-                if (r[1] != rpm.RPMSENSE_EQUAL or not r[2].startswith('1')):
+                # XXX: that startswith 1 breaks with openSUSE 20...
+                if (r[1] != rpm.RPMSENSE_EQUAL or not r[2][1].startswith('1')):
                     printError(pkg,'suse-branding-unversioned-requires', r[0])
 
         # verify that it doesn't conflict with branding


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic