Rpm-list Digest, Vol 43, Issue 4
ram s
ramforummail at gmail.com
Mon Sep 14 10:15:01 UTC 2009
Hello Kurt,
thank you.
It helps me.
On Fri, Sep 11, 2009 at 5:30 PM, <rpm-list-request at lists.rpm.org> wrote:
> Send Rpm-list mailing list submissions to
> rpm-list at lists.rpm.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.rpm.org/mailman/listinfo/rpm-list
> or, via email, send a message with subject or body 'help' to
> rpm-list-request at lists.rpm.org
>
> You can reach the person managing the list at
> rpm-list-owner at lists.rpm.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Rpm-list digest..."
>
>
> Today's Topics:
>
> 1. Re: Cannot include sub directories and files in rpm package
> (pbdlists at pinboard.com)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Thu, 10 Sep 2009 20:24:58 +0200
> From: pbdlists at pinboard.com
> Subject: Re: Cannot include sub directories and files in rpm package
> To: General discussion about the RPM package manager
> <rpm-list at lists.rpm.org>
> Message-ID: <20090910182458.GB13338 at pinboard.com>
> Content-Type: text/plain; charset=us-ascii
>
> Hi Ram,
>
> > install -p /mine/derot.txt
> $RPM_BUILD_ROOT/home/dictator/supplies/ShellScripts/mine/derot.txt
>
> You try to copy derot.txt from /mine/ instead of from
> ShellScripts/mine/. You probabls want this line to read
>
> install -p ShellScripts/mine/derot.txt
> $RPM_BUILD_ROOT/home/dictator/supplies/ShellScripts/mine/derot.txt
>
> To add the mine directory in your build stage, you should be able to add
> a mkdir command to your %build section.
>
> Hope this helps,
>
> Kurt
>
> On Thu, Sep 10, 2009 at 12:19:09PM +0530, ram s wrote:
> > Hello,
> >
> > I am creating one rpm for my package.
> >
> > WHen I try to run spec file, it shows the sub directories can't be fine.
> >
> > Error:
> >
> > install: cannot stat `/mine/derot.txt': No such file or directory
> > error: Bad exit status from /home/user/rpmbuild/tmp/rpm-tmp.XgsNY2
> > (%install)
> >
> >
> > Actually in SOURCE, I have Script directory. Inside the ShellScript dir,
> I
> > have mine directory and its files.
> >
> > my spec %install part is,
> > %install
> >
> > mkdir -p $RPM_BUILD_ROOT/home/dictator/
> > mkdir -p $RPM_BUILD_ROOT/home/dictator/supplies
> > mkdir -p $RPM_BUILD_ROOT/home/dictator/supplies/ShellScripts
> > mkdir -p $RPM_BUILD_ROOT/home/dictator/supplies/ShellScripts/mine
> >
> > install -d ShellScripts
> $RPM_BUILD_ROOT/home/dictator/supplies/ShellScripts
> > install -p Scripts/dir_check.sh
> > $RPM_BUILD_ROOT/home/dictator/supplies/ShellScripts/dir_check.sh
> > install -d ShellScripts/mine
> > $RPM_BUILD_ROOT/home/dictator/supplies/ShellScripts/mine
> > install -p /mine/derot.txt
> > $RPM_BUILD_ROOT/home/dictator/supplies/ShellScripts/mine/derot.txt
> > install -p ShellScripts/mine/dir_check.sh
> > $RPM_BUILD_ROOT/home/dictator/supplies/ShellScripts/mine/dir_check.sh
> >
> > In my test-1.tar.gz file, test-1 directory contains ShellScript dir.
> Inside
> > ShellScript dir, i created mine directory.
> >
> > In build, I am noit able to add mine in my binary.
> >
> > How to add directory and subdirectories in binary.
> >
> > thank you.
>
> > _______________________________________________
> > Rpm-list mailing list
> > Rpm-list at lists.rpm.org
> > http://lists.rpm.org/mailman/listinfo/rpm-list
>
>
>
> ------------------------------
>
> _______________________________________________
> Rpm-list mailing list
> Rpm-list at lists.rpm.org
> http://lists.rpm.org/mailman/listinfo/rpm-list
>
>
> End of Rpm-list Digest, Vol 43, Issue 4
> ***************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-list/attachments/20090914/77c24f42/attachment.htm>
More information about the Rpm-list
mailing list