• Dridi Boukelmoune's avatar
    New RPM provides for the varnishd and VMODs · 3589c753
    Dridi Boukelmoune authored
    The find-provides script takes the original script and forwards almost
    all lines to the original find-provides command provided by RPM. In
    order for this to work, %global needs to be used instead of %define to
    ensure immediate expansion and avoid infinite recursion.
    
    VMODs are not forwared to find-provides because it matters little to
    advertise them as shared objects in the traditional sense.
    
    The output looks like this:
    
        vmod(blob)
        vmod(directors)
        vmod(purge)
        vmod(std)
        vmod(vtc)
        varnishd(abi) = <sha1>
        varnishd(vrt) = x.y
    
    Partially fixes #8 because in order to make this useful for VMODs
    without forcing package maintainers to manually require either the
    exact ABI or a given VRT version, a means for automatic requires
    for VMOD builds is missing. This doesn't address the NOGIT case,
    but we don't support packaging not originating from a git commit.
    
    This would make #92 obsolete once something similar is done on the
    DPKG side.
    3589c753
Name
Last commit
Last update
..
find-provides Loading commit data...
varnish.initrc Loading commit data...
varnish.logrotate Loading commit data...
varnish.service Loading commit data...
varnish.spec Loading commit data...
varnish.sysconfig Loading commit data...
varnishncsa.initrc Loading commit data...
varnishncsa.service Loading commit data...
varnishreload Loading commit data...