On Fri, Feb 15, 2013 at 10:19:41PM +0100, Dejan Muhamedagic wrote: > Hi, > > On Fri, Feb 15, 2013 at 02:25:41PM +0900, yusuke iida wrote: > > Hi, Dejan > > > > I made a patch for spec file to make rpm of crmsh in rhel environment. > > I want a crmsh repository to merge it if I do not have any problem.
This is a problem which I ran into earlier too. Something (probably one of the rpm macros) does a 'rm -rf' of the doc directory _after_ the files got installed: [ 29s] test -z "/usr/share/doc/packages/crmsh" || /bin/mkdir -p "/var/tmp/crmsh-1.2.5-build/usr/share/doc/packages/crmsh" [ 29s] /usr/bin/install -c -m 644 'AUTHORS' '/var/tmp/crmsh-1.2.5-build/usr/share/doc/packages/crmsh/AUTHORS' [ 29s] /usr/bin/install -c -m 644 'COPYING' '/var/tmp/crmsh-1.2.5-build/usr/share/doc/packages/crmsh/COPYING' ... [ 30s] Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.6245 [ 30s] + umask 022 [ 30s] + cd /usr/src/packages/BUILD [ 30s] + cd crmsh [ 30s] + DOCDIR=/var/tmp/crmsh-1.2.5-build/usr/share/doc/packages/crmsh [ 30s] + export DOCDIR [ 30s] + rm -rf /var/tmp/crmsh-1.2.5-build/usr/share/doc/packages/crmsh [ 30s] + /bin/mkdir -p /var/tmp/crmsh-1.2.5-build/usr/share/doc/packages/crmsh [ 30s] + cp -pr ChangeLog /var/tmp/crmsh-1.2.5-build/usr/share/doc/packages/crmsh ... [ 32s] error: create archive failed on file /var/tmp/crmsh-1.2.5-build/usr/share/doc/packages/crmsh/AUTHORS: cpio: open failed - Bad file descriptor If somebody can shed some light or suggest how to deal with this ... Thanks, Dejan > No problem. Will test the patch. BTW, did you notice that there > are packages for rhel too at OBS (see the latest news item at > https://savannah.nongnu.org/projects/crmsh/). > > Cheers, > > Dejan > > > > > Best regards, > > Yusuke > > -- > > ---------------------------------------- > > METRO SYSTEMS CO., LTD > > > > Yusuke Iida > > Mail: yusk.i...@gmail.com > > ---------------------------------------- > > > _______________________________________________________ > Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org > http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev > Home Page: http://linux-ha.org/ _______________________________________________________ Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev Home Page: http://linux-ha.org/