Update to new version of vendor software.

Wed, 21 Sep 2011 14:31:41 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 21 Sep 2011 14:31:41 +0200
changeset 381
8ddd39bcf2ec
parent 380
4f3b1ee715dd
child 382
b972dc20871f

Update to new version of vendor software.

libpri/libpri.spec file | annotate | diff | comparison | revisions
     1.1 --- a/libpri/libpri.spec	Wed Sep 21 14:27:31 2011 +0200
     1.2 +++ b/libpri/libpri.spec	Wed Sep 21 14:31:41 2011 +0200
     1.3 @@ -1,6 +1,6 @@
     1.4  ##
     1.5  ##  libpri.spec -- OpenPKG RPM Package Specification
     1.6 -##  Copyright (c) 2009 Michael Schloh von Bennewitz <michael@schloh.com>
     1.7 +##  Copyright (c) 2011 Michael Schloh von Bennewitz <michael@schloh.com>
     1.8  ##
     1.9  ##  Permission to use, copy, modify, and distribute this software for
    1.10  ##  any purpose with or without fee is hereby granted, provided that
    1.11 @@ -31,8 +31,8 @@
    1.12  Class:        EVAL
    1.13  Group:        VoIP
    1.14  License:      GPL
    1.15 -Version:      1.4.10.2
    1.16 -Release:      20091110
    1.17 +Version:      1.4.12
    1.18 +Release:      20110424
    1.19  
    1.20  #   list of sources
    1.21  Source0:      http://downloads.asterisk.org/pub/telephony/libpri/libpri-%{version}.tar.gz
    1.22 @@ -40,8 +40,8 @@
    1.23  #   build information
    1.24  Prefix:       %{l_prefix}
    1.25  BuildRoot:    %{l_buildroot}
    1.26 -BuildPreReq:  OpenPKG, openpkg >= 20040130
    1.27 -PreReq:       OpenPKG, openpkg >= 20040130
    1.28 +BuildPreReq:  OpenPKG, openpkg >= 20060823
    1.29 +PreReq:       OpenPKG, openpkg >= 20060823
    1.30  AutoReq:      no
    1.31  AutoReqProv:  no
    1.32  
    1.33 @@ -60,10 +60,14 @@
    1.34      }
    1.35  
    1.36  %prep
    1.37 -    %setup -q
    1.38 +    %setup -q -n libpri-%{version}
    1.39  
    1.40      #   apply corrections
    1.41      %{l_shtool} subst \
    1.42 +        -e 's;\(CFLAGS=.*\)-Wall *;\1;' \
    1.43 +        -e 's;\(CFLAGS=.*\)-Werror *;\1;' \
    1.44 +        -e 's;\(CFLAGS=.*\)-Wstrict-prototypes *;\1;' \
    1.45 +        -e 's;\(CFLAGS=.*\)-Wmissing-prototypes *;\1;' \
    1.46          -e 's;INSTALL_BASE=/usr;INSTALL_BASE=;g' \
    1.47          Makefile
    1.48  
    1.49 @@ -72,6 +76,7 @@
    1.50      %{l_make} %{l_mflags -O}
    1.51  
    1.52  %install
    1.53 +    #   clean build cruft
    1.54      rm -rf $RPM_BUILD_ROOT
    1.55  
    1.56      #   install package

mercurial