summaryrefslogtreecommitdiffstats
path: root/redhat/dependencies/sip4-tqt
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2014-07-20 13:29:57 +0200
committerFrançois Andriot <albator78@libertysurf.fr>2014-07-20 13:29:57 +0200
commite07b6bd3c5e686f60224c2cbd7f49a05becd7676 (patch)
tree3de95a0eacf9510fb7e0b004fec0fa674e5c63b4 /redhat/dependencies/sip4-tqt
parenta7609c87e47b1a8bfafef1bab3d796770ba2f841 (diff)
downloadtde-packaging-e07b6bd3c5e686f60224c2cbd7f49a05becd7676.tar.gz
tde-packaging-e07b6bd3c5e686f60224c2cbd7f49a05becd7676.zip
RPM Packaging: update R14 packages
Diffstat (limited to 'redhat/dependencies/sip4-tqt')
-rw-r--r--redhat/dependencies/sip4-tqt/sip4-tqt.spec15
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}