Michael Ströder
Disclaimer: I'm not a packaging expert. I'm just trying to update packages here and there.
In the current case I'm fighting with a strange problem here:
https://build.opensuse.org/package/show/home:stroeder:branches:network:ldap:...
It seems %{_sysconfdir} expands to /usr/local/etc but only in some cases.
No, it should always expand to /etc.
Build always fails like this:
------------------- snip ------------------- [ 224s] cp ldapns.schema /home/abuild/rpmbuild/BUILDROOT/openldap2-2.4.40-0.x86_64/usr/local/etc/openldap/schema [ 224s] cp: cannot create regular file '/home/abuild/rpmbuild/BUILDROOT/openldap2-2.4.40-0.x86_64/usr/local/etc/openldap/schema': No such file or directory
You need to pass sysconfdir=%{_sysconfdir} when calling make in the contrib overlays. Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different." -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org