a2ps/a2ps-4.14-gperf.patch
OBS User mrdocs 8e621d2e9a Accepting request 308495 from home:pluskalm:branches:Publishing
- Add gpg signature
- Update info scriplet dependencies
- Add a2ps-4.14-gperf.patch (boo#932138)
- Cleanup spec file with spec-cleaner

OBS-URL: https://build.opensuse.org/request/show/308495
OBS-URL: https://build.opensuse.org/package/show/Publishing/a2ps?expand=0&rev=59
2015-05-25 00:52:16 +00:00

15 lines
706 B
Diff

--- a2ps-4.14/configure.orig 2015-05-23 14:15:15.532064792 +0200
+++ a2ps-4.14/configure 2015-05-23 14:17:17.108061667 +0200
@@ -6296,9 +6296,9 @@
{ echo "$as_me:$LINENO: checking for gperf - version >= $min_gperf_version" >&5
echo $ECHO_N "checking for gperf - version >= $min_gperf_version... $ECHO_C" >&6; }
gperf_major_version=`$GPERF --version | \
- sed 's/GNU gperf \([0-9]*\).\([0-9]*\)/\1/'`
+ grep 'GNU gperf' | sed 's/GNU gperf \([0-9]*\).\([0-9]*\).*$/\1/'`
gperf_minor_version=`$GPERF --version | \
- sed 's/GNU gperf \([0-9]*\).\([0-9]*\)/\2/'`
+ grep 'GNU gperf' | sed 's/GNU gperf \([0-9]*\).\([0-9]*\).*$/\2/'`
no_gperf=""
if test "$cross_compiling" = yes; then
/bin/true