diff --git a/.gitignore b/.gitignore index b08bc8d..2048fb3 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /cmd2-0.9.16.tar.gz /cmd2-1.3.10.tar.gz /cmd2-1.3.11.tar.gz +/cmd2-1.4.0.tar.gz diff --git a/python-cmd2.spec b/python-cmd2.spec index 88a8fc1..2ea246c 100644 --- a/python-cmd2.spec +++ b/python-cmd2.spec @@ -1,7 +1,7 @@ %global pypi_name cmd2 -Name: python-cmd2 -Version: 1.3.11 +Name: python-%{pypi_name} +Version: 1.4.0 Release: 1%{?dist} Summary: Extra features for standard library's cmd module @@ -10,7 +10,6 @@ URL: https://pypi.python.org/pypi/cmd2 Source0: %{pypi_source} BuildArch: noarch - %global _description\ Enhancements for standard library's cmd module.\ \ @@ -38,7 +37,7 @@ See docs at http://packages.python.org/cmd2/ %description %_description %package -n python3-cmd2 -Summary: Extra features for standard library's cmd module +Summary: %{summary} BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-setuptools_scm @@ -51,32 +50,10 @@ Requires: python3-wcwidth Requires: /usr/bin/which %{?python_provide:%python_provide python3-cmd2} -%description -n python3-cmd2 -Enhancements for standard library's cmd module. - -Drop-in replacement adds several features for command-prompt tools: - - * Searchable command history (commands: "hi", "li", "run") - * Load commands from file, save to file, edit commands in file - * Multi-line commands - * Case-insensitive commands - * Special-character shortcut commands (beyond cmd's "@" and "!") - * Settable environment parameters - * Parsing commands with flags - * > (filename), >> (filename) redirect output to file - * < (filename) gets input from file - * bare >, >>, < redirect to/from paste buffer - * accepts abbreviated commands when unambiguous - * `py` enters interactive Python console - * test apps against sample session transcript (see example/example.py) - -Usable without modification anywhere cmd is used; simply import cmd2.Cmd -in place of cmd.Cmd. - -See docs at http://packages.python.org/cmd2/ +%description -n python3-%{pypi_name} %_description %prep -%setup -q -n %{pypi_name}-%{version} +%autosetup -n %{pypi_name}-%{version} %build %py3_build @@ -84,7 +61,6 @@ See docs at http://packages.python.org/cmd2/ %install %py3_install - %files -n python3-%{pypi_name} %license LICENSE %doc CHANGELOG.md CONTRIBUTING.md README.md CODE_OF_CONDUCT.md docs @@ -92,6 +68,9 @@ See docs at http://packages.python.org/cmd2/ %{python3_sitelib}/%{pypi_name}-%{version}* %changelog +* Fri Dec 11 2020 Fabian Affolter - 1.4.0-1 +- Update to latest upstream release 1.4.0 + * Thu Nov 19 2020 Joel Capitao - 1.3.11-1 - Update to 1.3.11. diff --git a/sources b/sources index 5fbc172..94f7e67 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (cmd2-1.3.11.tar.gz) = bd640a38723cfb7886b74631ded288fee87026fe718db48ea71a1eb3cb61cea514dda2c4ccd1df95b5ade3c8f8a4a14be3dd9d6722c59260a5fe7c4dfba30f24 +SHA512 (cmd2-1.4.0.tar.gz) = 1f35e9773578a1d2ea1255cd697754b126c1e90486e84319c0f86ee409ed22bfbc267ff1d3b9af1072985337c9cbc51eac4e288281146d9c20b54c8b364f1547