# HG changeset patch # User J. Ali Harlow # Date 1328820327 0 # Node ID 33b825d3128d4f9d68e323e96d05d2232d3e992a # Parent c7063ba682e07fb19f986829ceedc6468f5aeef3 Add transaction barriers These allow packages to be installed and removed which have scripts that depend on each other when atomic transactions are involved. Note that yum supports pre, but not other requires flags. post will need similar support to the post scripts themselves pulling in the requires flags from the rpms. Likewise preun and postun will need similar handling to those scrips since the requires flags will need to be stored in the razor database. diff -r c7063ba682e0 -r 33b825d3128d configure.ac --- a/configure.ac Thu Feb 09 20:43:58 2012 +0000 +++ b/configure.ac Thu Feb 09 20:45:27 2012 +0000 @@ -10,9 +10,9 @@ # # See http://sources.redhat.com/autobook/autobook/autobook_91.html#SEC91 for details # -LT_CURRENT=2 +LT_CURRENT=3 LT_REVISION=0 -LT_AGE=0 +LT_AGE=1 AC_SUBST(LT_CURRENT) AC_SUBST(LT_REVISION) AC_SUBST(LT_AGE) diff -r c7063ba682e0 -r 33b825d3128d librazor/razor.c --- a/librazor/razor.c Thu Feb 09 20:43:58 2012 +0000 +++ b/librazor/razor.c Thu Feb 09 20:45:27 2012 +0000 @@ -1,7 +1,7 @@ /* * Copyright (C) 2008 Kristian Høgsberg * Copyright (C) 2008 Red Hat, Inc - * Copyright (C) 2009-2011 J. Ali Harlow + * Copyright (C) 2009-2012 J. Ali Harlow * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -992,6 +992,32 @@ } } +/* + * Does have a requirement for