[opensuse-packaging] /usr/bin/chkstat modified files that are not properly handled!

Morning all, during rebuild of a package I suddenly get a new error messages, resulting in a failed build: [ 42s] package: trytond [ 42s] /usr/bin/chkstat modified files that are not properly handled! [ 42s] this will break rpm -V, ask ro for details. [ 42s] diff for both runs of rpm -V: [ 42s] +.M...UG.. /var/log The only point I address /var/log in the spec file is .... mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/{lib,log}/%{basename} [...] %files #%files -f filelist %defattr(-,root,root) %doc README tryton-server.README.SUSE trytond.conf.example doc/* %{python_sitelib}/* %dir %{_sysconfdir}/%{basename} %{_bindir}/%{name} %{_unitdir}/%{name}.service %attr(640,root,tryton) %config(noreplace)%{_sysconfdir}/%{basename}/%{name}.conf %attr(640,root,tryton) %config(noreplace)%{_sysconfdir}/%{basename}/%{name}_log.conf %attr(744,tryton,tryton) %dir %{_localstatedir}/lib/%{basename} %attr(744,tryton,tryton) %dir %{_localstatedir}/log/%{basename} and that was not changed compared to before. Any idea how I can get rid of the message, or what the reason suddenly is? Thanks Axel -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org

Hi,
I think I found the issue myself - I had introduced a definition in the beginning of the spec-file: %define basename tryton and that did not expand into %{basename}. No idea (yet) why, but I'm still investigating... Cheers Axel -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org

Hello, Am Mittwoch, 27. Mai 2015 schrieb Axel Braun:
%attr(744,tryton,tryton) %dir %{_localstatedir}/lib/%{basename} %attr(744,tryton,tryton) %dir %{_localstatedir}/log/%{basename}
744 is a strange permission set (x only for the owner). 755 is probably a better choice ;-) Regards, Christian Boltz -- systemd is the worst thing I have seen in ten years with SuSE distributions, comparable perhaps only with zmd. [Michal Kubecek in https://bugzilla.novell.com/725917#c38] -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org

Hi,
I think I found the issue myself - I had introduced a definition in the beginning of the spec-file: %define basename tryton and that did not expand into %{basename}. No idea (yet) why, but I'm still investigating... Cheers Axel -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org

Hello, Am Mittwoch, 27. Mai 2015 schrieb Axel Braun:
%attr(744,tryton,tryton) %dir %{_localstatedir}/lib/%{basename} %attr(744,tryton,tryton) %dir %{_localstatedir}/log/%{basename}
744 is a strange permission set (x only for the owner). 755 is probably a better choice ;-) Regards, Christian Boltz -- systemd is the worst thing I have seen in ten years with SuSE distributions, comparable perhaps only with zmd. [Michal Kubecek in https://bugzilla.novell.com/725917#c38] -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
participants (2)
-
Axel Braun
-
Christian Boltz