]> git.lyx.org Git - lyx.git/blobdiff - development/lyx.spec.in
use the new mouse LFUNs
[lyx.git] / development / lyx.spec.in
index b706f541e4469e3bc6e553a7304870c6567da124..ecd20fac1bd3bead57d44a5f49eb03d0f8c71aab 100644 (file)
@@ -38,17 +38,8 @@ unset LINGUAS || true
 CXXFLAGS="$RPM_OPT_FLAGS" CFLAGS="$RPM_OPT_FLAGS" \
 ./configure --prefix=%{_prefix} --mandir=%{_mandir} \
        --bindir=%{_bindir} --datadir=%{_datadir} \
-       --without-warnings --with-included-string
-# The following check is to ensure that lyx RPMs generated on RH 6.X machines
-# with gcc-2.95 still run against older Redhat OS/compiler combinations.
-# It will eventually be ripped out.
-if [ -r /usr/lib/libstdc++-libc6.1-1.so.2 ]
-then
-       make CXX=g++ LYX_LIBS='/usr/lib/libstdc++-libc6.1-1.so.2 -lforms -lXpm'
-else
-       make
-fi
-
+       --without-warnings
+make
 
 %install
 unset LINGUAS || true
@@ -103,7 +94,7 @@ fi
 texhash
 
 %files
-%attr(-,root,root)
+%defattr(-,root,root)
 %doc ABOUT-NLS ANNOUNCE COPYING 
 %doc README UPGRADING ChangeLog NEWS
 %doc lib/CREDITS README.reLyX