.
OBS-URL: https://build.opensuse.org/package/show/Publishing/a2ps?expand=0&rev=67
This commit is contained in:
parent
4b9a51f194
commit
0fc167c5a2
@ -142,6 +142,7 @@ find -name Makefile.in | xargs touch
|
|||||||
export CFLAGS="%{optflags} -D_GNU_SOURCE -funroll-loops -Wall -pipe -fstack-protector -fPIE"
|
export CFLAGS="%{optflags} -D_GNU_SOURCE -funroll-loops -Wall -pipe -fstack-protector -fPIE"
|
||||||
export LPR=lpr
|
export LPR=lpr
|
||||||
export CC=gcc
|
export CC=gcc
|
||||||
|
export TZ=UTC
|
||||||
%configure --enable-shared --disable-static --with-pic --with-medium=LC_PAPER \
|
%configure --enable-shared --disable-static --with-pic --with-medium=LC_PAPER \
|
||||||
--with-encoding=LC_CTYPE
|
--with-encoding=LC_CTYPE
|
||||||
con=""
|
con=""
|
||||||
@ -173,8 +174,9 @@ find -name Makefile.in | xargs touch
|
|||||||
grep '(This is a test text' test.latin | iconv -f latin1 -t utf8
|
grep '(This is a test text' test.latin | iconv -f latin1 -t utf8
|
||||||
chmod u+rw,g+r,o+r man/*.1
|
chmod u+rw,g+r,o+r man/*.1
|
||||||
cp -p man/a2ps.1 man/a2ps.1.backup
|
cp -p man/a2ps.1 man/a2ps.1.backup
|
||||||
patch --reject-format=unified --quoting-style=literal -f -p0 -F0 < %{S:5} || cat man/a2ps.1.rej
|
patch --reject-format=unified --quoting-style=literal -f -p0 -F0 < %{S:5} || :
|
||||||
if test -e man/a2ps.1.rej ; then
|
if test -e man/a2ps.1.rej ; then
|
||||||
|
cat man/a2ps.1.rej
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user