1 %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
3 Summary: A python library
for manipulating kickstart files
5 Url
: http
://fedoraproject.org
/wiki
/pykickstart
8 # This is a Red Hat maintained package which is specific to
9 # our distribution. Thus the source is only available from
11 Source0: %{name}-%{version}.tar.gz
14 Group: System Environment
/Libraries
16 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n
)
17 BuildRequires
: python
-devel
, gettext
, python
-setuptools
-devel
18 Requires: python
, python
-urlgrabber
, rhpl
21 The pykickstart package is a python library
for manipulating kickstart
32 make DESTDIR
=%{buildroot} install
38 %files -f
%{name}.lang
39 %defattr(-,root
,root
,-)
40 %doc README ChangeLog COPYING docs
/programmers
-guide
41 %doc docs
/kickstart
-docs.txt
43 %{_bindir}/ksvalidator
47 * Tue Apr
08 2008 Chris Lumens
<clumens@redhat.com
> - 1.33-1
48 - Fix whitespace when printing out the bootloader
command (pmeyers
).
49 - Fix the
type on bootloader
--timeout processing.
(clumens
)
51 * Wed Apr
02 2008 Chris Lumens
<clumens@redhat.com
> - 1.32-1
52 - Make the string reader act like the file reader upon EOF.
(clumens
)
53 - Add syntax
for encrypted logical volumes.
(clumens
)
55 * Tue Mar
25 2008 Chris Lumens
<clumens@redhat.com
> - 1.31-1
56 - Support end
-of
-line comments.
(clumens
)
57 - Lots of translation updates.
59 * Tue Feb
26 2008 Chris Lumens
<clumens@redhat.com
> - 1.30-1
60 - Reverse writePriorities of iscsi and iscsname
(#434965, jlaska).
61 - Fix printing of iscsiname
command (#434945, jlaska).
62 - Don't traceback on ENOENT.
(pnasrat
)
63 - Store the mouse name as a string
, not a list.
(clumens
)
64 - Update translations.
66 * Wed Jan
30 2008 Chris Lumens
<clumens@redhat.com
> - 1.29-1
67 - Renamed bootproto
=ask to bootproto
=query
, add to RHEL5 as well.
(clumens
)
69 * Wed Jan
23 2008 Chris Lumens
<clumens@redhat.com
> - 1.28-1
70 - Fix traceback on volgroup
command.
(clumens
)
72 * Thu Jan
17 2008 Chris Lumens
<clumens@redhat.com
> - 1.27-1
73 - The bootprotoList needs to be defined before it's used.
(clumens
)
75 * Thu Jan
17 2008 Chris Lumens
<clumens@redhat.com
> - 1.26-1
76 - Add support
for network
--bootproto
=ask.
(clumens
)
78 * Tue Jan
15 2008 Chris Lumens
<clumens@redhat.com
> - 1.25-1
79 - Add the version to the output ks file.
(clumens
)
80 - Add syntax
for encrypted partitions and raid devices.
(clumens
)
82 * Thu Jan
10 2008 Chris Lumens
<clumens@redhat.com
> - 1.24-1
83 - Make inheritance and overriding of
%packages work
(#427768). (clumens)
84 - Add an option
for which languages should be installed.
(katzj
)
85 - Use the right name
for the iscsi
--target variable
(#418781). (clumens)
87 * Mon Dec
10 2007 Chris Lumens
<clumens@redhat.com
> - 1.23-1
88 - Take Makefile improvements from anaconda.
89 - Fix a traceback on F9 zerombr
command (#395431).
90 - Update to handle new Python eggs packaging.
92 * Tue Nov
20 2007 Chris Lumens
<clumens@redhat.com
> 1.22-1
93 - Don't process or write out vnc
--enabled
(jlaska AT redhat DOT com
).
94 - Fix a traceback
in the clearpart
command.
96 * Tue Nov
06 2007 Chris Lumens
<clumens@redhat.com
> 1.21-1
97 - Save script line numbers
for debugging.
98 - More internal cleanups.
100 * Wed Oct
31 2007 Chris Lumens
<clumens@redhat.com
> 1.20-1
101 - Pull wiki docs from the new location.
102 - Fix error messages
for options that have been removed after having been
103 previously deprecated.
104 - zerombr no longer takes any arguments.
105 - %packages --ignoredeps
--resolvedeps have been removed.
106 - firewall
--high
--medium have been removed.
107 - vnc
--connect has been removed.
108 - xconfig options from monitor have now been removed.
109 - --bytes
-per
-inode has been marked as deprecated.
111 - Add
--fsprofile option to disk commands
(pjones
).
112 - Add F9 support
(pjones
).
113 - Lots of internal fixes
(clumens
, pjones
).
115 * Tue Oct
23 2007 Chris Lumens
<clumens@redhat.com
> 1.19-1
116 - Fix a traceback on the cdrom method.
118 * Thu Oct
18 2007 Chris Lumens
<clumens@redhat.com
> 1.18-1
119 - Don't write out
%end to packages and scripts
if the syntax version doesn't
121 - Remove obsolete translation
(#332221).
123 * Thu Oct
04 2007 Chris Lumens
<clumens@redhat.com
> 1.17-1
124 - Simplify argument processing and printing.
126 * Wed Oct
03 2007 Chris Lumens
<clumens@redhat.com
> 1.16-1
127 - Undeprecate
%packages --excludedocs.
128 - Fix a traceback
in the device
command handling.
129 - Add bootloader
--timeout
(katzj
).
131 * Tue Oct
02 2007 Chris Lumens
<clumens@redhat.com
> 1.15-1
132 - Update translations
(#259121).
133 - The device
command no longer takes a
type argument.
135 * Fri Sep
28 2007 Chris Lumens
<clumens@redhat.com
> 1.14-1
136 - Fix output formatting
for packages section header
(#310211).
137 - Add a script to flatten kickstart files containing includes
(katzj
).
139 * Wed Sep
12 2007 Chris Lumens
<clumens@redhat.com
> 1.13-1
140 - Add a
function to convert
URL method strings into repo objects
142 - Writer formatting fixes.
143 - Add kickstart documentation from the Fedora Wiki.
145 * Tue Sep
04 2007 Chris Lumens
<clumens@redhat.com
> 1.12-1
146 - Fix lots of problems
in processing the bootloader
, device
, network
, and
148 - Add
%end when writing out scripts and packages.
149 - Add a makefile target to run pychecker to cut down on errors
in
152 * Mon Sep
3 2007 Jeremy Katz
<katzj@redhat.com
> - 1.11-1
153 - fix a few tracebacks
155 * Fri Aug
31 2007 Chris Lumens
<clumens@redhat.com
> 1.10-1
156 - Add network
--ipv6
=.
158 * Fri Aug
24 2007 Chris Lumens
<clumens@redhat.com
> 1.9-1
159 - Add support
for the
%end directive to be placed at the end of scripts
160 and packages sections. Deprecate old syntax.
161 - Clean up after ksvalidator
if pykickstart issues a traceback.
162 - Add support
for repo
--priority
--includepkgs
--excludepkgs.
163 - Fix newline at end of reboot
--eject output
(#253562).
165 * Mon Aug
13 2007 Chris Lumens
<clumens@redhat.com
> 1.8-1
166 - Fix
type checking of string values.
168 * Thu Aug
09 2007 Chris Lumens
<clumens@redhat.com
> 1.7-1
169 - Clarify license
in spec file and all
source files.
170 - Check string values to options to
make sure they're not other options
173 * Thu Aug
02 2007 Chris Lumens
<clumens@redhat.com
> 1.6-1
174 - Fix a couple tracebacks
in ksvalidator.
175 - Change
--class to
--dhcpclass
(#248912).
177 * Thu Jul
19 2007 Chris Lumens
<clumens@redhat.com
> 1.5-2
178 - Require rhpl
(#248953).
180 * Tue Jul
17 2007 Chris Lumens
<clumens@redhat.com
> 1.5-1
181 - Fix traceback when calling preprocessKickstart.
183 * Tue Jul
17 2007 Chris Lumens
<clumens@redhat.com
> 1.4-1
184 - Add methods to handle the
%ksappend directive.
185 - Fix ignoredisk
--disks.
187 * Wed Jul
11 2007 Chris Lumens
<clumens@redhat.com
> - 1.3-1
188 - Add support
for ignoredisk
--only
-use.
189 - Fix traceback
in raid
command printing method
(#246709).
191 * Fri Jun
08 2007 Chris Lumens
<clumens@redhat.com
> - 1.2-2
192 - Fix package review problems
(#226334).
194 * Mon Jun
04 2007 Chris Lumens
<clumens@redhat.com
> - 1.2-1
195 - Fix harddrive
install method error checking
(#232492).
196 - Set authentication information from the input line to preserve quoting
198 - Allow included files to be given by
URL.
199 - Fix typo
in user
--iscrypted option.
201 * Mon May
14 2007 Chris Lumens
<clumens@redhat.com
> - 1.1-1
202 - Better regexes
for splitting version strings into family and version.
203 - Add basic support
for RHEL3.
204 - Update translations.
206 * Fri Apr
13 2007 Chris Lumens
<clumens@redhat.com
> - 1.0-1
207 - Update documentation.
208 - Update translations.
210 * Mon Mar
19 2007 Chris Lumens
<clumens@redhat.com
> - 0.100-1
211 - bootloader should be written out after upgrade
/install.
212 - Treat class names as unicode strings
(#231053).
214 * Wed Mar
07 2007 Chris Lumens
<clumens@redhat.com
> - 0.99-1
215 - The timezone
command didn't recognize
--isUtc before FC6
(#231189).
216 - Recognize
%ksappend lines
in ksvalidator.
217 - Don't
set default values
in some
command __init__ methods.
218 - Added an updates
command.
219 - Add support
for RAID10.
221 * Mon Feb
26 2007 Chris Lumens
<clumens@redhat.com
> - 0.98-1
222 - Fix device
command syntax to match anaconda.
223 - Fix __call__ on method
command.
225 * Wed Feb
21 2007 Chris Lumens
<clumens@redhat.com
> - 0.97-1
226 - Fix traceback when not overriding default mappings
(#229505).
228 * Tue Feb
20 2007 Chris Lumens
<clumens@redhat.com
> - 0.96-1
229 - Fix __str__ methods
for langsupport and reboot commands.
230 - Renamed BaseHandler.empty to BaseHandler.maskAllExcept.
231 - Split
command objects out into their own files
in commands
/.
232 - Rename
command objects to start with Version_.
233 - Support extended group selection syntax.
235 * Wed Feb
14 2007 Chris Lumens
<clumens@redhat.com
> - 0.95-1
236 - KickstartParser no longer takes a version argument.
237 - Be more lenient
in what strings stringToVersion accepts.
238 - Allow setting state on one data object from multiple files.
240 * Wed Feb
07 2007 Chris Lumens
<clumens@redhat.com
> - 0.94-1
241 - Add a newline to the end of the key
command output.
242 - Use network bootproto constants
(#197694).
243 - Fix tracebacks
in subclass __str__ methods
(#226734).
245 * Wed Jan
31 2007 Chris Lumens
<clumens@redhat.com
> - 0.93-2
246 - Make some minor spec file changes to get closer to the extras guidelines.
248 * Thu Jan
25 2007 Chris Lumens
<clumens@redhat.com
> - 0.93-1
249 - Add support
for FC3
, RHEL4
, and RHEL5.
250 - The key
command was not supported
until after FC6.
251 - Accept more strings
in stringToVersion.
253 * Fri Jan
19 2007 Chris Lumens
<clumens@redhat.com
> - 0.92-1
254 - Fix KickstartVersionError reporting.
255 - Add a version attribute to handler objects.
256 - Fix line number reporting on lots of commands.
257 - Add initial support
for Fedora
7 and remove deprecated commands.
258 - Accept a
--default argument to the %
%packages header
(#221305).
260 * Wed Jan
17 2007 Chris Lumens
<clumens@redhat.com
> - 0.91-1
261 - Add a method to
read kickstart files from strings.
263 * Tue Jan
16 2007 Chris Lumens
<clumens@redhat.com
> - 0.90-1
264 - Support multiple versions of kickstart syntax from one code base
266 - Fix inconsistency between Script parser and writer
(#222877).
268 * Fri Dec
15 2006 Chris Lumens
<clumens@redhat.com
> - 0.43-1
269 - Pull
in new translations
(#216620).
271 * Thu Dec
7 2006 Jeremy Katz
<katzj@redhat.com
> - 0.42-2
272 - rebuild against python
2.5
274 * Tue Dec
05 2006 Chris Lumens
<clumens@redhat.com
> - 0.42-1
275 - Fix traceback when writing out repo
command (#218274).
277 * Fri Dec
01 2006 Chris Lumens
<clumens@redhat.com
> - 0.41-1
278 - Fix traceback when using deprecated commands
(#218047, #218059).
280 * Thu Nov
30 2006 Chris Lumens
<clumens@redhat.com
> - 0.40-1
281 - Pull
in new translations
(#216620).
282 - Add
--level argument to logging
command writer.
284 * Tue Oct
24 2006 Chris Lumens
<clumens@redhat.com
> - 0.39-2
285 - Fix release number.
287 * Tue Oct
24 2006 Chris Lumens
<clumens@redhat.com
> - 0.39-1
288 - Add writer
for --key
(#211997).
290 * Tue Oct
17 2006 Jeremy Katz
<katzj@redhat.com
> - 0.38-1
291 - allow
--skip
for installation number as well
(#207029)
293 * Mon Oct
16 2006 Jeremy Katz
<katzj@redhat.com
> - 0.37-1
294 - support
for installation numbers
(#207029)
296 * Fri Oct
13 2006 Bill Nottingham
<notting@redhat.com
> - 0.36-1
297 - use valid charsets
in translations
(#210720)
299 * Fri Sep
29 2006 Chris Lumens
<clumens@redhat.com
> - 0.35-1
300 - Fix traceback
in harddrive
command (#208557).
302 * Mon Sep
25 2006 Chris Lumens
<clumens@redhat.com
> - 0.34-1
303 - Add support
for --biospart option to harddrive
(#207585).
304 - Update writer
for syntax changes.
306 * Wed Sep
20 2006 Jeremy Katz
<katzj@redhat.com
> - 0.33-1
307 - improved iscsi syntax
308 - allow multiple zfcp devs
310 * Thu Jul
20 2006 Chris Lumens
<clumens@redhat.com
> 0.32-1
311 - Limit
--bootproto to what anaconda supports.
312 - Add
--noipv4 and
--noipv6 network options.
314 * Tue Jun
20 2006 Chris Lumens
<clumens@redhat.com
> 0.31-1
315 - Handle nfs
--opts
(katzj
).
316 - RAID devices should be integers instead of strings
(#176537).
317 - Add initial support
for iscsi
(katzj
).
319 * Tue Jun
06 2006 Chris Lumens
<clumens@redhat.com
> 0.30-2
320 - Add BuildRequires to fix building under mock
(#194156, Joost Soeterbroek
321 <fedora AT soeterbroek.com
>).
323 * Thu May
25 2006 Chris Lumens
<clumens@redhat.com
> 0.30-1
324 - Change order of LVM
-related writing functions
(#193073).
325 - Require urlgrabber.
326 - Return a more useful error message on unknown commands.
327 - Fix logvol writing typo.
328 - Make ksvalidator validate from a
URL in addition to a file.
329 - Don't write out an empty packages section
(#192851).
331 * Tue May
23 2006 Chris Lumens
<clumens@redhat.com
> 0.29-1
332 - Add multipath
command, handlers
, and data objects
(pjones
).
333 - Rename
--ports to
--port
in writer.
335 * Mon May
15 2006 Chris Lumens
<clumens@redhat.com
> 0.28-1
336 - Support
--mtu
for the network
command (#191328).
337 - Accept
--isUtc
for backwards compatibility.
339 * Wed May
04 2006 Chris Lumens
<clumens@redhat.com
> 0.27-1
340 - Output formatting fixes.
341 - Added commands
for managing users and services.
343 * Mon Apr
17 2006 Chris Lumens
<clumens@redhat.com
> 0.26-1
344 - Ignore spaces before group names
(#188095).
345 - Added some translations.
346 - Add options
for repo
command.
347 - Reorder %
%packages section output.
348 - Output %
%packages header options.
349 - Initialize RAID and volume group members to empty lists.
351 * Mon Mar
27 2006 Chris Lumens
<clumens@redhat.com
> 0.25-1
352 - Add support
for the logging
command.
354 * Mon Mar
27 2006 Chris Lumens
<clumens@redhat.com
> 0.24-1
355 - Don't write out a blank xconfig line.
356 - Reorder output handlers to group like commands together.
357 - Mark strings
for translation.
359 * Tue Mar
07 2006 Chris Lumens
<clumens@redhat.com
> 0.23-1
360 - Backwards compatibility support
for options to zerombr.
362 * Fri Feb
24 2006 Chris Lumens
<clumens@redhat.com
> 0.22-1
363 - Get ignoredisk working again
(#182934).
365 * Fri Feb
17 2006 Chris Lumens
<clumens@redhat.com
> 0.21-1
366 - Provide an option to not traceback on missing include files
(#181760).
367 - Update programming documentation.
369 * Mon Feb
13 2006 Chris Lumens
<clumens@redhat.com
> 0.20-1
370 - Correctly
set --noformat and
--useexisting on lvm and raid.
372 * Mon Feb
13 2006 Chris Lumens
<clumens@redhat.com
> 0.19-1
373 - --onboot requires a value
(#180987).
374 - Be more strict about commands that don't take arguments.
376 * Thu Feb
09 2006 Chris Lumens
<clumens@redhat.com
> 0.18-1
377 - Fix some errors pychecker caught.
378 - Allow exceptions to not be fatal so ksvalidator can spot more errors
in
379 a single pass
(#179894).
381 * Wed Feb
01 2006 Chris Lumens
<clumens@redhat.com
> 0.17-1
382 - Don't
set a default port
for vnc.
384 * Tue Jan
31 2006 Chris Lumens
<clumens@redhat.com
> 0.16-1
385 - Give dmraid string an initial value.
386 - Handle None on partition size.
388 * Tue Jan
31 2006 Peter Jones
<pjones@redhat.com
> 0.15-1
391 * Mon Jan
30 2006 Chris Lumens
<clumens@redhat.com
> 0.14-1
392 - Fix VNC parameter parsing
(#179209).
393 - Deprecate
--connect. Add
--host and
--port instead.
395 * Thu Jan
19 2006 Chris Lumens
<clumens@redhat.com
> 0.13-1
396 - Recognize the
--eject parameter to shutdown
/halt.
397 - Store the exact post
-installation action
in ksdata.
399 * Mon Jan
09 2006 Chris Lumens
<clumens@redhat.com
> 0.12-1
400 - Clean up output quoting.
401 - Finish removing monitor
-related stuff from xconfig.
403 * Mon Dec
12 2005 Chris Lumens
<clumens@redhat.com
> 0.11-1
404 - Deprecate monitor
-related options to xconfig.
406 * Thu Dec
08 2005 Chris Lumens
<clumens@redhat.com
> 0.10-1
407 - Support
--bytes
-per
-inode on raid
408 (Curtis Doty
<Curtis at GreenKey.net
> #175288).
410 * Wed Nov
16 2005 Jeremy Katz
<katzj@redhat.com
> - 0.9-1
411 - fixup network
--onboot
413 * Thu Nov
03 2005 Chris Lumens
<clumens@redhat.com
> 0.8-1
414 - Default to SELINUX_ENFORCING.
415 - Default partition sizes to None
for anaconda
(#172378).
416 - Don't call shlex.split on anything inside a script
(#172313).
418 * Tue Nov
01 2005 Chris Lumens
<clumens@redhat.com
> 0.7-1
419 - Fix clearpart
--all.
420 - vnc
command does not require
--connect option
(#172192).
421 - network
--onboot does not take any option.
422 - Remove extra spaces from firewall
--ports and
--trust.
423 - Write out network
--<service
> options.
425 * Fri Oct
28 2005 Chris Lumens
<clumens@redhat.com
> 0.6-1
426 - Add
--resolvedeps and
--ignoredeps as deprecated options.
427 - Pass line number to header functions.
429 * Mon Oct
24 2005 Chris Lumens
<clumens@redhat.com
> 0.5-1
430 - Add line numbers to exception reporting.
433 * Wed Oct
19 2005 Chris Lumens
<clumens@redhat.com
> 0.4-1
434 - Correct deprecated attribute on options.
435 - Added programming documentation.
437 * Thu Oct
13 2005 Chris Lumens
<clumens@redhat.com
> 0.3-2
438 - Correct python lib directory on
64-bit archs
(#170621).
440 * Fri Oct
07 2005 Chris Lumens
<clumens@redhat.com
> 0.3-1
441 - Add a deprecated attribute to options.
442 - Add
--card option back to xconfig and mark as deprecated.
443 - Throw a deprecation warning on mouse and langsupport commands.
444 - Rename Writer to KickstartWriter
for consistency.
445 - Collapse scripts into a single list and add an attribute on Script to
448 * Wed Oct
05 2005 Chris Lumens
<clumens@redhat.com
> 0.2-1
449 - Rename module to pykickstart to avoid conflicts
in anaconda.
450 - Rename data classes
for consistency.
451 - Add default bytesPerInode settings.
453 * Wed Oct
05 2005 Chris Lumens
<clumens@redhat.com
> 0.1-1
454 - Created package from anaconda.