rpm-4.4.1-9 vs rpm-4.4.2-1
Mikolaj Kucharski
build w kompuart.pl
Sob, 20 Sie 2005, 11:33:36 CEST
On Thu, Aug 18, 2005 at 01:00:50PM +0200, Kamil Kosiński wrote:
> $ rpm -q rpm
> rpm-4.4.1-9
>
> $ rpmbuild --bcond GConf2.spec
> _without
> static_libs
>
> $ rpm -q rpm
> rpm-4.4.2-1
>
> $ rpmbuild --bcond GConf2.spec
> _without_static_libs
>
> Mógłby ktoś builder do obu wersji dostosować?
--
best regards
q#
-------------- następna część ---------
Index: builder
===================================================================
RCS file: /cvsroot/SPECS/builder,v
retrieving revision 1.322
diff -u -r1.322 builder
--- builder 31 Jul 2005 01:21:03 -0000 1.322
+++ builder 20 Aug 2005 09:32:05 -0000
@@ -1045,6 +1045,22 @@
_with)
cond_type="with"
;;
+ _without_*)
+ AVAIL_BCOND_WITHOUT="`echo $opt | sed 's/^_without_//g'`"
+ if `echo $BCOND|grep -q -- "--without $AVAIL_BCOND_WITHOUT"`;then
+ AVAIL_BCONDS_WITHOUT="$AVAIL_BCONDS_WITHOUT <$AVAIL_BCOND_WITHOUT>"
+ else
+ AVAIL_BCONDS_WITHOUT="$AVAIL_BCONDS_WITHOUT $AVAIL_BCOND_WITHOUT"
+ fi
+ ;;
+ _with_*)
+ AVAIL_BCOND_WITH="`echo $opt | sed 's/^_with_//g'`"
+ if `echo $BCOND|grep -q -- "--with $AVAIL_BCOND_WITH"`;then
+ AVAIL_BCONDS_WITH="$AVAIL_BCONDS_WITH <$AVAIL_BCOND_WITH>"
+ else
+ AVAIL_BCONDS_WITH="$AVAIL_BCONDS_WITH $AVAIL_BCOND_WITH"
+ fi
+ ;;
*)
case "$cond_type" in
with)
Więcej informacji o liście dyskusyjnej pld-devel-pl