76 lines
2.3 KiB
RPMSpec
76 lines
2.3 KiB
RPMSpec
%{!?python_sitelib: %define python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
|
|
|
Summary: A python library for manipulating kickstart files
|
|
Name: pykickstart
|
|
Version: 0.7
|
|
Release: 1
|
|
Source0: %{name}-%{version}.tar.gz
|
|
License: GPL
|
|
Group: System Environment/Libraries
|
|
BuildArch: noarch
|
|
BuildRoot: %{_tmppath}/%{name}-root
|
|
BuildRequires: python-devel
|
|
Requires: python >= %(%{__python} -c "import sys; print sys.version[:3]")
|
|
|
|
%description
|
|
The pykickstart package is a python library for manipulating kickstart
|
|
files.
|
|
|
|
%prep
|
|
%setup -q
|
|
make
|
|
|
|
%build
|
|
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
python setup.py install --root=${RPM_BUILD_ROOT}
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc README ChangeLog COPYING docs/programmers-guide
|
|
%{python_sitelib}/pykickstart
|
|
/usr/bin/ksvalidator
|
|
|
|
%changelog
|
|
* Tue Nov 01 2005 Chris Lumens <clumens@redhat.com> 0.7-1
|
|
- Fix clearpart --all.
|
|
- vnc command does not require --connect option (#172192).
|
|
- network --onboot does not take any option.
|
|
- Remove extra spaces from firewall --ports and --trust.
|
|
- Write out network --<service> options.
|
|
|
|
* Fri Oct 28 2005 Chris Lumens <clumens@redhat.com> 0.6-1
|
|
- Add --resolvedeps and --ignoredeps as deprecated options.
|
|
- Pass line number to header functions.
|
|
|
|
* Mon Oct 24 2005 Chris Lumens <clumens@redhat.com> 0.5-1
|
|
- Add line numbers to exception reporting.
|
|
- Added ksvalidator.
|
|
|
|
* Wed Oct 19 2005 Chris Lumens <clumens@redhat.com> 0.4-1
|
|
- Correct deprecated attribute on options.
|
|
- Added programming documentation.
|
|
|
|
* Thu Oct 13 2005 Chris Lumens <clumens@redhat.com> 0.3-2
|
|
- Correct python lib directory on 64-bit archs (#170621).
|
|
|
|
* Fri Oct 07 2005 Chris Lumens <clumens@redhat.com> 0.3-1
|
|
- Add a deprecated attribute to options.
|
|
- Add --card option back to xconfig and mark as deprecated.
|
|
- Throw a deprecation warning on mouse and langsupport commands.
|
|
- Rename Writer to KickstartWriter for consistency.
|
|
- Collapse scripts into a single list and add an attribute on Script to
|
|
differentiate.
|
|
|
|
* Wed Oct 05 2005 Chris Lumens <clumens@redhat.com> 0.2-1
|
|
- Rename module to pykickstart to avoid conflicts in anaconda.
|
|
- Rename data classes for consistency.
|
|
- Add default bytesPerInode settings.
|
|
|
|
* Wed Oct 05 2005 Chris Lumens <clumens@redhat.com> 0.1-1
|
|
- Created package from anaconda.
|