mardi 5 mai 2015

rpmbuild: common ownership of directories

Suppose packages I'm building for myprog1 and myprog2 are to install in /usr/lib/mysystem/myprog1/ and /usr/lib/mysystem/myprog2/

According to some distros' documentation, such in the case of OpenSUSE, both packages must own the shared directory. But how is that accomplished in the .spec files? Is the following correct?

%files
/usr/lib/mysystem

or do I need to do

%files
%dir /usr/lib/mysystem
/usr/lib/mysystem/myprog<1|2>

Aucun commentaire:

Enregistrer un commentaire