Use standard Fedora build and linker flags
- Resolves #1543858 Signed-off-by: Rafael Santos <rdossant@redhat.com>
This commit is contained in:
parent
8aa4679153
commit
f6655d3bd0
@ -1,7 +1,7 @@
|
|||||||
Summary: A library for handling different graphics file formats
|
Summary: A library for handling different graphics file formats
|
||||||
Name: netpbm
|
Name: netpbm
|
||||||
Version: 10.82.00
|
Version: 10.82.00
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
# See copyright_summary for details
|
# See copyright_summary for details
|
||||||
License: BSD and GPLv2 and IJG and MIT and Public Domain
|
License: BSD and GPLv2 and IJG and MIT and Public Domain
|
||||||
URL: http://netpbm.sourceforge.net/
|
URL: http://netpbm.sourceforge.net/
|
||||||
@ -102,8 +102,9 @@ TOP=`pwd`
|
|||||||
|
|
||||||
make \
|
make \
|
||||||
CC="%{__cc}" \
|
CC="%{__cc}" \
|
||||||
LDFLAGS="-L$TOP/pbm -L$TOP/pgm -L$TOP/pnm -L$TOP/ppm" \
|
LDFLAGS="$RPM_LD_FLAGS -L$TOP/pbm -L$TOP/pgm -L$TOP/pnm -L$TOP/ppm" \
|
||||||
CFLAGS="$RPM_OPT_FLAGS -fPIC -flax-vector-conversions -fno-strict-aliasing" \
|
CFLAGS="$RPM_OPT_FLAGS -fPIC -flax-vector-conversions -fno-strict-aliasing" \
|
||||||
|
CFLAGS_CONFIG="$RPM_OPT_FLAGS" \
|
||||||
LADD="-lm" \
|
LADD="-lm" \
|
||||||
JPEGINC_DIR=%{_includedir} \
|
JPEGINC_DIR=%{_includedir} \
|
||||||
PNGINC_DIR=%{_includedir} \
|
PNGINC_DIR=%{_includedir} \
|
||||||
@ -211,6 +212,9 @@ popd
|
|||||||
%doc userguide/*
|
%doc userguide/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Apr 11 2018 Rafael Santos <rdossant@redhat.com> - 10.82.00-2
|
||||||
|
- Use standard Fedora build and linker flags (bug #1543858)
|
||||||
|
|
||||||
* Tue Mar 27 2018 Josef Ridky <jridky@redhat.com> - 10.82.00-1
|
* Tue Mar 27 2018 Josef Ridky <jridky@redhat.com> - 10.82.00-1
|
||||||
- New upstream release 10.82.00 (#1560330)
|
- New upstream release 10.82.00 (#1560330)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user