Re: how to refer to files in the tarball

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

 



> Hi,
>
> I have a source tar of a package that I wish to package for fedora. To
> install that there is a bash script should be done and that bash file
> is inside the tar. How can I refer to that bash file (in the spec
> file) in that tar to run it?
>
> if the tar name is abc.tar.gz. the install.sh file in just inside
> abc.tar.gz.

Well, after the line in the spec:

%setup -q

The pwd is inside the extracted tarball.  So you probably want:

%setup -q
./install.sh

Or somesuch.

-J

> Any help?
>
> --
> Best Regards,
>
> Kalpa Pathum Welivitigoda
> http://about.me/callkalpa
> --
> packaging mailing list
> packaging@xxxxxxxxxxxxxxxxxxxxxxx
> https://admin.fedoraproject.org/mailman/listinfo/packaging
>


-- 
in your fear, seek only peace
in your fear, seek only love

-d. bowie

--
packaging mailing list
packaging@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/packaging


[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux