[game-data-packager] 01/01: rpm: store UTC date, handle mageia quirks
Alexandre Detiste
detiste-guest at moszumanska.debian.org
Fri Jan 8 23:41:40 UTC 2016
This is an automated email from the git hooks/post-receive script.
detiste-guest pushed a commit to branch master
in repository game-data-packager.
commit 67b798777acdfd46a9b2eb530ad400aaa4b15cc2
Author: Alexandre Detiste <alexandre.detiste at gmail.com>
Date: Sat Jan 9 00:40:13 2016 +0100
rpm: store UTC date, handle mageia quirks
"Group" would need a more precise translation:
https://wiki.mageia.org/en/RPM_groups_policy
E: changelog-time-in-future
---
game_data_packager/build.py | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/game_data_packager/build.py b/game_data_packager/build.py
index 9a944d2..3a4ace4 100644
--- a/game_data_packager/build.py
+++ b/game_data_packager/build.py
@@ -1528,7 +1528,11 @@ class PackagingTask(object):
spec.write('Url: %s\n' % url)
spec.write('Release: %s\n' % release)
spec.write('License: Commercial\n')
- spec.write('Group: Amusements/Games\n')
+ if DISTRO == 'mageia':
+ spec.write('Packager: game-data-packager\n')
+ spec.write('Group: Games/%s\n' % self.game.genre)
+ else:
+ spec.write('Group: Amusements/Games\n')
spec.write('BuildArch: %s\n' % architecture)
if package.provides:
spec.write('Provides: %s\n' % package.provides)
@@ -1559,7 +1563,7 @@ class PackagingTask(object):
except FileNotFoundError:
login = 'game-data-packager'
spec.write('* %s %s@%s - %s-%s\n' %
- (time.strftime("%a %b %d %Y"),
+ (time.strftime("%a %b %d %Y", time.gmtime()),
login, os.uname()[1], package.version, release))
spec.write('- Package generated by game-data-packager'
' for local use only\n')
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/game-data-packager.git
More information about the Pkg-games-commits
mailing list