On czwartek, 18 stycznia 2007, Jeff Johnson wrote: > On Jan 18, 2007, at 12:58 AM, Arkadiusz Miskiewicz wrote: > > On środa, 17 stycznia 2007, Tomasz Wittner wrote: > >> On Wed 17. January 2007 00:42, Arkadiusz Miskiewicz wrote: > >>> On Wednesday 17 January 2007 00:22, twittner wrote: > >>>> Author: twittner Date: Tue Jan 16 23:22:38 > >>>> 2007 GMT > >>>> Module: scripts Tag: HEAD > >>>> ---- Log message: > >>>> - QTDIR & QMAKESPEC killed > >>>> especially setting QMAKESPEC to /usr/share/qt/mkspecs/linux-g++ > >>>> is really inappropriate when qt-3.3.x and qt-4.x can exist > >>>> together > >>> > >>> W qt4.spec IMO je warto czyścić przed budowaniem. > >> > >> A translation attempt: IMO is worth to unset these (QTDIR, > >> QMAKESPEC) in > >> qt4.spec before building. > >> > >> My suggestion: by default, start building with completely cleaned > >> environment, then set only necessary env. variables [1]. Of course > >> there > >> should be possibility to turn off cleaning & setting in rpm such > >> environment (via rpm macro). > > > > Provide a patch then. jbj doesn't want to make that happen (env > > cleaning) in > > rpm by default :( > > *I* don't want to manage *YOUR* build environment variables, but you > can easily add > unset QTDIR QMAKESPEC > to %___build_pre.
My opinion is that rpm should enforce stable, always the same variables enviroment for building packages. Depending on user enviroment settings sucks badly. If some build process needs custom enviroment then it should be set in spec file, not in some other place. > 73 de Jeff -- Arkadiusz Miśkiewicz PLD/Linux Team arekm / maven.pl http://ftp.pld-linux.org/ _______________________________________________ pld-devel-en mailing list pld-devel-en@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-devel-en