[cs615asa] Question about the %install step in .spec file

Xiakun Lu xlu9 at stevens.edu
Wed Feb 25 13:46:29 EST 2015

> 1. In .spec file, we have command "make DESTDIR=$RPM_BUILD_ROOT install".
> It is used for compiled source code installation. However, awscli uses
> python rather than configuration file. Can we directly pack up
> awscli-1.7.12.tar.gz?

I think what you need to do is only to extract these packages.

> 2. If I can do, does the command in .spec file "make
> DESTDIR=$RPM_BUILD_ROOT install" be changed to "pip DESTDIR=$RPM_BUILD_ROOT
> install", or just keep the original format?

Use tar instead of make.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.stevens.edu/pipermail/cs615asa/attachments/20150225/e9ecb565/attachment.html>

More information about the cs615asa mailing list