Tue 29 May 2007 02:13:24 PM UTC, original submission:
Hello Everyone,
I am in the process of packaging gnustep-make and gnustep-base rpm packages for RHEL 4 and 5 for my organization. First of all, a big thank you for making it possible to select a more standard filesystem layout via the "./configure --with-layout=fhs-system" option.
Anyway, on to the current problems. In my attempt to create a "rpmlint clean" gnustep-make rpm (based on the Fedora packaging policy), I needed to add the two attached patches to the packaging spec file (also attached).
The "gnustep-make-2.0.0-gnumakefile.in.patch" patch essentially gets me from these rpmlint errors (10) and warnings (3),
rpmlint /usr/src/redhat/RPMS/noarch/gnustep-make-2.0.1-1.ocek.el4.noarch.rpm
E: gnustep-make non-executable-script /usr/share/GNUstep/Makefiles/java-executable.template 0644
W: gnustep-make devel-file-in-non-devel-package /usr/bin/gnustep-config
E: gnustep-make non-executable-script /usr/share/GNUstep/Makefiles/filesystem.csh 0644
E: gnustep-make non-executable-script /usr/share/GNUstep/Makefiles/GNUstep.sh 0644
E: gnustep-make non-executable-script /usr/share/GNUstep/Makefiles/ld_lib_path.sh 0644
E: gnustep-make non-executable-script /usr/share/GNUstep/Makefiles/filesystem.sh 0644
E: gnustep-make non-executable-script /usr/share/GNUstep/Makefiles/app-wrapper.template 0644
E: gnustep-make non-executable-script /usr/share/GNUstep/Makefiles/executable.template 0644
W: gnustep-make non-conffile-in-etc /etc/profile.d/gnustep.csh
W: gnustep-make non-conffile-in-etc /etc/profile.d/gnustep.sh
E: gnustep-make non-executable-script /usr/share/GNUstep/Makefiles/GNUstep.csh 0644
E: gnustep-make non-executable-script /usr/share/GNUstep/Makefiles/GNUstep-reset.sh 0644
E: gnustep-make non-executable-script /usr/share/GNUstep/Makefiles/ld_lib_path.csh 0644
to these 3 warning ;-)
rpmlint usr/src/redhat/RPMS/noarch/gnustep-make-2.0.1-1.ocek.el4.noarch.rpm
W: gnustep-make devel-file-in-non-devel-package /usr/bin/gnustep-config
W: gnustep-make non-conffile-in-etc /etc/profile.d/gnustep.csh
W: gnustep-make non-conffile-in-etc /etc/profile.d/gnustep.sh
The patch makes sense, (i.e. install -m 755), in that files like "/usr/share/GNUstep/Makefiles/GNUstep.sh"
contain a shebang, e.g.
#! /bin/echo This file must be sourced inside (ba)sh using: .
Similarly for the app-wrapper.template, executable.template and
ava-executable.template files.
The second patch, "gnustep-make-2.0.0-fhs-system-doc.patch" correctly positions the GNUSTEP_SYSTEM_DOC_MAN and GNUSTEP_SYSTEM_DOC_INFO variables to use /usr/share/man and /usr/share/info when "./configure --with-layout=fhs-system" is used. This is the standard filesystem layout for both Red Hat and Debian based systems. This patch is NOT directly needed by the gnustep-make rpm but IS to correctly package gnustep-base which is dependent on gnustep-make for the filesystem info.
Hopefully, this gives enough information as to the reasons for the two patches. If you have any questions please don't hesitate to get back to me. Feedback on the spec file would also be greatly appreciated. I would at a future date like to push the packages to the Fedora community. Many thanks again.
All the best,
Gareth
|