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 “https://public.dhe.ibm.com/ibmdl/export/pub/software/openliberty/runtime/release/“ and simply extract it. The following is what I have in the %install portion of the spec file: 

 

mkdir -p %{buildroot}/usr/share/%{name}

cd %{buildroot}/usr/share/%{name}

tar -zxf %{_topdir}/SOURCES/%{name}-%{version}.tar.gz

 

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. 

 

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?

 

Yours Sincerely,

 
      MichaSRVE0190E - IBM WebSphere logoel Zhang
       Software Developer Test (WAS Install Team)
         Phone: 1-9054133415
         E-mail: michael.zhang@ibm.com