From b93642c6ffcdd0457fd56fdbde19bac739fda8d1 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Thu, 18 Jan 2018 22:48:42 +0100 Subject: [PATCH 01/23] Remove obsolete scriptlets Signed-off-by: Igor Gnatenko --- whichwayisup.spec | 21 ++++----------------- 1 file changed, 4 insertions(+), 17 deletions(-) diff --git a/whichwayisup.spec b/whichwayisup.spec index ed45335..884a6b1 100644 --- a/whichwayisup.spec +++ b/whichwayisup.spec @@ -2,7 +2,7 @@ Name: whichwayisup Version: 0.7.9 -Release: 3%{?dist} +Release: 4%{?dist} Summary: 2D platform game with a slight rotational twist # All game content, sounds and graphics are licensed under @@ -93,22 +93,6 @@ rm %{buildroot}%{_datadir}/%{name}/data/misc/Vera.ttf ln -s %{_datadir}/fonts/bitstream-vera/Vera.ttf \ %{buildroot}%{_datadir}/%{name}/data/misc/Vera.ttf - -%post -touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : - - -%postun -if [ $1 -eq 0 ] ; then - touch --no-create %{_datadir}/icons/hicolor &>/dev/null - gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : -fi - - -%posttrans -gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : - - %files %doc README.txt changelog.txt %{_bindir}/%{name} @@ -120,6 +104,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %changelog +* Thu Jan 18 2018 Igor Gnatenko - 0.7.9-4 +- Remove obsolete scriptlets + * Sat Jul 08 2017 Andrea Musuruane - 0.7.9-3 - Added missing BR From ba1b2f5c00c4f80babcc5464e77d3788e06fbfa0 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 9 Feb 2018 20:54:29 +0000 Subject: [PATCH 02/23] - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- whichwayisup.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/whichwayisup.spec b/whichwayisup.spec index 884a6b1..a572995 100644 --- a/whichwayisup.spec +++ b/whichwayisup.spec @@ -2,7 +2,7 @@ Name: whichwayisup Version: 0.7.9 -Release: 4%{?dist} +Release: 5%{?dist} Summary: 2D platform game with a slight rotational twist # All game content, sounds and graphics are licensed under @@ -104,6 +104,9 @@ ln -s %{_datadir}/fonts/bitstream-vera/Vera.ttf \ %changelog +* Fri Feb 09 2018 Fedora Release Engineering - 0.7.9-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + * Thu Jan 18 2018 Igor Gnatenko - 0.7.9-4 - Remove obsolete scriptlets From c30400246ce95b3fab1046d4f582b56440f9bddb Mon Sep 17 00:00:00 2001 From: Andrea Musuruane Date: Sat, 24 Feb 2018 16:35:10 +0100 Subject: [PATCH 03/23] Used new AppData directory --- whichwayisup.spec | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/whichwayisup.spec b/whichwayisup.spec index a572995..665cad4 100644 --- a/whichwayisup.spec +++ b/whichwayisup.spec @@ -2,7 +2,7 @@ Name: whichwayisup Version: 0.7.9 -Release: 5%{?dist} +Release: 6%{?dist} Summary: 2D platform game with a slight rotational twist # All game content, sounds and graphics are licensed under @@ -80,9 +80,9 @@ desktop-file-install \ %{SOURCE1} # Install AppData file -install -d %{buildroot}%{_datadir}/appdata -install -p -m 644 %{SOURCE2} %{buildroot}%{_datadir}/appdata -appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/appdata/*.appdata.xml +install -d %{buildroot}%{_datadir}/metainfo +install -p -m 644 %{SOURCE2} %{buildroot}%{_datadir}/metainfo +appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/*.appdata.xml # Install man page install -d %{buildroot}%{_mandir}/man6 @@ -97,13 +97,16 @@ ln -s %{_datadir}/fonts/bitstream-vera/Vera.ttf \ %doc README.txt changelog.txt %{_bindir}/%{name} %{_datadir}/%{name} -%{_datadir}/appdata/%{name}.appdata.xml +%{_datadir}/metainfo/%{name}.appdata.xml %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/*/apps/%{name}.png %{_mandir}/man6/%{name}.6* %changelog +* Sat Feb 24 2018 Andrea Musuruane - 0.7.9-6 +- Used new AppData directory + * Fri Feb 09 2018 Fedora Release Engineering - 0.7.9-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild From a73e352920ab0b580699e092f36dce9b0242ba78 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 14 Jul 2018 08:49:20 +0000 Subject: [PATCH 04/23] - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- whichwayisup.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/whichwayisup.spec b/whichwayisup.spec index 665cad4..7ecfd5d 100644 --- a/whichwayisup.spec +++ b/whichwayisup.spec @@ -2,7 +2,7 @@ Name: whichwayisup Version: 0.7.9 -Release: 6%{?dist} +Release: 7%{?dist} Summary: 2D platform game with a slight rotational twist # All game content, sounds and graphics are licensed under @@ -104,6 +104,9 @@ ln -s %{_datadir}/fonts/bitstream-vera/Vera.ttf \ %changelog +* Sat Jul 14 2018 Fedora Release Engineering - 0.7.9-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + * Sat Feb 24 2018 Andrea Musuruane - 0.7.9-6 - Used new AppData directory From b4496b0689b5776ceeb70a36725d916f7fe905c8 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sun, 3 Feb 2019 11:41:06 +0000 Subject: [PATCH 05/23] - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- whichwayisup.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/whichwayisup.spec b/whichwayisup.spec index 7ecfd5d..89f39b2 100644 --- a/whichwayisup.spec +++ b/whichwayisup.spec @@ -2,7 +2,7 @@ Name: whichwayisup Version: 0.7.9 -Release: 7%{?dist} +Release: 8%{?dist} Summary: 2D platform game with a slight rotational twist # All game content, sounds and graphics are licensed under @@ -104,6 +104,9 @@ ln -s %{_datadir}/fonts/bitstream-vera/Vera.ttf \ %changelog +* Sun Feb 03 2019 Fedora Release Engineering - 0.7.9-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + * Sat Jul 14 2018 Fedora Release Engineering - 0.7.9-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild From 29f53b4778413a76fecf5c05a586ff2e0ba63491 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 27 Jul 2019 03:26:13 +0000 Subject: [PATCH 06/23] - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- whichwayisup.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/whichwayisup.spec b/whichwayisup.spec index 89f39b2..a92baae 100644 --- a/whichwayisup.spec +++ b/whichwayisup.spec @@ -2,7 +2,7 @@ Name: whichwayisup Version: 0.7.9 -Release: 8%{?dist} +Release: 9%{?dist} Summary: 2D platform game with a slight rotational twist # All game content, sounds and graphics are licensed under @@ -104,6 +104,9 @@ ln -s %{_datadir}/fonts/bitstream-vera/Vera.ttf \ %changelog +* Sat Jul 27 2019 Fedora Release Engineering - 0.7.9-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + * Sun Feb 03 2019 Fedora Release Engineering - 0.7.9-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild From a42e7487a5529c26859b4fbe91c58607882e6e62 Mon Sep 17 00:00:00 2001 From: Andrea Musuruane Date: Fri, 9 Aug 2019 13:52:13 +0200 Subject: [PATCH 07/23] Ported to python3 (BZ #1738142) --- whichwayisup-0.7.9-python3.patch | 470 +++++++++++++++++++++++++++++++ whichwayisup.spec | 14 +- 2 files changed, 480 insertions(+), 4 deletions(-) create mode 100644 whichwayisup-0.7.9-python3.patch diff --git a/whichwayisup-0.7.9-python3.patch b/whichwayisup-0.7.9-python3.patch new file mode 100644 index 0000000..5b20264 --- /dev/null +++ b/whichwayisup-0.7.9-python3.patch @@ -0,0 +1,470 @@ +Author: Reiner Herrmann +Description: Port game to python3 +Bug-Debian: https://bugs.debian.org/912500 + +--- a/run_game.py ++++ b/run_game.py +@@ -1,4 +1,4 @@ +-#! /usr/bin/env python ++#! /usr/bin/env python3 + + import sys + import os +--- a/lib/util.py ++++ b/lib/util.py +@@ -113,12 +113,12 @@ + try: + conffile = codecs.open(file_path, "w", "utf_8") + for world in WORLDS: +- print >> conffile, "unlocked\t%(world)s\t%(unlocked)s" % {"world": world, "unlocked": Variables.vdict["unlocked" + world]} +- print >> conffile, "hiscore\t%(world)s\t%(hiscore)s" % {"world": world, "hiscore": Variables.vdict["hiscore" + world]} +- print >> conffile, "besttime\t%(world)s\t%(besttime)s" % {"world": world, "besttime": Variables.vdict["besttime" + world]} +- print >> conffile, "sound\t%s" % bool_to_str(Variables.vdict["sound"]) +- print >> conffile, "dialogue\t%s" % bool_to_str(Variables.vdict["dialogue"]) +- print >> conffile, "fullscreen\t%s" % bool_to_str(Variables.vdict["fullscreen"]) ++ print("unlocked\t%(world)s\t%(unlocked)s" % {"world": world, "unlocked": Variables.vdict["unlocked" + world]}, file=conffile) ++ print("hiscore\t%(world)s\t%(hiscore)s" % {"world": world, "hiscore": Variables.vdict["hiscore" + world]}, file=conffile) ++ print("besttime\t%(world)s\t%(besttime)s" % {"world": world, "besttime": Variables.vdict["besttime" + world]}, file=conffile) ++ print("sound\t%s" % bool_to_str(Variables.vdict["sound"]), file=conffile) ++ print("dialogue\t%s" % bool_to_str(Variables.vdict["dialogue"]), file=conffile) ++ print("fullscreen\t%s" % bool_to_str(Variables.vdict["fullscreen"]), file=conffile) + except: + error_message("Could not write configuration file to " + file_path) + return False +@@ -136,13 +136,13 @@ + count += 1 + if count > MAX_OLD_LOG_LINES: + break +- if Variables.vdict.has_key("log"): ++ if "log" in Variables.vdict: + try: + conffile = codecs.open(file_path, "w", "utf_8") +- print >> conffile, "Log updated " + str(datetime.date.today()) +- print >> conffile, Variables.vdict["log"] +- print >> conffile, "" +- print >> conffile, old_log ++ print("Log updated " + str(datetime.date.today()), file=conffile) ++ print(Variables.vdict["log"], file=conffile) ++ print("", file=conffile) ++ print(old_log, file=conffile) + except: + error_message("Could not write log file to " + file_path) + return False +@@ -166,7 +166,7 @@ + The constant colors can be found from locals.py. + ''' + def render_text(string, color = COLOR_GUI, bgcolor = COLOR_GUI_BG): +- if Util.cached_text_images.has_key(string + str(color) + str(bgcolor)): ++ if (string + str(color) + str(bgcolor)) in Util.cached_text_images: + final_image = Util.cached_text_images[string + str(color) + str(bgcolor)] + else: + text_image_bg = Util.smallfont.render(string, True, bgcolor) +@@ -200,8 +200,8 @@ + rendered_string = string[0:phase] + string_image = render_text(rendered_string) + string_rect = string_image.get_rect() +- string_rect.centerx = SCREEN_WIDTH / 2 +- string_rect.centery = SCREEN_HEIGHT / 2 ++ string_rect.centerx = SCREEN_WIDTH // 2 ++ string_rect.centery = SCREEN_HEIGHT // 2 + + if key == "p": + skip_image = Util.cached_images["key_p"] +@@ -209,7 +209,7 @@ + skip_image = Util.cached_images["key_z"] + + skip_rect = skip_image.get_rect() +- skip_rect.centerx = SCREEN_WIDTH / 2 ++ skip_rect.centerx = SCREEN_WIDTH // 2 + skip_rect.top = string_rect.bottom + 5 + + bg_rect = pygame.Rect(string_rect.left - 10, string_rect.top - 5, string_rect.width + 20, string_rect.height + skip_rect.height + 15) +--- a/lib/animation.py ++++ b/lib/animation.py +@@ -58,9 +58,9 @@ + self.finished = True + else: + self.i = 0 +- if Animation.cached_frames.has_key(self.cache_name + str(self.i)): ++ if (self.cache_name + str(self.i)) in Animation.cached_frames: + self.image = Animation.cached_frames[self.cache_name + str(self.i)] + else: + self.image = (self.frames[self.i]).get_image() + Animation.cached_frames[self.cache_name + str(self.i)] = self.image +- return self.image +\ No newline at end of file ++ return self.image +--- a/lib/edit_utils.py ++++ b/lib/edit_utils.py +@@ -16,23 +16,23 @@ + return + + def update(self, inputs): +- if inputs.has_key("REMOVE_TILE"): ++ if "REMOVE_TILE" in inputs: + return Change("remove", self.cursor) +- if inputs.has_key("ADD_TILE_WALL"): ++ if "ADD_TILE_WALL" in inputs: + return Change("W", self.cursor) +- if inputs.has_key("ADD_TILE_SPIKES"): ++ if "ADD_TILE_SPIKES" in inputs: + return Change("S", self.cursor) +- if inputs.has_key("ADD_TILE_BARS"): ++ if "ADD_TILE_BARS" in inputs: + return Change("B", self.cursor) +- if inputs.has_key("SAVE_TILES"): ++ if "SAVE_TILES" in inputs: + return Change("save", (0, 0)) +- if inputs.has_key("EDIT_RIGHT") and self.cursor[0] < (TILES_HOR - 1): ++ if "EDIT_RIGHT" in inputs and self.cursor[0] < (TILES_HOR - 1): + self.cursor[0] += 1 +- if inputs.has_key("EDIT_LEFT") and self.cursor[0] > 0: ++ if "EDIT_LEFT" in inputs and self.cursor[0] > 0: + self.cursor[0] -= 1 +- if inputs.has_key("EDIT_DOWN") and self.cursor[1] < (TILES_VER - 1): ++ if "EDIT_DOWN" in inputs and self.cursor[1] < (TILES_VER - 1): + self.cursor[1] += 1 +- if inputs.has_key("EDIT_UP") and self.cursor[1] > 0: ++ if "EDIT_UP" in inputs and self.cursor[1] > 0: + self.cursor[1] -= 1 + return None + +--- a/lib/game.py ++++ b/lib/game.py +@@ -265,7 +265,7 @@ + trigger = None + + if scripted_event_on: +- if inputs.has_key("JUMP") or inputs.has_key("DOWN"): ++ if "JUMP" in inputs or "DOWN" in inputs: + cleared = True + + moved = False +@@ -277,20 +277,20 @@ + #There isn't anything special going on: player can control the character + #Translates input to commands to the player object + add_time = True +- if inputs.has_key("LEFT"): ++ if "LEFT" in inputs: + player.move((-PLAYER_MAX_ACC, 0)) + moved = True + +- if inputs.has_key("RIGHT"): ++ if "RIGHT" in inputs: + player.move((PLAYER_MAX_ACC, 0)) + moved = True + +- if inputs.has_key("JUMP"): ++ if "JUMP" in inputs: + if (player.on_ground): + count = 0 + while (count < 5): + count += 1 +- particles.append(Particle(screen, 10, player.rect.centerx - player.dx / 4 + random.uniform(-3, 3), player.rect.bottom, -player.dx * 0.1, -0.5, 0.3, level.dust_color, 4)) ++ particles.append(Particle(screen, 10, player.rect.centerx - player.dx // 4 + random.uniform(-3, 3), player.rect.bottom, -player.dx * 0.1, -0.5, 0.3, level.dust_color, 4)) + player.jump() + + #The blobs always try to jump when the player jumps +@@ -299,10 +299,10 @@ + if o.itemclass == "blob": + o.jump() + +- if inputs.has_key("UP") and not player.on_ground: ++ if "UP" in inputs and not player.on_ground: + player.jump() + +- if inputs.has_key("DOWN"): ++ if "DOWN" in inputs: + pick_up_item = level.pick_up(player.x, player.y) + if pick_up_item != None: + play_sound("coins") +@@ -314,10 +314,10 @@ + trigger = level.trigger(player.x, player.y) + + #Debug command for flipping: +- if inputs.has_key("SPECIAL"): ++ if "SPECIAL" in inputs: + trigger = Trigger(TRIGGER_FLIP, player.x, player.y) + +- if inputs.has_key("PAUSE") and player.current_animation != "dying": ++ if "PAUSE" in inputs and player.current_animation != "dying": + paused = not paused + + #Decelerates the player, if he doesn't press any movement keys or when he is dead and on the ground +@@ -344,7 +344,7 @@ + #Dust effect rising from the character's feet: + + if (player.current_animation == "walking"): +- particles.append(Particle(screen, 10, player.rect.centerx - player.dx / 2 + random.uniform(-2, 2), player.rect.bottom, -player.dx * 0.1, 0.1, 0.3, level.dust_color)) ++ particles.append(Particle(screen, 10, player.rect.centerx - player.dx // 2 + random.uniform(-2, 2), player.rect.bottom, -player.dx * 0.1, 0.1, 0.3, level.dust_color)) + + #Updating level and objects: + +@@ -455,7 +455,7 @@ + player.orientation = current_scripted_event_element.orientation + current_scripted_event_element.finished = True + elif current_scripted_event_element.event_type == "change_level": +- score.score += (5 + score_mod) * ((player.life + 4) / 5 + 12) ++ score.score += (5 + score_mod) * ((player.life + 4) // 5 + 12) + score.levels += 1 + current_scripted_event_element.finished = True + if player.current_animation != "gone": +--- a/lib/level.py ++++ b/lib/level.py +@@ -129,8 +129,8 @@ + self.bg_animations["default"] = Animation(self.set + "_background", "static") + self.current_animation = "default" + self.rect = (self.bg_animations[self.current_animation].update_and_get_image()).get_rect() +- self.rect.centerx = SCREEN_WIDTH / 2 +- self.rect.centery = SCREEN_HEIGHT / 2 ++ self.rect.centerx = SCREEN_WIDTH // 2 ++ self.rect.centery = SCREEN_HEIGHT // 2 + + self.reset_active_tiles() + return +@@ -217,7 +217,7 @@ + + #Checks the point for solid ground + def ground_check(self, x, y): +- if self.cached_ground_check.has_key(str(x) + "_" + str(y)): ++ if (str(x) + "_" + str(y)) in self.cached_ground_check: + return self.cached_ground_check[str(x) + "_" + str(y)] + else: + if x > SCREEN_WIDTH or y > SCREEN_HEIGHT or x < 0 or y < 0: +@@ -333,7 +333,7 @@ + def remove_tile(self, coords): + """Remove a tile from the level with coordinates relative to the corner of the area currently visible.""" + for t in self.active_tiles: +- if t.rect.collidepoint(coords[0]*TILE_DIM + TILE_DIM / 2, coords[1]*TILE_DIM + TILE_DIM / 2): ++ if t.rect.collidepoint(coords[0]*TILE_DIM + TILE_DIM // 2, coords[1]*TILE_DIM + TILE_DIM // 2): + self.active_tiles.remove(t) + self.tiles.remove(t) + self.edited = True +--- a/lib/log.py ++++ b/lib/log.py +@@ -15,7 +15,7 @@ + """Add a message to the message log, which can be written on disk later.""" + + #Multiple messages of the same type aren't added to the log: +- if Variables.vdict.has_key("last_log_message"): ++ if "last_log_message" in Variables.vdict: + if string == Variables.vdict["last_log_message"]: + return + +@@ -24,9 +24,9 @@ + + Variables.vdict["last_log_message"] = string + +- if Variables.vdict.has_key("log"): ++ if "log" in Variables.vdict: + Variables.vdict["log"] = string + "\n" + Variables.vdict["log"] + else: + Variables.vdict["log"] = string + +- return +\ No newline at end of file ++ return +--- a/lib/sound.py ++++ b/lib/sound.py +@@ -25,7 +25,7 @@ + if not Variables.vdict["sound"]: + return + snd = None +- if (not sounds.has_key(sound_id)): ++ if sound_id not in sounds: + try: + sound_path = data.filepath(os.path.join("sounds", sound_id + ".ogg")) + snd = sounds[sound_id] = pygame.mixer.Sound(sound_path) +--- a/lib/visibleobject.py ++++ b/lib/visibleobject.py +@@ -27,9 +27,9 @@ + self.x = x + self.y = y + if (self.x == None): +- self.x = SCREEN_WIDTH / 2 ++ self.x = SCREEN_WIDTH // 2 + if (self.y == None): +- self.y = SCREEN_HEIGHT / 2 ++ self.y = SCREEN_HEIGHT // 2 + + self.flipping = False + self.flipcounter = 0 +@@ -122,7 +122,7 @@ + + def die(self): + """Make the object die - if the object has a death animation, it will be played first.""" +- if self.animations.has_key("dying"): ++ if "dying" in self.animations: + self.current_animation = "dying" + else: + self.dead = True +--- a/lib/player.py ++++ b/lib/player.py +@@ -79,7 +79,7 @@ + + blood = [] + +- if collision_type > 0: ++ if collision_type and collision_type > 0: + blood = self.take_damage(collision_type) + if self.current_animation != "dying": + self.dy -= collision_type*PLAYER_JUMP_ACC / 4.5 +--- a/lib/object.py ++++ b/lib/object.py +@@ -34,7 +34,7 @@ + self.initial_y = y + self.gravity = gravity + self.colliding = colliding +- self.active = (self.x + self.rect.width / 2 > 0) and (self.y + self.rect.height / 2 > 0) ++ self.active = (self.x + self.rect.width // 2 > 0) and (self.y + self.rect.height // 2 > 0) + + self.on_ground = False + +@@ -76,7 +76,7 @@ + VisibleObject.update(self) + + if self.flip_finished and self.itemclass != "player": +- self.active = (self.x + self.rect.width / 2 > 0) and (self.y + self.rect.height / 2 > 0) ++ self.active = (self.x + self.rect.width // 2 > 0) and (self.y + self.rect.height // 2 > 0) + + if self.flipping: + return +@@ -101,9 +101,9 @@ + """Make the object flip with the level to either direction""" + if VisibleObject.flip(self, flip_direction): + if flip_direction == CLOCKWISE: +- self.initial_x, self.initial_y = -self.initial_y + PLAY_AREA_WIDTH / TILES_HOR * (TILES_HOR*2 - FULL_TILES_HOR), self.initial_x ++ self.initial_x, self.initial_y = -self.initial_y + PLAY_AREA_WIDTH // TILES_HOR * (TILES_HOR*2 - FULL_TILES_HOR), self.initial_x + else: +- self.initial_x, self.initial_y = self.initial_y, -self.initial_x + PLAY_AREA_WIDTH / TILES_HOR * (TILES_HOR*2 - FULL_TILES_HOR) ++ self.initial_x, self.initial_y = self.initial_y, -self.initial_x + PLAY_AREA_WIDTH // TILES_HOR * (TILES_HOR*2 - FULL_TILES_HOR) + return + + def check_collisions(self, level): +@@ -116,25 +116,25 @@ + + self.on_ground = False + +- if self.x < 0 + self.rect.width / 2: +- self.x = 0 + self.rect.width / 2 ++ if self.x < 0 + self.rect.width // 2: ++ self.x = 0 + self.rect.width // 2 + self.dx = 0 + collision_type = 0 + +- if self.x > PLAY_AREA_WIDTH - self.rect.width / 2: +- self.x = PLAY_AREA_WIDTH - self.rect.width / 2 ++ if self.x > PLAY_AREA_WIDTH - self.rect.width // 2: ++ self.x = PLAY_AREA_WIDTH - self.rect.width // 2 + self.dx = 0 + collision_type = 0 + + # The commented block is the collision code for the upper edge of the screen. + # The spiders and projectiles might need this, but they use simplified + # collision detection for better performance anyway. +- '''if self.y < 0 + self.rect.height / 2: +- self.y = 0 + self.rect.height / 2 ++ '''if self.y < 0 + self.rect.height // 2: ++ self.y = 0 + self.rect.height // 2 + self.dy = 0''' + +- if self.y > PLAY_AREA_HEIGHT - self.rect.height / 2: +- self.y = PLAY_AREA_HEIGHT - self.rect.height / 2 ++ if self.y > PLAY_AREA_HEIGHT - self.rect.height // 2: ++ self.y = PLAY_AREA_HEIGHT - self.rect.height // 2 + self.dy = 0 + self.on_ground = True + collision_type = 0 +--- a/lib/locals.py ++++ b/lib/locals.py +@@ -16,8 +16,8 @@ + + TILE_DIM = 40 + +-PLAY_AREA_CENTER_X = (-FULL_TILES_HOR / 2 + TILES_HOR) * TILE_DIM +-PLAY_AREA_CENTER_Y = (-FULL_TILES_VER / 2 + TILES_VER) * TILE_DIM ++PLAY_AREA_CENTER_X = (-FULL_TILES_HOR // 2 + TILES_HOR) * TILE_DIM ++PLAY_AREA_CENTER_Y = (-FULL_TILES_VER // 2 + TILES_VER) * TILE_DIM + + GRAVITY = 1.0 + GRAVITY_PARTICLE = 0.5 +--- a/lib/mainmenu.py ++++ b/lib/mainmenu.py +@@ -73,19 +73,19 @@ + + menu_image = render_text("World " + str(self.world.number) + ": " + self.world.name, COLOR_GUI) + rect = menu_image.get_rect() +- rect.centerx = SCREEN_WIDTH / 2 ++ rect.centerx = SCREEN_WIDTH // 2 + rect.top = GUI_MENU_TOP - 75 + self.bgscreen.blit(menu_image, rect) + + menu_image = render_text(score_text, COLOR_GUI) + rect = menu_image.get_rect() +- rect.centerx = SCREEN_WIDTH / 2 ++ rect.centerx = SCREEN_WIDTH // 2 + rect.top = GUI_MENU_TOP - 50 + self.bgscreen.blit(menu_image, rect) + + menu_image = render_text(time_text, COLOR_GUI) + rect = menu_image.get_rect() +- rect.centerx = SCREEN_WIDTH / 2 ++ rect.centerx = SCREEN_WIDTH // 2 + rect.top = GUI_MENU_TOP - 30 + self.bgscreen.blit(menu_image, rect) + +--- a/lib/menu.py ++++ b/lib/menu.py +@@ -91,14 +91,14 @@ + + menu_bg = pygame.image.load(data.picpath("menu", "bg")).convert_alpha() + rect = menu_bg.get_rect() +- rect.centerx = SCREEN_WIDTH / 2 ++ rect.centerx = SCREEN_WIDTH // 2 + rect.top = GUI_MENU_TOP + self.screen.blit(menu_bg, rect) + + if self.heading_text != None: + menu_head = render_text(self.heading_text) + rect = menu_head.get_rect() +- rect.centerx = SCREEN_WIDTH / 2 ++ rect.centerx = SCREEN_WIDTH // 2 + rect.top = GUI_MENU_TOP + 50 + menu_offset + self.screen.blit(menu_head, rect) + +@@ -120,7 +120,7 @@ + else: + menu_image = render_text(m, COLOR_GUI) + rect = menu_image.get_rect() +- rect.centerx = SCREEN_WIDTH / 2 ++ rect.centerx = SCREEN_WIDTH // 2 + rect.top = GUI_MENU_TOP + 60 + (menu_visible + 1) * 20 + menu_offset + self.screen.blit(menu_image, rect) + current_menu_index += 1 +--- a/lib/particle.py ++++ b/lib/particle.py +@@ -28,9 +28,9 @@ + self.radius = radius + self.gravity = gravity + if (self.x == None): +- self.x = SCREEN_WIDTH / 2 ++ self.x = SCREEN_WIDTH // 2 + if (self.y == None): +- self.y = SCREEN_HEIGHT / 2 ++ self.y = SCREEN_HEIGHT // 2 + if (self.dx == None): + self.dx = 0.0 + if (self.dy == None): +--- a/lib/tile.py ++++ b/lib/tile.py +@@ -47,8 +47,8 @@ + def realign(self): + self.rect.centerx = self.x + self.rect.centery = self.y +- self.x = round((float(self.rect.right)/float(TILE_DIM)), 0)*TILE_DIM - self.rect.width / 2 +- self.y = round((float(self.rect.bottom)/float(TILE_DIM)), 0)*TILE_DIM - self.rect.height / 2 ++ self.x = round((float(self.rect.right)/float(TILE_DIM)), 0)*TILE_DIM - self.rect.width // 2 ++ self.y = round((float(self.rect.bottom)/float(TILE_DIM)), 0)*TILE_DIM - self.rect.height // 2 + if self.rect.height % 2 == 1: + self.y -= 1 + if self.rect.width % 2 == 1: diff --git a/whichwayisup.spec b/whichwayisup.spec index a92baae..96ba628 100644 --- a/whichwayisup.spec +++ b/whichwayisup.spec @@ -2,7 +2,7 @@ Name: whichwayisup Version: 0.7.9 -Release: 9%{?dist} +Release: 10%{?dist} Summary: 2D platform game with a slight rotational twist # All game content, sounds and graphics are licensed under @@ -22,13 +22,16 @@ Patch0: %{name}-0.7.9-check_for_joystick_axes_not_null.patch # Initialize only required pygame modules # http://bugs.debian.org/432015 Patch1: %{name}-0.7.9-initialize_only_required_pygame_modules.patch +# Port game to python3 +# https://bugs.debian.org/912500 +Patch2: %{name}-0.7.9-python3.patch BuildArch: noarch BuildRequires: ImageMagick BuildRequires: desktop-file-utils BuildRequires: libappstream-glib -Requires: pygame +Requires: python3-pygame Requires: bitstream-vera-sans-fonts Requires: hicolor-icon-theme @@ -41,7 +44,7 @@ labyrinth of dangers and bad dialogue. %autosetup -n %{name} -p1 # Fix script interpreter -sed -i 's!/usr/bin/env python!/usr/bin/python2!' run_game.py +sed -i 's!/usr/bin/env python3!/usr/bin/python3!' run_game.py # Change data path sed -i "s!libdir = .*!libdir = '%{_datadir}/%{name}/lib'!" run_game.py @@ -97,13 +100,16 @@ ln -s %{_datadir}/fonts/bitstream-vera/Vera.ttf \ %doc README.txt changelog.txt %{_bindir}/%{name} %{_datadir}/%{name} -%{_datadir}/metainfo/%{name}.appdata.xml +%{_metainfodir}/%{name}.appdata.xml %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/*/apps/%{name}.png %{_mandir}/man6/%{name}.6* %changelog +* Fri Aug 09 2019 Andrea Musuruane - 0.7.9-10 +- Ported to python3 (BZ #1738142) + * Sat Jul 27 2019 Fedora Release Engineering - 0.7.9-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild From ff4a406ecf7fc5d0d52325eee776ae91ea66db27 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 31 Jan 2020 03:39:54 +0000 Subject: [PATCH 08/23] - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- whichwayisup.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/whichwayisup.spec b/whichwayisup.spec index 96ba628..ac59da6 100644 --- a/whichwayisup.spec +++ b/whichwayisup.spec @@ -2,7 +2,7 @@ Name: whichwayisup Version: 0.7.9 -Release: 10%{?dist} +Release: 11%{?dist} Summary: 2D platform game with a slight rotational twist # All game content, sounds and graphics are licensed under @@ -107,6 +107,9 @@ ln -s %{_datadir}/fonts/bitstream-vera/Vera.ttf \ %changelog +* Fri Jan 31 2020 Fedora Release Engineering - 0.7.9-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + * Fri Aug 09 2019 Andrea Musuruane - 0.7.9-10 - Ported to python3 (BZ #1738142) From 9860b9db278bb9e0d30c47793b209c555731eef0 Mon Sep 17 00:00:00 2001 From: Andrea Musuruane Date: Sat, 23 May 2020 21:16:22 +0200 Subject: [PATCH 09/23] Fixed font path for F32+ (BZ #1836454) --- whichwayisup.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/whichwayisup.spec b/whichwayisup.spec index ac59da6..4bb68f2 100644 --- a/whichwayisup.spec +++ b/whichwayisup.spec @@ -2,7 +2,7 @@ Name: whichwayisup Version: 0.7.9 -Release: 11%{?dist} +Release: 12%{?dist} Summary: 2D platform game with a slight rotational twist # All game content, sounds and graphics are licensed under @@ -93,7 +93,7 @@ install -p -m 644 %{SOURCE3} %{buildroot}%{_mandir}/man6/ # Symlink system font rm %{buildroot}%{_datadir}/%{name}/data/misc/Vera.ttf -ln -s %{_datadir}/fonts/bitstream-vera/Vera.ttf \ +ln -s %{_datadir}/fonts/bitstream-vera-sans-fonts/Vera.ttf \ %{buildroot}%{_datadir}/%{name}/data/misc/Vera.ttf %files @@ -107,6 +107,9 @@ ln -s %{_datadir}/fonts/bitstream-vera/Vera.ttf \ %changelog +* Sat May 23 2020 Andrea Musuruane - 0.7.9-12 +- Fixed font path for F32+ (BZ #1836454) + * Fri Jan 31 2020 Fedora Release Engineering - 0.7.9-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild From b6fb5145ff14918049e5276264ca4cb61a2952e6 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 29 Jul 2020 14:06:46 +0000 Subject: [PATCH 10/23] - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- whichwayisup.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/whichwayisup.spec b/whichwayisup.spec index 4bb68f2..2dc4c47 100644 --- a/whichwayisup.spec +++ b/whichwayisup.spec @@ -2,7 +2,7 @@ Name: whichwayisup Version: 0.7.9 -Release: 12%{?dist} +Release: 13%{?dist} Summary: 2D platform game with a slight rotational twist # All game content, sounds and graphics are licensed under @@ -107,6 +107,9 @@ ln -s %{_datadir}/fonts/bitstream-vera-sans-fonts/Vera.ttf \ %changelog +* Wed Jul 29 2020 Fedora Release Engineering - 0.7.9-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Sat May 23 2020 Andrea Musuruane - 0.7.9-12 - Fixed font path for F32+ (BZ #1836454) From 913ed54a6e775b6a5f72827dc750706893141230 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 27 Jan 2021 23:28:11 +0000 Subject: [PATCH 11/23] - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- whichwayisup.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/whichwayisup.spec b/whichwayisup.spec index 2dc4c47..5945967 100644 --- a/whichwayisup.spec +++ b/whichwayisup.spec @@ -2,7 +2,7 @@ Name: whichwayisup Version: 0.7.9 -Release: 13%{?dist} +Release: 14%{?dist} Summary: 2D platform game with a slight rotational twist # All game content, sounds and graphics are licensed under @@ -107,6 +107,9 @@ ln -s %{_datadir}/fonts/bitstream-vera-sans-fonts/Vera.ttf \ %changelog +* Wed Jan 27 2021 Fedora Release Engineering - 0.7.9-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + * Wed Jul 29 2020 Fedora Release Engineering - 0.7.9-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild From d10fec8fa077784a17040ee44f6c31010eb2aa76 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 23 Jul 2021 20:55:06 +0000 Subject: [PATCH 12/23] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- whichwayisup.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/whichwayisup.spec b/whichwayisup.spec index 5945967..9246df1 100644 --- a/whichwayisup.spec +++ b/whichwayisup.spec @@ -2,7 +2,7 @@ Name: whichwayisup Version: 0.7.9 -Release: 14%{?dist} +Release: 15%{?dist} Summary: 2D platform game with a slight rotational twist # All game content, sounds and graphics are licensed under @@ -107,6 +107,9 @@ ln -s %{_datadir}/fonts/bitstream-vera-sans-fonts/Vera.ttf \ %changelog +* Fri Jul 23 2021 Fedora Release Engineering - 0.7.9-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + * Wed Jan 27 2021 Fedora Release Engineering - 0.7.9-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild From c85000015e646767ff522d36a367f23c290f8e9a Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 22 Jan 2022 04:26:31 +0000 Subject: [PATCH 13/23] - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- whichwayisup.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/whichwayisup.spec b/whichwayisup.spec index 9246df1..76b0639 100644 --- a/whichwayisup.spec +++ b/whichwayisup.spec @@ -2,7 +2,7 @@ Name: whichwayisup Version: 0.7.9 -Release: 15%{?dist} +Release: 16%{?dist} Summary: 2D platform game with a slight rotational twist # All game content, sounds and graphics are licensed under @@ -107,6 +107,9 @@ ln -s %{_datadir}/fonts/bitstream-vera-sans-fonts/Vera.ttf \ %changelog +* Sat Jan 22 2022 Fedora Release Engineering - 0.7.9-16 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + * Fri Jul 23 2021 Fedora Release Engineering - 0.7.9-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild From 13176a0ff72a16d485534aa2dd9df4cdeaa7d67c Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 23 Jul 2022 12:23:27 +0000 Subject: [PATCH 14/23] Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- whichwayisup.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/whichwayisup.spec b/whichwayisup.spec index 76b0639..c6ed52e 100644 --- a/whichwayisup.spec +++ b/whichwayisup.spec @@ -2,7 +2,7 @@ Name: whichwayisup Version: 0.7.9 -Release: 16%{?dist} +Release: 17%{?dist} Summary: 2D platform game with a slight rotational twist # All game content, sounds and graphics are licensed under @@ -107,6 +107,9 @@ ln -s %{_datadir}/fonts/bitstream-vera-sans-fonts/Vera.ttf \ %changelog +* Sat Jul 23 2022 Fedora Release Engineering - 0.7.9-17 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + * Sat Jan 22 2022 Fedora Release Engineering - 0.7.9-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild From 371474b4e448c047c18e67860b3acf2ae97b358a Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 21 Jan 2023 06:47:44 +0000 Subject: [PATCH 15/23] Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- whichwayisup.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/whichwayisup.spec b/whichwayisup.spec index c6ed52e..8183c50 100644 --- a/whichwayisup.spec +++ b/whichwayisup.spec @@ -2,7 +2,7 @@ Name: whichwayisup Version: 0.7.9 -Release: 17%{?dist} +Release: 18%{?dist} Summary: 2D platform game with a slight rotational twist # All game content, sounds and graphics are licensed under @@ -107,6 +107,9 @@ ln -s %{_datadir}/fonts/bitstream-vera-sans-fonts/Vera.ttf \ %changelog +* Sat Jan 21 2023 Fedora Release Engineering - 0.7.9-18 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + * Sat Jul 23 2022 Fedora Release Engineering - 0.7.9-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild From 7b9bff9e36b217fd37dd1bdee23081d7526d093f Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 22 Jul 2023 18:10:59 +0000 Subject: [PATCH 16/23] Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- whichwayisup.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/whichwayisup.spec b/whichwayisup.spec index 8183c50..330ddea 100644 --- a/whichwayisup.spec +++ b/whichwayisup.spec @@ -2,7 +2,7 @@ Name: whichwayisup Version: 0.7.9 -Release: 18%{?dist} +Release: 19%{?dist} Summary: 2D platform game with a slight rotational twist # All game content, sounds and graphics are licensed under @@ -107,6 +107,9 @@ ln -s %{_datadir}/fonts/bitstream-vera-sans-fonts/Vera.ttf \ %changelog +* Sat Jul 22 2023 Fedora Release Engineering - 0.7.9-19 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + * Sat Jan 21 2023 Fedora Release Engineering - 0.7.9-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild From a1f65a292b27d6466f9ad0a475cd91b5e345ce68 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 27 Jan 2024 08:44:22 +0000 Subject: [PATCH 17/23] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- whichwayisup.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/whichwayisup.spec b/whichwayisup.spec index 330ddea..3a0c7a3 100644 --- a/whichwayisup.spec +++ b/whichwayisup.spec @@ -2,7 +2,7 @@ Name: whichwayisup Version: 0.7.9 -Release: 19%{?dist} +Release: 20%{?dist} Summary: 2D platform game with a slight rotational twist # All game content, sounds and graphics are licensed under @@ -107,6 +107,9 @@ ln -s %{_datadir}/fonts/bitstream-vera-sans-fonts/Vera.ttf \ %changelog +* Sat Jan 27 2024 Fedora Release Engineering - 0.7.9-20 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Sat Jul 22 2023 Fedora Release Engineering - 0.7.9-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild From 1a9ebed9f7bc74427b3cb0e3543f6556d546335d Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 20 Jul 2024 09:18:55 +0000 Subject: [PATCH 18/23] Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild --- whichwayisup.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/whichwayisup.spec b/whichwayisup.spec index 3a0c7a3..bb36e4d 100644 --- a/whichwayisup.spec +++ b/whichwayisup.spec @@ -2,7 +2,7 @@ Name: whichwayisup Version: 0.7.9 -Release: 20%{?dist} +Release: 21%{?dist} Summary: 2D platform game with a slight rotational twist # All game content, sounds and graphics are licensed under @@ -107,6 +107,9 @@ ln -s %{_datadir}/fonts/bitstream-vera-sans-fonts/Vera.ttf \ %changelog +* Sat Jul 20 2024 Fedora Release Engineering - 0.7.9-21 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + * Sat Jan 27 2024 Fedora Release Engineering - 0.7.9-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From c6d77763325a61b7bd2830c04f91ad2405af1c24 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Such=C3=BD?= Date: Wed, 4 Sep 2024 22:47:14 +0200 Subject: [PATCH 19/23] convert license to SPDX This is part of https://fedoraproject.org/wiki/Changes/SPDX_Licenses_Phase_4 --- whichwayisup.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/whichwayisup.spec b/whichwayisup.spec index bb36e4d..c912c70 100644 --- a/whichwayisup.spec +++ b/whichwayisup.spec @@ -2,12 +2,13 @@ Name: whichwayisup Version: 0.7.9 -Release: 21%{?dist} +Release: 22%{?dist} Summary: 2D platform game with a slight rotational twist # All game content, sounds and graphics are licensed under # Creative Commons 3.0 Attribution license. -License: GPLv2 and CC-BY +# Automatically converted from old format: GPLv2 and CC-BY - review is highly recommended. +License: GPL-2.0-only AND LicenseRef-Callaway-CC-BY URL: http://www.oletus.fi/static/whichwayisup/ Source0: http://www.oletus.fi/static/whichwayisup/%{name}_b%{pkgversion}.zip # Desktop file taken from Debian @@ -107,6 +108,9 @@ ln -s %{_datadir}/fonts/bitstream-vera-sans-fonts/Vera.ttf \ %changelog +* Wed Sep 04 2024 Miroslav Suchý - 0.7.9-22 +- convert license to SPDX + * Sat Jul 20 2024 Fedora Release Engineering - 0.7.9-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild From 6499ccfe38feebf7e3129d75018bf33c0f4fd37f Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sun, 19 Jan 2025 14:59:17 +0000 Subject: [PATCH 20/23] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild --- whichwayisup.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/whichwayisup.spec b/whichwayisup.spec index c912c70..481d400 100644 --- a/whichwayisup.spec +++ b/whichwayisup.spec @@ -2,7 +2,7 @@ Name: whichwayisup Version: 0.7.9 -Release: 22%{?dist} +Release: 23%{?dist} Summary: 2D platform game with a slight rotational twist # All game content, sounds and graphics are licensed under @@ -108,6 +108,9 @@ ln -s %{_datadir}/fonts/bitstream-vera-sans-fonts/Vera.ttf \ %changelog +* Sun Jan 19 2025 Fedora Release Engineering - 0.7.9-23 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + * Wed Sep 04 2024 Miroslav Suchý - 0.7.9-22 - convert license to SPDX From a62c8865b23c52d53ae1c5fc1044f7c55ac53ec9 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 25 Jul 2025 20:24:18 +0000 Subject: [PATCH 21/23] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild --- whichwayisup.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/whichwayisup.spec b/whichwayisup.spec index 481d400..852e8a6 100644 --- a/whichwayisup.spec +++ b/whichwayisup.spec @@ -2,7 +2,7 @@ Name: whichwayisup Version: 0.7.9 -Release: 23%{?dist} +Release: 24%{?dist} Summary: 2D platform game with a slight rotational twist # All game content, sounds and graphics are licensed under @@ -108,6 +108,9 @@ ln -s %{_datadir}/fonts/bitstream-vera-sans-fonts/Vera.ttf \ %changelog +* Fri Jul 25 2025 Fedora Release Engineering - 0.7.9-24 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + * Sun Jan 19 2025 Fedora Release Engineering - 0.7.9-23 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild From 507fe64f24e5fc57269f9844902b9c070ec2d5cd Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 17 Jan 2026 20:13:30 +0000 Subject: [PATCH 22/23] Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild --- whichwayisup.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/whichwayisup.spec b/whichwayisup.spec index 852e8a6..8024a61 100644 --- a/whichwayisup.spec +++ b/whichwayisup.spec @@ -2,7 +2,7 @@ Name: whichwayisup Version: 0.7.9 -Release: 24%{?dist} +Release: 25%{?dist} Summary: 2D platform game with a slight rotational twist # All game content, sounds and graphics are licensed under @@ -108,6 +108,9 @@ ln -s %{_datadir}/fonts/bitstream-vera-sans-fonts/Vera.ttf \ %changelog +* Sat Jan 17 2026 Fedora Release Engineering - 0.7.9-25 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild + * Fri Jul 25 2025 Fedora Release Engineering - 0.7.9-24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild From a7b605b3af1c2a28ffb2c97e6a48ac316c1f2506 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 17 Jul 2026 08:47:51 +0000 Subject: [PATCH 23/23] Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild --- whichwayisup.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/whichwayisup.spec b/whichwayisup.spec index 8024a61..f3f1a94 100644 --- a/whichwayisup.spec +++ b/whichwayisup.spec @@ -2,7 +2,7 @@ Name: whichwayisup Version: 0.7.9 -Release: 25%{?dist} +Release: 26%{?dist} Summary: 2D platform game with a slight rotational twist # All game content, sounds and graphics are licensed under @@ -108,6 +108,9 @@ ln -s %{_datadir}/fonts/bitstream-vera-sans-fonts/Vera.ttf \ %changelog +* Fri Jul 17 2026 Fedora Release Engineering - 0.7.9-26 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild + * Sat Jan 17 2026 Fedora Release Engineering - 0.7.9-25 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild