Compare commits
3 Commits
Author | SHA1 | Date |
---|---|---|
Chris Lumens | 30b0c01504 | |
Chris Lumens | 5d0be2cee4 | |
Chris Lumens | b089140d17 |
|
@ -171,3 +171,5 @@ pykickstart-1.78.tar.gz
|
|||
/pykickstart-2.31.tar.gz
|
||||
/pykickstart-2.32.tar.gz
|
||||
/pykickstart-2.33.tar.gz
|
||||
/pykickstart-2.34.tar.gz
|
||||
/pykickstart-2.35.tar.gz
|
||||
|
|
|
@ -0,0 +1,27 @@
|
|||
diff -ruN pykickstart-2.35.orig/pykickstart/commands/reqpart.py pykickstart-2.35/pykickstart/commands/reqpart.py
|
||||
--- pykickstart-2.35.orig/pykickstart/commands/reqpart.py 2017-10-19 11:25:41.982773586 -0400
|
||||
+++ pykickstart-2.35/pykickstart/commands/reqpart.py 2017-10-19 11:34:38.258364922 -0400
|
||||
@@ -21,9 +21,7 @@
|
||||
from pykickstart.errors import KickstartParseError, formatErrorMsg
|
||||
from pykickstart.options import KSOptionParser
|
||||
|
||||
-import gettext
|
||||
-# typeshed is missing the stub for ldgettext
|
||||
-_ = lambda x: gettext.ldgettext("pykickstart", x) # type: ignore
|
||||
+from pykickstart.i18n import _
|
||||
|
||||
class F23_ReqPart(KickstartCommand):
|
||||
removedKeywords = KickstartCommand.removedKeywords
|
||||
diff -ruN pykickstart-2.35.orig/pykickstart/commands/snapshot.py pykickstart-2.35/pykickstart/commands/snapshot.py
|
||||
--- pykickstart-2.35.orig/pykickstart/commands/snapshot.py 2017-10-19 11:25:41.982773586 -0400
|
||||
+++ pykickstart-2.35/pykickstart/commands/snapshot.py 2017-10-19 11:34:47.977448130 -0400
|
||||
@@ -23,8 +23,7 @@
|
||||
from pykickstart.options import KSOptionParser
|
||||
from pykickstart.constants import SNAPSHOT_WHEN_POST_INSTALL, SNAPSHOT_WHEN_PRE_INSTALL
|
||||
|
||||
-import gettext
|
||||
-_ = lambda x: gettext.ldgettext("pykickstart", x)
|
||||
+from pykickstart.i18n import _
|
||||
|
||||
class RHEL7_SnapshotData(BaseData):
|
||||
removedKeywords = BaseData.removedKeywords
|
|
@ -0,0 +1,12 @@
|
|||
diff -ruN pykickstart-2.35.orig/po/Makefile pykickstart-2.35/po/Makefile
|
||||
--- pykickstart-2.35.orig/po/Makefile 2017-10-19 12:52:22.672153378 -0400
|
||||
+++ pykickstart-2.35/po/Makefile 2017-10-19 12:52:32.443236072 -0400
|
||||
@@ -12,7 +12,7 @@
|
||||
|
||||
# PO catalog handling
|
||||
MSGMERGE = msgmerge -v
|
||||
-XGETTEXT = ../translation-canary/xgettext_werror.sh --default-domain=$(NLSPACKAGE) \
|
||||
+XGETTEXT = xgettext --default-domain=$(NLSPACKAGE) \
|
||||
--add-comments
|
||||
MSGFMT = msgfmt --statistics --verbose
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
Name: pykickstart
|
||||
Version: 2.33
|
||||
Release: 3%{?dist}
|
||||
Version: 2.35
|
||||
Release: 2%{?dist}
|
||||
License: GPLv2 and MIT
|
||||
Group: System Environment/Libraries
|
||||
Summary: Python utilities for manipulating kickstart files.
|
||||
|
@ -9,6 +9,8 @@ Url: http://fedoraproject.org/wiki/pykickstart
|
|||
# our distribution. Thus the source is only available from
|
||||
# within this srpm.
|
||||
Source0: %{name}-%{version}.tar.gz
|
||||
Patch0: 0001-Call-the-_-method-from-i18n.py.patch
|
||||
Patch1: 0002-Disable-translation-canary.patch
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
|
@ -60,6 +62,8 @@ the pykickstart package.
|
|||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
|
||||
rm -rf %{py3dir}
|
||||
mkdir %{py3dir}
|
||||
|
@ -121,11 +125,29 @@ popd
|
|||
%{python3_sitelib}/pykickstart/locale/
|
||||
|
||||
%changelog
|
||||
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.33-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
* Thu Oct 19 2017 Chris Lumens <clumens@redhat.com> - 2.35-2
|
||||
- Add a patch to fix builds against python 3.6.3 (jkonecny).
|
||||
|
||||
* Tue Dec 13 2016 Charalampos Stratakis <cstratak@redhat.com> - 2.33-2
|
||||
- Rebuild for Python 3.6
|
||||
* Wed Jun 14 2017 Chris Lumens <clumens@redhat.com> - 2.35-1
|
||||
- Fix an ambiguous string in a snapshot command test. (clumens)
|
||||
- Snapshot command is also for Fedora 26 (jkonecny)
|
||||
- Add documentation for the snapshot feature (#1113207) (jkonecny)
|
||||
- Add tests for a new snapshot command (#1113207) (jkonecny)
|
||||
- Add support of --when param to snapshot command (#1113207) (jkonecny)
|
||||
- Add new snapshot KS command (#1113207) (jkonecny)
|
||||
|
||||
* Fri Apr 07 2017 Chris Lumens <clumens@redhat.com> - 2.34-1
|
||||
- Ignore a couple false positives coming from the re module. (clumens)
|
||||
- Add --nohome, --noboot and --noswap options to autopart command. (vponcova)
|
||||
- Add --nohome option to autopart command to RHEL7. (vponcova)
|
||||
- Add support for --chunksize option to RHEL7. (vponcova)
|
||||
- Ignore errors from coverage tests (#138) (jkonecny)
|
||||
- Add --hibernation to the list of logvol size options (#1408666). (clumens)
|
||||
- Apply a different filter for warnings from pykickstart (#1408667). (clumens)
|
||||
- Rename a couple _setToSelf calls that snuck back in (#1408667). (clumens)
|
||||
- Handle KickstartVersionError in ksflatten (#1412249). (clumens)
|
||||
- Fix handling # in passwords. (clumens)
|
||||
- Pass comments=True to shlex.split calls in the test functions. (clumens)
|
||||
|
||||
* Fri Nov 04 2016 Chris Lumens <clumens@redhat.com> - 2.33-1
|
||||
- Fix python2 compatibility when printing to stderr (jkonecny)
|
||||
|
|
Loading…
Reference in New Issue