#774127 game-data-packager: changelog.gz is installed twice

#774127#5
Date:
2014-12-29 08:41:21 UTC
From:
To:
Dear Maintainer,


ls -l /usr/share/doc/game-data-packager/changelog.gz   /usr/share/games/game-
data-packager/changelog.gz
-rw-r--r-- 1 root root 5068 déc 29 08:15 /usr/share/doc/game-data-
packager/changelog.gz
-rw-r--r-- 1 root root 5078 déc 29 08:30 /usr/share/games/game-data-
packager/changelog.gz

dpkg -S /usr/share/doc/game-data-packager/changelog.gz   /usr/share/games/game-
data-packager/changelog.gz
game-data-packager: /usr/share/doc/game-data-packager/changelog.gz
game-data-packager: /usr/share/games/game-data-packager/changelog.gz

zdiff /usr/share/doc/game-data-packager/changelog.gz /usr/share/games/game-
data-packager/changelog.gz
-> no difference

The 10 bytes difference is due to use of "gzip -c9".

I guess these two lines in Makefile should go away:

But I don't know what was their purpose;
so maybe this is wrong :-|
maybe a symlink would do.

Alexandre Detiste

#774127#10
Date:
2014-12-29 10:46:10 UTC
From:
To:
This exists because Debian policy says it must.

This exists so we can include it in quake2-*.deb. (It is also duplicated
in each of /usr/share/games/game-data-packager/*.deb, but you can't
immediately see that without unpacking them.)

We can't use /usr/share/doc/game-data-packager/changelog.gz for this
purpose because Policy says packages must continue to work if you delete
some or all of /usr/share/doc.

If all the "template .deb" files were stored in unpacked form, like the
quake2 ones already are, then they could all share one copy of
changelog.gz. That's what I plan to do for all subsequent games that I
add, and I'll probably migrate existing games (or at least those for
which I have a copy) to that structure over time.

Maybe, but I don't think Policy allows
/usr/share/doc/PACKAGE/changelog.gz to be a symlink?

    S

#774127#15
Date:
2014-12-29 10:46:10 UTC
From:
To:
This exists because Debian policy says it must.

This exists so we can include it in quake2-*.deb. (It is also duplicated
in each of /usr/share/games/game-data-packager/*.deb, but you can't
immediately see that without unpacking them.)

We can't use /usr/share/doc/game-data-packager/changelog.gz for this
purpose because Policy says packages must continue to work if you delete
some or all of /usr/share/doc.

If all the "template .deb" files were stored in unpacked form, like the
quake2 ones already are, then they could all share one copy of
changelog.gz. That's what I plan to do for all subsequent games that I
add, and I'll probably migrate existing games (or at least those for
which I have a copy) to that structure over time.

Maybe, but I don't think Policy allows
/usr/share/doc/PACKAGE/changelog.gz to be a symlink?

    S