Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/cygwin-apps/calm.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Turney <jon.turney@dronecode.org.uk>2022-12-12 19:20:55 +0300
committerJon Turney <jon.turney@dronecode.org.uk>2023-01-07 20:03:57 +0300
commit1c38fe4217480f3d58969ba2cf071b14bd3583d4 (patch)
tree63f19dfaec775f65c939b28ce6ed4db622994959
parentdac9781717443dc723a73f6faf0d8bcd2f42786f (diff)
Don't convert blacklisted old-style obsoletes: to new-style
ruby-atk-debuginfo is obsoleted by ruby, but depends on cygwin-debuginfo. The existing obsolete is the correct one. okular-odp has a strange anomaly where it's category _obsolete, but the oldest version depends on calligra-libs as a replacement, but more recent versions depend on okular-calligra, which is correct.
-rwxr-xr-xcalm/package.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/calm/package.py b/calm/package.py
index 15a81c5..5fc7c4e 100755
--- a/calm/package.py
+++ b/calm/package.py
@@ -620,6 +620,11 @@ def upgrade_oldstyle_obsoletes(packages):
logging.warning('%s %s is obsoleted by %d packages (%s)' % (p, vr, len(requires), requires))
continue
+ # ignore if o it's blacklisted
+ if o in ['cygwin-debuginfo', 'calligra-libs']:
+ logging.debug("not adding 'obsoletes: %s' to '%s' as blacklisted" % (p, o))
+ continue
+
if o in packages:
if o not in missing_obsolete:
missing_obsolete[o] = set()