[opensuse-packaging] purpose of section %verifyscript in spec file
Hi could anybody tell me when is %verifyscript section ( in rpm spec file ) called in suse distro ? should really each package which contain %run_permissions also contain section %verifyscript ? As I understood from : http://en.opensuse.org/SUSE_Package_Conventions/RPM_Macros#3.37._.25verify_p... I thought right permissions for problematic files are set using /sbin/SuSEconfig --module permissions and /etc/permissions.* files thanks -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
Michal Seben wrote:
could anybody tell me when is %verifyscript section ( in rpm spec file ) called in suse distro ?
When you run rpm --verify on a package.
should really each package which contain %run_permissions also contain section %verifyscript ? As I understood from : http://en.opensuse.org/SUSE_Package_Conventions/RPM_Macros#3.37._.25verify_p...
Yes.
I thought right permissions for problematic files are set using /sbin/SuSEconfig --module permissions and /etc/permissions.* files
Correct. Without verifyscript rpm --verify will complain about wrong file permissions if the packaged permissions don't match the current setting for PERMISSION_SECURITY though. cu Ludwig -- (o_ Ludwig Nussel //\ V_/_ http://www.suse.de/ SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg) -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
participants (2)
-
Ludwig Nussel
-
Michal Seben