Re: Packaging Question - Building the Binaries of my package

2019-03-08 Thread Matthew Miller
On Thu, Mar 07, 2019 at 06:49:12PM +, Michael Zhang wrote: > So after tinkering around, I can incorporate the building of the > openliberty.zip into the Travis CI build but I cannot directly add it > into the %install phase of the rpm spec file. Would that be fine? It should be in the %build

Re: Packaging Question - Building the Binaries of my package

2019-03-07 Thread Rex Dieter
Michael Zhang wrote: > Recently, someone advised me that I have to build the binaries from the > source code in the %install phase. That is to say that I have to make it > transparent how the binaries (ex. jar) are built. See

Re: Packaging Question - Building the Binaries of my package

2019-03-07 Thread Randy Barlow
On Thu, 2019-03-07 at 18:49 +, Michael Zhang wrote: > Recently, someone advised me that I have to build the binaries from > the source code in the %install phase. The building should happein the %build phase. The %install phase is where the resulting artifacts are copied into the buildroot.

Re: Packaging Question - Building the Binaries of my package

2019-03-07 Thread Matthew Miller
On Thu, Mar 07, 2019 at 06:49:12PM +, Michael Zhang wrote: > Recently, someone advised me that I have to build the binaries from the > source code in the %install phase. That is to say that I have to make it > transparent how the binaries (ex. jar) are built.  As I understand it, in Debian,

Re: Packaging Question - Building the Binaries of my package

2019-03-07 Thread Felix Schwarz
Am 07.03.19 um 19:49 schrieb Michael Zhang: > So after tinkering around, I can incorporate the building of the > openliberty.zip into the Travis CI build but I cannot directly add it into the > %install phase of the rpm spec file. Would that be fine? To the best of my knowledge all building from

Packaging Question - Building the Binaries of my package

2019-03-07 Thread Michael Zhang
I’m a new maintainer and I’ve been trying to get my package, Open Liberty, into the Fedora repositories.   I currently build my rpms in a public Travis CI build. I do so by using wget to pull a zipped up pre-built openliberty package from