[scl.org] Building packages depending on SCL
dmakovey at stanford.edu
Fri Jul 1 16:14:23 UTC 2016
On 05/18/2016 10:26 PM, Remi Collet wrote:
> Le 18/05/2016 à 18:20, Dmitry Makovey a écrit :
>> I've been building RPMs for a while, however SCL is a bit "new" to me.
>> I am trying to build an apache module for SCL apache version
>> (httpd24-httpd) . I have located documentation on how to proceed with
>> building SCL package from scratch, however I didn't come across any
>> information on building atop of existing packages, like in my case.
>> Any pointers (URLs etc.) will be deeply appreciated.
> In centos-sclo repository you already have 2 apache modules, you can
> probably have a look at (diffing with base package in Fedora/EPEL)
As per above links I've managed to cobble together my package just to
get it to build and deploy, however I just tuned it to build hardcoding
a lot of things. Now that I'm trying to refactor and clean up the SPEC
file I'm having problems like:
bash-4.1# rpmbuild -D 'scl=1' -ba webauth.spec
error: line 2: Unknown tag: %scl_package webauth
whole code is here:
Last revision ( http://tinyurl.com/h65k8ed ) is my "broken" attempt at
compliance with upstream practices (built with `rpmbuild -D 'scl=1' -ba
webauth.spec), whereas previous one ( http://tinyurl.com/hh8mxkv ) is a
"working" version (built with simple `rpmbuild -ba webauth.spec`)
I feel like rpmbuild invocation may need to be different or some macros
did not get populated properly. What did I miss?
Sr System and DevOps Engineer SoM IRT
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 819 bytes
Desc: OpenPGP digital signature
More information about the SCLorg