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

Review Request: elektra - /etc/profiles.d question and .csh needed...



Hello
I have few questions about packaging elektra:

See:
http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=209906
Summary:       A key/value pair database to store software configurations

By default the file installed in /etc/profile.d have executable bit set
and own a shebang.
Then it lead to the rpmlint error:

E: elektra sourced-script-with-shebang /etc/profile.d/elektra-elektraenv.sh
E: elektra executable-sourced-script /etc/profile.d/elektra-elektraenv.sh 0755

Fixing this at install step would lead to do this : (as petrus have done).
# file in profile.d is sourced, remove shebang and execute bits
sed -i -e 's;#!/bin/sh;;' $RPM_BUILD_ROOT%{_sysconfdir}/profile.d/elektra-elektraenv.sh
chmod a-x $RPM_BUILD_ROOT%{_sysconfdir}/profile.d/elektra-elektraenv.sh
and files section will have:
%config(noreplace) %{_sysconfdir}/profile.d/*.sh

Then rpmlint remain quiet: So my question is what is the current state of art about this question?
Most of the packages i have found in /etc/profiles.d (fc6) own the shebang and have executable bit set...

The second part is: i need a csh version of that script to be included to satisfied csh users...
Can anyone can check for changes needed to this conversion?
Here is the file :
http://kwizart.free.fr/fedora/6/testing/elektra/elektraenv.sh


I plan to package oyranos that will need elektra 
(oyranos is needed by cinepaint which is currently reviewed here :
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=225522 )
Third part would be to sort all packages that need elektra or could enable elektra options
I wonder if a bugzilla entry would be created to list packages for this when the elektra package will be stabilized

Nicolas (kwizart)






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