Accommodate OpenPKG aversity to hard versioned frameworks by adjusting buildconf.

Wed, 08 Aug 2012 20:32:08 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 08 Aug 2012 20:32:08 +0200
changeset 492
e66ba21516b4
parent 491
ccaf26ae9b81
child 493
8a7a53c3985c

Accommodate OpenPKG aversity to hard versioned frameworks by adjusting buildconf.

rrdtool/rrdtool.spec file | annotate | diff | comparison | revisions
     1.1 --- a/rrdtool/rrdtool.spec	Wed Aug 08 20:31:17 2012 +0200
     1.2 +++ b/rrdtool/rrdtool.spec	Wed Aug 08 20:32:08 2012 +0200
     1.3 @@ -38,7 +38,7 @@
     1.4  Group:        Database
     1.5  License:      LGPL
     1.6  Version:      %{V_rrdtool}
     1.7 -Release:      20120308
     1.8 +Release:      20120800
     1.9  
    1.10  #   package options
    1.11  %option       with_perl        no
    1.12 @@ -105,6 +105,12 @@
    1.13      %patch -p0
    1.14      rm -f bindings/perl-shared/ntmake.pl
    1.15      rm -rf RRDTool-Creator-*/_build
    1.16 +    %{l_shtool} subst \
    1.17 +        -e 's;-lglib2;-lglib;g' \
    1.18 +        configure
    1.19 +    %{l_shtool} subst \
    1.20 +        -e 's;glib2/glib\.h;glib/glib.h;' \
    1.21 +        src/rrd_daemon.c
    1.22  
    1.23  %build
    1.24      #   configure package

mercurial