[cs615asa] awscli-1.7.12 do not support make command

Lingfei Hu lhu4 at stevens.edu
Fri Feb 27 19:04:09 EST 2015

As mentioned in
http://fedoraproject.org/wiki/Packaging:Guidelines#Requires_2,  there's no
automatic dependency find procedure for Build requirements, which means
that you must explicitly list stuff that the package requires to build
successfully. For requires, the dependency for software running after
installation, however, There is usually no need to explicitly list.
So I  defined BuildRequires : python >= 2.6.3 and ignored any Requires  in
SPEC file, then rpmbuild automatically detected the requires, including
rpmlib, libc.so.6, libpython2.7.so.1.0 ...., which would be checked before
rpm installation.

I prefer to install all packages through rpm under /usr instead of
/usr/local, and the following are the files and directories added after
installing awscli.
/usr/bin/aws (symbolic link)

On Thu, Feb 26, 2015 at 9:54 PM, Jan Schaumann <jschauma at stevens.edu> wrote:

> hchen29 <hchen29 at stevens.edu> wrote:
> > As far as I can see, the awscli-1.7.12 do not support make and make
> > install commands. It is installed by using python. I don't know how to
> > deal with this problem in .spec file, and how to track installed files.
> > If I don't know the location of all these files, I cannot write the
> > %file part in spec file. How to deal with this problem?
> 'make' is just a general purpose utility to execute commands
> conditionally based on time stamps.  The process to create a package may
> default to invoking 'make' (for certain programs), but you should be
> able to use a(ny) different command (including none) to build or install
> files.
> Identifying the files and their correct location in the file system
> hierarchy can be done in a number of ways, and it's up to you to find
> one that works for you.  (If you do, feel free to share on this list.)
> Remember to identify any dependencies for the package, so that a newly
> deployed package will pull in whatever other software may be required.
> It seems you already identified 'python' as a dependency here, but there
> may be others, including, possibly, some python modules.
> -Jan
> _______________________________________________
> cs615asa mailing list
> cs615asa at lists.stevens.edu
> https://lists.stevens.edu/mailman/listinfo/cs615asa
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.stevens.edu/pipermail/cs615asa/attachments/20150227/3424538c/attachment.html>

More information about the cs615asa mailing list