diff options
Diffstat (limited to 'redhat/dependencies/sip4-tqt/sip4-tqt.spec')
-rw-r--r-- | redhat/dependencies/sip4-tqt/sip4-tqt.spec | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/redhat/dependencies/sip4-tqt/sip4-tqt.spec b/redhat/dependencies/sip4-tqt/sip4-tqt.spec index f87bedf88..5b6485d34 100644 --- a/redhat/dependencies/sip4-tqt/sip4-tqt.spec +++ b/redhat/dependencies/sip4-tqt/sip4-tqt.spec @@ -1,3 +1,9 @@ +# Note for RHEL6 / Fedora: +# Do *NOT* use 'byacc' to build sip4-tqt. +# Instead, use 'bison' with a wrapper shell script. +# e.g. /usr/local/bin/yacc +# contains 'bison --yacc $@' + # Default version for this component %define tde_pkg sip4-tqt %define tde_version 14.0.0 @@ -104,19 +110,14 @@ python ../configure.py \ -d %{python_sitearch}/sip4_tqt \ -e %{tde_includedir} \ -u STRIP="" \ - CFLAGS="${RPM_OPT_FLAGS} -I%{_includedir}/tqt -I%{_includedir}/tqt3 -I${PWD}/../sipgen" \ - CFLAGS_RELEASE="" \ - CXXFLAGS="${RPM_OPT_FLAGS} -I%{_includedir}/tqt -I%{_includedir}/tqt3 -I${PWD}/../sipgen" \ - CXXFLAGS_RELEASE="" + CFLAGS="${RPM_OPT_FLAGS} -I%{_includedir}/tqt -I%{_includedir}/tqt3 -I${PWD}/../sipgen -DYYERROR_VERBOSE" \ + CXXFLAGS="${RPM_OPT_FLAGS} -I%{_includedir}/tqt -I%{_includedir}/tqt3 -I${PWD}/../sipgen -DYYERROR_VERBOSE" %install %__rm -rf %{?buildroot} %__make install DESTDIR=%{?buildroot} -C build -# Dummy file to allow loading as a module -touch %{?buildroot}%{python_sitearch}/sip4_tqt/__init__.py - %clean %__rm -rf %{?buildroot} |