[game-data-packager] 01/01: fedora: rpmlint 'E: no-changelogname-tag' *

Alexandre Detiste detiste-guest at moszumanska.debian.org
Mon Jan 4 12:36:24 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 7c8a7f2eb1ce73c87babd6825410c93b7b7dbfd1
Author: Alexandre Detiste <alexandre.detiste at gmail.com>
Date:   Mon Jan 4 13:35:28 2016 +0100

    fedora: rpmlint 'E: no-changelogname-tag' *
    
    this also repeat the 'for local use only' disclaimer
---
 game_data_packager/build.py | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/game_data_packager/build.py b/game_data_packager/build.py
index 0f71260..8878595 100644
--- a/game_data_packager/build.py
+++ b/game_data_packager/build.py
@@ -1492,6 +1492,14 @@ class PackagingTask(object):
                     full = os.path.join(dirpath, fn)
                     full = full[len(destdir):]
                     spec.write(full + '\n')
+
+            spec.write('%changelog\n')
+            spec.write('* %s %s@%s - %s-0\n' %
+                        (time.strftime("%a %b %d %Y"),
+                         os.getlogin(), os.uname()[1], package.version))
+            spec.write('- Package generated by game-data-packager'
+                       ' for local use only\n')
+
         return specfile
 
     def fill_dest_dir_deb(self, package, destdir):

-- 
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