- Update to version 1.1.2:
+ No changelog - Spec file cleanup OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cmdln?expand=0&rev=12
This commit is contained in:
parent
81fad3cc4b
commit
154e8925b7
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:a45130304cf3031cbf8be0170790a7a9b4cd2c951a02be91c23ea1c41f9ac441
|
|
||||||
size 67505
|
|
3
cmdln-1.1.2.zip
Normal file
3
cmdln-1.1.2.zip
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:6b11124b6f846ab1f5ac7be0a7e3ccd2241e0f2fa318f5db66e3630235ed130a
|
||||||
|
size 87467
|
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Oct 24 13:45:41 UTC 2013 - speilicke@suse.com
|
||||||
|
|
||||||
|
- Update to version 1.1.2:
|
||||||
|
+ No changelog
|
||||||
|
- Spec file cleanup
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Aug 28 22:31:23 CEST 2009 - coolo@novell.com
|
Fri Aug 28 22:31:23 CEST 2009 - coolo@novell.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-cmdln
|
# spec file for package python-cmdln
|
||||||
#
|
#
|
||||||
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -15,25 +15,24 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
# nodebuginfo
|
|
||||||
|
|
||||||
%define _name cmdln
|
|
||||||
%define version 1.1.1
|
|
||||||
%define unmangled_version 1.1.1
|
|
||||||
%define release 1
|
|
||||||
Summary: An improved cmd.py for Writing Multi-command Scripts and Shells
|
|
||||||
|
|
||||||
Name: python-cmdln
|
Name: python-cmdln
|
||||||
Version: %{version}
|
Version: 1.1.2
|
||||||
Release: 5
|
Release: 0
|
||||||
Source0: %{_name}-%{unmangled_version}.tar.bz2
|
Url: http://code.google.com/p/cmdln/
|
||||||
|
Summary: An improved cmd.py for Writing Multi-command Scripts and Shells
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Libraries/Python
|
Group: Development/Libraries/Python
|
||||||
|
Source: https://pypi.python.org/packages/source/c/cmdln/cmdln-%{version}.zip
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
Prefix: %{_prefix}
|
BuildRequires: python-devel
|
||||||
BuildRequires: python-devel python-setuptools
|
BuildRequires: python-setuptools
|
||||||
#BuildArch: noarch
|
BuildRequires: unzip
|
||||||
Url: http://code.google.com/p/cmdln/
|
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
||||||
|
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||||
|
%else
|
||||||
|
BuildArch: noarch
|
||||||
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
`cmdln.py` is an extension of Python's default `cmd.py` module that
|
`cmdln.py` is an extension of Python's default `cmd.py` module that
|
||||||
@ -44,29 +43,19 @@ simple interactive shells (think gdb or pdb). Cmdln's extensions make
|
|||||||
it more natural to write sub-commands, integrate optparse for simple
|
it more natural to write sub-commands, integrate optparse for simple
|
||||||
option processing, and make having good command documentation easier.
|
option processing, and make having good command documentation easier.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Authors:
|
|
||||||
--------
|
|
||||||
Trent Mick <TrentM@ActiveState.com>
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -n %{_name}-%{unmangled_version}
|
%setup -q -n cmdln-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export CFLAGS="$RPM_OPT_FLAGS"
|
|
||||||
python setup.py build
|
python setup.py build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
python setup.py install --prefix=%{_prefix} \
|
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||||
--root=$RPM_BUILD_ROOT \
|
|
||||||
--record-rpm=INSTALLED_FILES
|
|
||||||
|
|
||||||
%clean
|
%files
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
%files -f INSTALLED_FILES
|
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc LICENSE.txt README.txt docs/ examples/
|
%doc LICENSE.txt README.txt docs/ examples/
|
||||||
|
%{python_sitelib}/cmdln-%{version}-py%{py_ver}.egg-info
|
||||||
|
%{python_sitelib}/cmdln*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user