*** itxaka_ has quit IRC | 00:21 | |
*** itxaka has quit IRC | 00:21 | |
*** apevec_ has joined #openstack-rpm-packaging | 01:06 | |
*** apevec_ has quit IRC | 01:06 | |
*** apevec_ has joined #openstack-rpm-packaging | 01:06 | |
*** apevec has quit IRC | 01:09 | |
*** apevec_ has quit IRC | 02:16 | |
*** itxaka has joined #openstack-rpm-packaging | 08:20 | |
openstackgerrit | Igor Yozhikov proposed openstack/rpm-packaging master: Initial commit for nova v15.0.0.0b2 https://review.openstack.org/425673 | 09:30 |
---|---|---|
IgorYozhikov | dirk, could you please clarify - where this came from: [ 3473s] openstack-nova-cert-15.0.0.0~xbeta2-1.1.noarch.rpm: directories not owned by a package: | 10:56 |
IgorYozhikov | [ 3473s] - /usr/com | 10:56 |
IgorYozhikov | just want to understand how to handle this dir | 10:56 |
jpena | IgorYozhikov: I have added some comments in the review, it looks like /usr/com is what %{_sharedstatedir} translates to in SUSE | 11:18 |
IgorYozhikov | jpena, thanx, that is on my todo(I'm about common packages), @ 1st I want to pass all CI checks & after that re-work spec without common package | 11:33 |
jpena | sure, my comment was more related to the /usr/com directory | 11:34 |
IgorYozhikov | toabctl, could you confirm that %{_sharedstatedir} in SUSE expands into /usr/com ? | 11:36 |
IgorYozhikov | number80, r u with us now? | 11:45 |
jpena | IgorYozhikov: number80 is at the CentOS dojo in FOSDEM, probably away | 11:45 |
IgorYozhikov | oic, thanx | 11:46 |
dirk | IgorYozhikov: I can take a look | 11:52 |
dirk | IgorYozhikov: rpm --eval "%{_sharedstatedir}" | 11:52 |
dirk | /usr/com | 11:52 |
IgorYozhikov | dirk, thanx | 11:52 |
dirk | IgorYozhikov: so yes, thats the one. what do you want to store there? | 11:52 |
dirk | this doesn't look like a valid FHS location | 11:53 |
IgorYozhikov | dirk, lines 503 and below in https://review.openstack.org/#/c/425673/21/openstack/nova/nova.spec.j2 | 11:54 |
IgorYozhikov | bbs @ 10min | 11:55 |
dirk | IgorYozhikov: right, but why do you use %_sharedstatedir rather than %_localstatedir? | 11:55 |
* dirk isn't quite sure he understands the difference | 11:55 | |
IgorYozhikov | legacy approach, nothing special | 11:55 |
dirk | jpena: whats the new location that %_sharedstatedir expands for you on RHEL7+ ? | 11:57 |
jpena | dirk: it expands to /var/lib, at least since RHEL6 | 11:58 |
jpena | see https://fedoraproject.org/wiki/Packaging:RPMMacros?rd=Packaging/RPMMacros | 11:58 |
dirk | ah, thanks | 11:59 |
dirk | ok, this looks like a bug on the SLES side then | 11:59 |
* dirk files bugreport | 11:59 | |
dirk | IgorYozhikov: if you want we can do a %global openstackstatedir that expands to %{_localstatedir}/lib/%{sname} | 12:03 |
dirk | that would maybe make things nicer over all | 12:03 |
IgorYozhikov | dirk, that is could be convenient in our case, but how CMs will handle that. I mean - that such approach could affect puppet || chef manifests. | 12:13 |
IgorYozhikov | I hope that we are going to create packages almost without big differences from SLES || RHEL || CentOS from perspective of files & directories location. | 12:15 |
IgorYozhikov | Since that - packages are going to be compatible with CM systems | 12:16 |
*** apevec has joined #openstack-rpm-packaging | 12:17 | |
IgorYozhikov | I'm fine with using of ${_localstatedir}/lib/%{sname} instead of %{_sharedstatedir}/%{sname}, but will this valid for SUSE too? | 12:20 |
IgorYozhikov | If I understood right %{_localstatedir}/lib/%{sname} and %{_sharedstatedir}/%{sname} are equal and expand in the same path in case of RH. | 12:22 |
IgorYozhikov | if there are no concerns or objections about ^^ I can try to use suggested approach. | 12:23 |
openstackgerrit | Igor Yozhikov proposed openstack/rpm-packaging master: Initial commit for nova v15.0.0.0b2 https://review.openstack.org/425673 | 12:41 |
*** Dobroslaw has quit IRC | 12:41 | |
*** itxaka has quit IRC | 12:53 | |
*** itxaka has joined #openstack-rpm-packaging | 13:23 | |
*** pradk has joined #openstack-rpm-packaging | 13:33 | |
*** jpena is now known as jpena|lunch | 13:42 | |
*** apevec has quit IRC | 14:11 | |
*** jpena|lunch is now known as jpena | 14:40 | |
*** witek has joined #openstack-rpm-packaging | 14:40 | |
*** pcaruana has quit IRC | 15:11 | |
*** pcaruana has joined #openstack-rpm-packaging | 15:17 | |
*** chandankumar has quit IRC | 17:56 | |
*** chandankumar has joined #openstack-rpm-packaging | 17:56 | |
*** itxaka has quit IRC | 18:47 | |
*** pradk has quit IRC | 23:30 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!