# HG changeset patch # User Michael Schloh von Bennewitz # Date 1316608301 -7200 # Node ID 8ddd39bcf2ecc4db48d6210789ac13a6d6defcdf # Parent 4f3b1ee715dddad4c07e14067016b794523b2cd5 Update to new version of vendor software. diff -r 4f3b1ee715dd -r 8ddd39bcf2ec libpri/libpri.spec --- a/libpri/libpri.spec Wed Sep 21 14:27:31 2011 +0200 +++ b/libpri/libpri.spec Wed Sep 21 14:31:41 2011 +0200 @@ -1,6 +1,6 @@ ## ## libpri.spec -- OpenPKG RPM Package Specification -## Copyright (c) 2009 Michael Schloh von Bennewitz +## Copyright (c) 2011 Michael Schloh von Bennewitz ## ## Permission to use, copy, modify, and distribute this software for ## any purpose with or without fee is hereby granted, provided that @@ -31,8 +31,8 @@ Class: EVAL Group: VoIP License: GPL -Version: 1.4.10.2 -Release: 20091110 +Version: 1.4.12 +Release: 20110424 # list of sources Source0: http://downloads.asterisk.org/pub/telephony/libpri/libpri-%{version}.tar.gz @@ -40,8 +40,8 @@ # build information Prefix: %{l_prefix} BuildRoot: %{l_buildroot} -BuildPreReq: OpenPKG, openpkg >= 20040130 -PreReq: OpenPKG, openpkg >= 20040130 +BuildPreReq: OpenPKG, openpkg >= 20060823 +PreReq: OpenPKG, openpkg >= 20060823 AutoReq: no AutoReqProv: no @@ -60,10 +60,14 @@ } %prep - %setup -q + %setup -q -n libpri-%{version} # apply corrections %{l_shtool} subst \ + -e 's;\(CFLAGS=.*\)-Wall *;\1;' \ + -e 's;\(CFLAGS=.*\)-Werror *;\1;' \ + -e 's;\(CFLAGS=.*\)-Wstrict-prototypes *;\1;' \ + -e 's;\(CFLAGS=.*\)-Wmissing-prototypes *;\1;' \ -e 's;INSTALL_BASE=/usr;INSTALL_BASE=;g' \ Makefile @@ -72,6 +76,7 @@ %{l_make} %{l_mflags -O} %install + # clean build cruft rm -rf $RPM_BUILD_ROOT # install package