Correct use of nonstandard fixed bit datatypes u_int[0-9][0-9]*.

Fri, 05 Oct 2012 22:38:08 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 05 Oct 2012 22:38:08 +0200
changeset 725
405367b5a7ff
parent 724
b318ab5c5f26
child 726
2dcb72c32e87

Correct use of nonstandard fixed bit datatypes u_int[0-9][0-9]*.

sasl/sasl.spec file | annotate | diff | comparison | revisions
     1.1 --- a/sasl/sasl.spec	Fri Oct 05 22:37:14 2012 +0200
     1.2 +++ b/sasl/sasl.spec	Fri Oct 05 22:38:08 2012 +0200
     1.3 @@ -32,7 +32,7 @@
     1.4  Group:        Cryptography
     1.5  License:      BSD
     1.6  Version:      2.1.23
     1.7 -Release:      20101020
     1.8 +Release:      20120800
     1.9  
    1.10  #   package options
    1.11  %option       with_fsl      yes
    1.12 @@ -112,6 +112,9 @@
    1.13  
    1.14  %prep
    1.15      %setup -q -n cyrus-sasl-%{version}
    1.16 +    %{l_shtool} subst \
    1.17 +        -e 's;u_int\([0-9]*\)_t;uint\1_t;g' \
    1.18 +        sasldb/db_berkeley.c
    1.19      %patch -p0
    1.20  
    1.21  %build
    1.22 @@ -295,18 +298,17 @@
    1.23  %endif
    1.24  
    1.25      #   build package
    1.26 -    %{l_make} %{l_mflags}
    1.27 +    %{l_make} %{l_mflags -O}
    1.28      ( cd saslauthd
    1.29 -      %{l_make} %{l_mflags} testsaslauthd
    1.30 +      %{l_make} %{l_mflags -O} testsaslauthd
    1.31      ) || exit $?
    1.32      ( cd sample
    1.33 -      %{l_make} %{l_mflags} sample-client sample-server
    1.34 +      %{l_make} %{l_mflags -O} sample-client sample-server
    1.35      ) || exit $?
    1.36  
    1.37  %install
    1.38 -
    1.39      #   install package
    1.40 -    %{l_make} %{l_mflags} install AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT"
    1.41 +    %{l_make} %{l_mflags} install DESTDIR="$RPM_BUILD_ROOT"
    1.42  
    1.43      #   remove libtool cruft
    1.44      rm -f \

mercurial