Can I use cp in %install section of spec

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello ,

Can I use cp call in %install section.

%install

rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/

#install  -d bin  /home/myhome


mkdir -m 777 -p $RPM_BUILD_ROOT/home/dictator/nco
cp -r bin $RPM_BUILD_ROOT/home/myhome
cp -r jar $RPM_BUILD_ROOT/home/myhome


is it correct.

If I use install to copy directories and sub directories it creates problem.

I need this question help soon.

thank you.
_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxxxxx
http://lists.rpm.org/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux