Author: locilka Date: Fri Dec 5 14:28:22 2008 New Revision: 53936 URL: http://svn.opensuse.org/viewcvs/yast?rev=53936&view=rev Log: - New control.rnc/rng for control file validation (bnc #455994). - Added build-time control file validation. - 2.17.15 Modified: trunk/update/VERSION trunk/update/package/yast2-update.changes trunk/update/src/config/Makefile.am trunk/update/src/config/update.xml trunk/update/yast2-update.spec.in Modified: trunk/update/VERSION URL: http://svn.opensuse.org/viewcvs/yast/trunk/update/VERSION?rev=53936&r1=53935&r2=53936&view=diff ============================================================================== --- trunk/update/VERSION (original) +++ trunk/update/VERSION Fri Dec 5 14:28:22 2008 @@ -1 +1 @@ -2.17.14 +2.17.15 Modified: trunk/update/package/yast2-update.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/update/package/yast2-update.changes?rev=53936&r1=53935&r2=53936&view=diff ============================================================================== --- trunk/update/package/yast2-update.changes (original) +++ trunk/update/package/yast2-update.changes Fri Dec 5 14:28:22 2008 @@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Fri Dec 5 14:25:36 CET 2008 - locilka@suse.cz + +- New control.rnc/rng for control file validation (bnc #455994). +- Added build-time control file validation. +- 2.17.15 + +------------------------------------------------------------------- Fri Nov 28 10:52:15 CET 2008 - locilka@suse.cz - Checking spec for /var partition if it is a persisten device Modified: trunk/update/src/config/Makefile.am URL: http://svn.opensuse.org/viewcvs/yast/trunk/update/src/config/Makefile.am?rev=53936&r1=53935&r2=53936&view=diff ============================================================================== --- trunk/update/src/config/Makefile.am (original) +++ trunk/update/src/config/Makefile.am Fri Dec 5 14:28:22 2008 @@ -1,12 +1,14 @@ # -# Makefile.am for update/src +# Makefile.am for wagon/src/config # controldir = $(yast2dir)/control -control_DATA = \ - update.xml +control_DATA = $(wildcard *.xml) -desktop_DATA = update.desktop +desktop_DATA = $(wildcard *.desktop) EXTRA_DIST = $(desktop_DATA) $(control_DATA) + +check-local: + xmllint --relaxng $(controldir)/control.rng --noout $(control_DATA) Modified: trunk/update/src/config/update.xml URL: http://svn.opensuse.org/viewcvs/yast/trunk/update/src/config/update.xml?rev=53936&r1=53935&r2=53936&view=diff ============================================================================== --- trunk/update/src/config/update.xml (original) +++ trunk/update/src/config/update.xml Fri Dec 5 14:28:22 2008 @@ -1,5 +1,8 @@ <?xml version="1.0"?> -<!DOCTYPE productDefines SYSTEM "/usr/share/YaST2/control/control.dtd"> +<!-- + Use /usr/share/YaST2/control/control.rng for control file validation, + e.g., xmllint -noout -relaxng /usr/share/YaST2/control/control.rng ${XML_FILE} +--> <productDefines xmlns="http://www.suse.com/1.0/yast2ns" xmlns:config="http://www.suse.com/1.0/configns"> Modified: trunk/update/yast2-update.spec.in URL: http://svn.opensuse.org/viewcvs/yast/trunk/update/yast2-update.spec.in?rev=53936&r1=53935&r2=53936&view=diff ============================================================================== --- trunk/update/yast2-update.spec.in (original) +++ trunk/update/yast2-update.spec.in Fri Dec 5 14:28:22 2008 @@ -8,6 +8,12 @@ BuildRequires: yast2 >= 2.16.49 # package not really needed to be installed but this breaks the building cycle +# xmllint +BuildRequires: libxml2 + +# control.rng +BuildRequires: yast2-installation >= 2.17.44 + # PackagesUI::RunPackageSelector Requires: yast2 >= 2.17.40 Requires: yast2-installation -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org