Description of problem: file /usr/share/gettext/libintl.jar from install of gettext-devel-0.14.6-2.fc6 conflicts with file from package gettext-devel-0.14.6-2.fc6 Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
this is not a Gaim bug (and I don't have permission to re-assign it to gettext)
# yum install gettext-devel : Installing: gettext-devel i386 0.14.6-2.fc6 development 1.0 M gettext-devel x86_64 0.14.6-2.fc6 development 1.0 M : Installing: gettext-devel ######################### [3/4] Installing: gettext-devel ######################### [4/4] Installed: gettext-devel.i386 0:0.14.6-2.fc6 gettext-devel.x86_64 0:0.14.6-2.fc6 Dependency Installed: cvs.x86_64 0:1.11.22-4 gettext.i386 0:0.14.6-2.fc6 Complete! [root@box23 petersen]# rpm -V gettext-devel.i386 .......T /usr/include/gettext-po.h .......T /usr/share/gettext/ABOUT-NLS ..5....T /usr/share/gettext/libintl.jar .......T /usr/share/gettext/msgunfmt.tcl .......T d /usr/share/man/man3/bind_textdomain_codeset.3.gz .......T d /usr/share/man/man3/bindtextdomain.3.gz .......T d /usr/share/man/man3/dcgettext.3.gz .......T d /usr/share/man/man3/dcngettext.3.gz .......T d /usr/share/man/man3/dgettext.3.gz .......T d /usr/share/man/man3/dngettext.3.gz .......T d /usr/share/man/man3/gettext.3.gz .......T d /usr/share/man/man3/ngettext.3.gz .......T d /usr/share/man/man3/textdomain.3.gz So this is referring to the md5 sum difference above?
Hmm, the the files in the .jar zip archives have identical md5 and datestamps: the problem seems to be the zip files themselves are different, perhaps some datestamp or something is causing that? I tested this with fastjar, generating two .jar files of the same directory directory and indeed they get different md5sum's. Let me pass this over to the Tools team for comments.
If you tell fastjar to create META-INF, that has its own timestamp too. redhat-rpm-config has /usr/lib/rpm/redhat/brp-java-repack-jars script for it, if you ensure /usr/bin/zip and /usr/bin/unzip are installed in the buildroot (adjust BuildRequires), then it should automatically do the right thing.
Fixing in 0.14.6-3.fc6.
Still seems to be a problem -- [katzj@porkchop RPMS]$ ~/multilib-cmp.py gettext-devel-0.14.6-3.fc6.* File conflict for /usr/share/gettext/libintl.jar in gettext-devel-0.14.6-3.fc6
[cc redhat-rpm-config owner] The brp-java-repack-jars seems to work fine from the commandline, but not from rpmbuild afaict.
FWIW gettext-0.15-1.fc7 no longer has a jar file.
The problem seems to be that the directories in the .jar files have different timestamps and hence they have different md5sum's.
Actually I take that back there are no directories in the .jar files: guess there must be some other timestamp in the .jar. I don't see an easy way to fix this since every .zip file generated seems to have a different md5sum.
A simple workaround I can see would be to move libintl.jar to %_libdir/gettext/.
You might check to see what, if anything, the java or libgcj packages do.
Fixing in gettext-0.14.6-4.fc6.