bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #20003] Two patches for packaging a relatively rpmlint clean gnuste


From: Gareth Armstrong
Subject: [bug #20003] Two patches for packaging a relatively rpmlint clean gnustep-make rpm
Date: Tue, 29 May 2007 14:13:25 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.10) Gecko/20070223 Fedora/1.5.0.10-1.fc5 Firefox/1.5.0.10

URL:
  <http://savannah.gnu.org/bugs/?20003>

                 Summary: Two patches for packaging a relatively rpmlint
clean gnustep-make rpm 
                 Project: GNUstep
            Submitted by: garmstrong
            Submitted on: Tuesday 05/29/2007 at 14:13
                Category: Makefiles
                Severity: 3 - Normal
              Item Group: Bug
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

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






    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Tuesday 05/29/2007 at 14:13  Name: gnustep-make.spec  Size: 6kB   By:
garmstrong
gnustep-make spec file and associated patches
<http://savannah.gnu.org/bugs/download.php?file_id=12894>
-------------------------------------------------------
Date: Tuesday 05/29/2007 at 14:13  Name:
gnustep-make-2.0.0-fhs-system-doc.patch  Size: 577B   By: garmstrong
gnustep-make spec file and associated patches
<http://savannah.gnu.org/bugs/download.php?file_id=12895>
-------------------------------------------------------
Date: Tuesday 05/29/2007 at 14:13  Name:
gnustep-make-2.0.0-gnumakefile.in.patch  Size: 2kB   By: garmstrong
gnustep-make spec file and associated patches
<http://savannah.gnu.org/bugs/download.php?file_id=12896>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?20003>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]