[opensuse-factory] Re: [opensuse-packaging] $RPM_BUILD_ROOT/%{_sysconfdir}/openldap/schema
Le 08/12/2014 22:07, Jan Engelhardt a écrit :
On Monday 2014-12-08 21:23, Michael Ströder wrote:
------------------- 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 [ 224s] Makefile:67: recipe for target 'install' failed [ 224s] make: *** [install] Error 1 ------------------- snip ------------------- Even if I *remove* (for testing) this line from openldap2.spec it fails like above: ------------------- snip ------------------- install -m 644 *.schema $RPM_BUILD_ROOT/%{_sysconfdir}/openldap/schema ------------------- snip ------------------- That is because what fails is not "install -m 644 *.schema", but "make install". Not really the problem here. The directory is not created, that's all. Use install -m -d 644 *.schema $RPM_BUILD_ROOT/%{_sysconfdir}/openldap/schema instead. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (1)
-
denisart benjamin2