[opensuse] building tar-1.22 on 11.0 from 1.19 spec - man page file not found -- howto workaround?
Listmates, I'm rebuilding tar-1.22 on 11.0 from the 1.19 spec file. All goes well until rpmbuild can't find the missing man page and it dies. The final error was: Processing files: tar-debugsource-1.22-66.6 Checking for unpackaged file(s): /usr/lib/rpm/check-files /var/tmp/tar-1.22- build RPM build errors: File not found: /var/tmp/tar-1.22-build/usr/share/man/man1/tar.1.gz OK, I cheated here: mkdir -p /var/tmp/tar-1.22-build/usr/share/man/man1/ cp /usr/share/man/man1/tar.1.gz \ /var/tmp/tar-1.22-build/usr/share/man/man1/ My (very strong) suspicion is the manpage patch for 1.19 that didn't work (and was removed from the spec) should have set up the Makefile for the man pages, but for some reason failed preventing the man pages from building. How do I handle this situation. I'm not that worried about the old man page on my box, but if I wanted to put the package on build service, how would I get the man page to work?? Thanks. P.S. tar-1.22 is needed for the latest xz -- David C. Rankin, J.D.,P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Tuesday 01 September 2009 01:37:57 am David C. Rankin wrote:
Listmates,
I'm rebuilding tar-1.22 on 11.0 from the 1.19 spec file.
For those that would like to install xz on 11.0 and would like to build the new tar-1.22 rpms, the following spec file works fine, but note you will *not* get the tar man page installed in /usr/share/man/man1 and will have to copy tar.1.gz back into that directory to have a man page for it. Spec file: http://www.3111skyline.com/download/linux/apps/tar/tar.spec To build the new tar rpms for your system, just install the source rpm for tar 1.19 with "zypper si tar", download tar-1.22.tar.bz2 from the gnu website and put the package in /usr/src/packages/SOURCES, download the spec file above and put it in /usr/src/packages/SPECS/ (you could put it anywhere), then just execute "rpmbuild -bb /usr/src/packages/SPECS/tar.spec. Your new tar rpms will end up in /usr/src/packages/RPMS/{arch} 03:06 nemesis:~> ls -1 /usr/src/packages/RPMS/i586/ tar-1.22-66.6.i586.rpm tar-debuginfo-1.22-66.6.i586.rpm tar-debugsource-1.22-66.6.i586.rpm Then just install xz and you will have the option to use xz compression with tar via the "J" option and get file compression producing file sizes 50% smaller than with bzip2 in most cases. -- David C. Rankin, J.D.,P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (1)
-
David C. Rankin