Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I'm looking to create a rpm for this tarball and couldn't figure out which files needed to be included in the package after the install. I am used to compiling some code and including the binary output; however, since this is all python and seems to use distutils to install everything is there even bin/executable to include in the package? I thought distutils just adds the module to the appropriate 3rd party python modules dir on the target machine.

If I use:

%install
make install DESTDIR=%{buildroot}

what would be the appropriate output to include in the rpm package, i.e., under %files?

I came across an already made .spec file here which which seemed to include the entire /usr/bin (rpm --eval %{_bindir} expands to /usr/bin on my machine) directory which seemed excessive.

share|improve this question
add comment

1 Answer

up vote 0 down vote accepted

Have a look at the package in the openSUSE BuildService. You can even try to build it for RHEL if you create your own project there (and add the appropriate repository).

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.