Hello community,
here is the log from the commit of package python-configshell for
openSUSE:Factory checked in at 2016-06-19 10:42:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-configshell (Old)
and /work/SRC/openSUSE:Factory/.python-configshell.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-configshell"
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-configshell/python-configshell.changes
2014-11-26 10:33:11.000000000 +0100
+++
/work/SRC/openSUSE:Factory/.python-configshell.new/python-configshell.changes
2016-06-19 10:42:07.000000000 +0200
@@ -1,0 +2,5 @@
+Fri May 13 06:00:16 UTC 2016 - [email protected]
+
+- Update to version 1.6
+
+-------------------------------------------------------------------
Old:
----
configshell-1.5.tar.gz
New:
----
configshell-1.6.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-configshell.spec ++++++
--- /var/tmp/diff_new_pack.TI9haM/_old 2016-06-19 10:42:08.000000000 +0200
+++ /var/tmp/diff_new_pack.TI9haM/_new 2016-06-19 10:42:08.000000000 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-configshell
#
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -22,21 +22,16 @@
Summary: A framework to implement simple but nice CLIs
License: Apache-2.0
Group: Development/Languages/Python
-Version: 1.5
+Version: 1.6
Release: 0
Url: https://github.com/Datera/configshell
-Source:
https://github.com/Datera/%{oname}/releases/download/%{version}/%{oname}-%{version}.tar.gz
+Source: %{oname}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: epydoc
BuildRequires: python-devel
BuildRequires: python-pyparsing
Requires: python-pyparsing
Requires: python-urwid >= 0.9.9
-%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
A framework to implement simple but nice command-line interfaces.
@@ -78,7 +73,7 @@
%setup -q -n %{oname}-%{version}
%build
-%{__python} setup.py build
+%__python setup.py build
mkdir -p doc/
epydoc --no-sourcecode --html -n %{oname} --exclude configobj %{oname}/*.py
mv html doc/
++++++ configshell-1.5.tar.gz -> configshell-1.6.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/configshell-1.5/Makefile new/configshell-1.6/Makefile
--- old/configshell-1.5/Makefile 1970-01-01 01:00:00.000000000 +0100
+++ new/configshell-1.6/Makefile 2014-10-19 01:28:31.000000000 +0200
@@ -0,0 +1,146 @@
+# This file is part of LIO(tm).
+# Copyright (c) 2011-2014 by Datera, Inc
+#
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+#
+
+NAME = configshell
+GIT_BRANCH = $$(git branch | grep \* | tr -d \*)
+VERSION = $$(basename $$(git describe --tags | grep -o '[0-9].*$$') | sed
's/\(.*-[0-9]*\)-\([a-z0-9]*\)/\1~\2/g' | tr - .)
+
+.PHONY : version all clean cleanall release deb debinstall rpm
+
+all:
+ @echo "Usage:"
+ @echo
+ @echo " make deb - Builds debian packages."
+ @echo " make debinstall - Builds and installs debian packages."
+ @echo " (requires sudo access)"
+ @echo " make rpm - Builds rpm packages."
+ @echo " make release - Generates the release tarball."
+ @echo
+ @echo " make clean - Cleanup the local repository build files."
+ @echo " make cleanall - Also remove dist/*"
+
+version:
+ @echo $(VERSION)
+
+clean:
+ @rm -fv ${NAME}/*.pyc ${NAME}/*.html
+ @rm -frv doc
+ @rm -frv ${NAME}.egg-info MANIFEST build
+ @rm -frv debian/tmp
+ @rm -fv build-stamp
+ @rm -fv dpkg-buildpackage.log dpkg-buildpackage.version
+ @rm -frv *.rpm
+ @rm -fv debian/files debian/*.log debian/*.substvars
+ @rm -frv debian/${NAME}-doc/ debian/python2.5-${NAME}/
+ @rm -frv debian/python2.6-${NAME}/ debian/python-${NAME}/
+ @rm -frv results
+ @rm -fv rpm/*.spec *.spec rpm/sed* sed*
+ @rm -frv ${NAME}-*
+ @find . -name *~ -exec rm -v {} \;
+ @find . -name \#*\# -exec rm -v {} \;
+ @echo "Finished cleanup."
+
+cleanall: clean
+ @rm -frv dist
+
+release: build/release-stamp
+build/release-stamp:
+ @mkdir -p build
+ @echo "Exporting the repository files..."
+ @git archive ${GIT_BRANCH} --prefix ${NAME}-${VERSION}/ \
+ | (cd build; tar xfp -)
+ @cp -pr debian/ build/${NAME}-${VERSION}
+ @echo "Cleaning up the target tree..."
+ @rm -f build/${NAME}-${VERSION}/Makefile
+ @rm -f build/${NAME}-${VERSION}/.gitignore
+ @echo "Fixing version string..."
+ @sed -i "s/__version__ = .*/__version__ = '${VERSION}'/g" \
+ build/${NAME}-${VERSION}/${NAME}/__init__.py
+ @echo "Generating rpm specfile from template..."
+ @cd build/${NAME}-${VERSION}; \
+ for spectmpl in rpm/*.spec.tmpl; do \
+ sed -i "s/Version:\( *\).*/Version:\1${VERSION}/g"
$${spectmpl}; \
+ mv $${spectmpl} $$(basename $${spectmpl} .tmpl); \
+ done; \
+ rm -r rpm
+ @echo "Generating rpm changelog..."
+ @( \
+ version=$(VERSION); \
+ author=$$(git show HEAD --format="format:%an <%ae>" -s); \
+ date=$$(git show HEAD --format="format:%ad" -s \
+ | awk '{print $$1,$$2,$$3,$$5}'); \
+ hash=$$(git show HEAD --format="format:%H" -s); \
+ echo '* '"$${date} $${author} $${version}-1"; \
+ echo " - Generated from git commit $${hash}."; \
+ ) >> $$(ls build/${NAME}-${VERSION}/*.spec)
+ @echo "Generating debian changelog..."
+ @( \
+ version=$(VERSION); \
+ author=$$(git show HEAD --format="format:%an <%ae>" -s); \
+ date=$$(git show HEAD --format="format:%aD" -s); \
+ day=$$(git show HEAD --format='format:%ai' -s \
+ | awk '{print $$1}' \
+ | awk -F '-' '{print $$3}' | sed 's/^0/ /g'); \
+ date=$$(echo $${date} \
+ | awk '{print $$1, "'"$${day}"'", $$3, $$4, $$5,
$$6}'); \
+ hash=$$(git show HEAD --format="format:%H" -s); \
+ echo "${NAME} ($${version}) unstable; urgency=low"; \
+ echo; \
+ echo " * Generated from git commit $${hash}."; \
+ echo; \
+ echo " -- $${author} $${date}"; \
+ echo; \
+ ) > build/${NAME}-${VERSION}/debian/changelog
+ @find build/${NAME}-${VERSION}/ -exec \
+ touch -t $$(date -d @$$(git show -s --format="format:%at") \
+ +"%Y%m%d%H%M.%S") {} \;
+ @mkdir -p dist
+ @cd build; tar -c --owner=0 --group=0 --numeric-owner \
+ --format=gnu -b20 --quoting-style=escape \
+ -f ../dist/${NAME}-${VERSION}.tar \
+ $$(find ${NAME}-${VERSION} -type f | sort)
+ @gzip -6 -n dist/${NAME}-${VERSION}.tar
+ @echo "Generated release tarball:"
+ @echo " $$(ls dist/${NAME}-${VERSION}.tar.gz)"
+ @touch build/release-stamp
+
+deb: release build/deb-stamp
+build/deb-stamp:
+ @echo "Building debian packages..."
+ @cd build/${NAME}-${VERSION}; \
+ dpkg-buildpackage -rfakeroot -us -uc
+ @mv build/*_${VERSION}_*.deb dist/
+ @echo "Generated debian packages:"
+ @for pkg in $$(ls dist/*_${VERSION}_*.deb); do echo " $${pkg}"; done
+ @touch build/deb-stamp
+
+debinstall: deb
+ @echo "Installing $$(ls dist/*_${VERSION}_*.deb)"
+ @sudo dpkg -i $$(ls dist/*_${VERSION}_*.deb)
+
+rpm: release build/rpm-stamp
+build/rpm-stamp:
+ @echo "Building rpm packages..."
+ @mkdir -p build/rpm
+ @build=$$(pwd)/build/rpm; dist=$$(pwd)/dist/; rpmbuild \
+ --define "_topdir $${build}" --define "_sourcedir $${dist}" \
+ --define "_rpmdir $${build}" --define "_buildir $${build}" \
+ --define "_srcrpmdir $${build}" -ba
build/${NAME}-${VERSION}/*.spec
+ @mv build/rpm/*-${VERSION}*.src.rpm dist/
+ @mv build/rpm/*/*-${VERSION}*.rpm dist/
+ @echo "Generated rpm packages:"
+ @for pkg in $$(ls dist/*-${VERSION}*.rpm); do echo " $${pkg}"; done
+ @touch build/rpm-stamp
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/configshell-1.5/README.md
new/configshell-1.6/README.md
--- old/configshell-1.5/README.md 2014-05-12 04:41:04.000000000 +0200
+++ new/configshell-1.6/README.md 2014-10-19 01:28:31.000000000 +0200
@@ -4,6 +4,7 @@
simple but nice CLI-based applications running both as single-command
tools and interactive shells providing a UNIX filesystem-like navigation
interface, as well as full autocompletion support and interactive inline help.
+It is part of LIO(tm).
## Usage scenarios
@@ -68,7 +69,7 @@
## Author
-ConfigShell was developed by Datera, Inc.
+LIO(tm) was developed by Datera, Inc.
http://www.datera.io
The original author and current maintainer is
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/configshell-1.5/configshell/__init__.py
new/configshell-1.6/configshell/__init__.py
--- old/configshell-1.5/configshell/__init__.py 2014-05-12 04:41:04.000000000
+0200
+++ new/configshell-1.6/configshell/__init__.py 2014-10-19 01:28:31.000000000
+0200
@@ -1,5 +1,5 @@
'''
-This file is part of ConfigShell.
+This file is part of LIO(tm).
Copyright (c) 2011-2014 by Datera, Inc
Licensed under the Apache License, Version 2.0 (the "License"); you may
@@ -21,7 +21,7 @@
from node import ConfigNode, ExecutionError
from prefs import Prefs
-__version__ = '1.5'
+__version__ = 'GIT_VERSION'
__author__ = "Jerome Martin <[email protected]>"
__url__ = "http://www.risingtidesystems.com"
__description__ = "A framework to implement simple but nice CLIs."
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/configshell-1.5/configshell/console.py
new/configshell-1.6/configshell/console.py
--- old/configshell-1.5/configshell/console.py 2014-05-12 04:41:04.000000000
+0200
+++ new/configshell-1.6/configshell/console.py 2014-10-19 01:28:31.000000000
+0200
@@ -1,5 +1,5 @@
'''
-This file is part of ConfigShell.
+This file is part of LIO(tm).
Copyright (c) 2011-2014 by Datera, Inc
Licensed under the Apache License, Version 2.0 (the "License"); you may
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/configshell-1.5/configshell/log.py
new/configshell-1.6/configshell/log.py
--- old/configshell-1.5/configshell/log.py 2014-05-12 04:41:04.000000000
+0200
+++ new/configshell-1.6/configshell/log.py 2014-10-19 01:28:31.000000000
+0200
@@ -1,5 +1,5 @@
'''
-This file is part of ConfigShell.
+This file is part of LIO(tm).
Copyright (c) 2011-2014 by Datera, Inc
Licensed under the Apache License, Version 2.0 (the "License"); you may
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/configshell-1.5/configshell/node.py
new/configshell-1.6/configshell/node.py
--- old/configshell-1.5/configshell/node.py 2014-05-12 04:41:04.000000000
+0200
+++ new/configshell-1.6/configshell/node.py 2014-10-19 01:28:31.000000000
+0200
@@ -1,5 +1,5 @@
'''
-This file is part of ConfigShell.
+This file is part of LIO(tm).
Copyright (c) 2011-2014 by Datera, Inc
Licensed under the Apache License, Version 2.0 (the "License"); you may
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/configshell-1.5/configshell/prefs.py
new/configshell-1.6/configshell/prefs.py
--- old/configshell-1.5/configshell/prefs.py 2014-05-12 04:41:04.000000000
+0200
+++ new/configshell-1.6/configshell/prefs.py 2014-10-19 01:28:31.000000000
+0200
@@ -1,5 +1,5 @@
'''
-This file is part of ConfigShell.
+This file is part of LIO(tm).
Copyright (c) 2011-2014 by Datera, Inc
Licensed under the Apache License, Version 2.0 (the "License"); you may
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/configshell-1.5/configshell/shell.py
new/configshell-1.6/configshell/shell.py
--- old/configshell-1.5/configshell/shell.py 2014-05-12 04:41:04.000000000
+0200
+++ new/configshell-1.6/configshell/shell.py 2014-10-19 01:28:31.000000000
+0200
@@ -1,5 +1,5 @@
'''
-This file is part of ConfigShell.
+This file is part of LIO(tm).
Copyright (c) 2011-2014 by Datera, Inc
Licensed under the Apache License, Version 2.0 (the "License"); you may
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/configshell-1.5/debian/changelog
new/configshell-1.6/debian/changelog
--- old/configshell-1.5/debian/changelog 2014-05-12 04:41:04.000000000
+0200
+++ new/configshell-1.6/debian/changelog 1970-01-01 01:00:00.000000000
+0100
@@ -1,6 +0,0 @@
-configshell (1.5) unstable; urgency=low
-
- * Generated from git commit 730208e81c71e4419b69f5ec049da6b63dc523a7.
-
- -- Jerome Martin <[email protected]> Mon, 12 May 2014 04:41:04 +0200
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/configshell-1.5/debian/compat
new/configshell-1.6/debian/compat
--- old/configshell-1.5/debian/compat 2014-05-12 04:41:04.000000000 +0200
+++ new/configshell-1.6/debian/compat 1970-01-01 01:00:00.000000000 +0100
@@ -1 +0,0 @@
-7
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/configshell-1.5/debian/control
new/configshell-1.6/debian/control
--- old/configshell-1.5/debian/control 2014-05-12 04:41:04.000000000 +0200
+++ new/configshell-1.6/debian/control 1970-01-01 01:00:00.000000000 +0100
@@ -1,19 +0,0 @@
-Source: configshell
-Section: python
-Priority: optional
-Standards-Version: 3.9.2
-Homepage: https://github.com/Datera/configshell
-Maintainer: Jerome Martin <[email protected]>
-Build-Depends: debhelper(>= 7.0.50~), python(>= 2.6.6-3~), python-epydoc,
python-pyparsing, texlive-latex-base, texlive-latex-extra,
texlive-latex-recommended, lmodern, ghostscript, texlive-fonts-recommended
-
-Package: python-configshell
-Architecture: all
-Depends: ${python:Depends}, ${misc:Depends}, python-epydoc, python-pyparsing,
python-urwid
-Provides: ${python:Provides}
-Suggests: python-epydoc
-Description: A Python framework for building CLI interfaces and shells
- A programs built with ConfigShell can be used either as a single-command tool
- or as an interactive shell providing a UNIX filesystem-like navigation
- interface, as well as full autocompletion support and interactive inline help
- .
- This package contains the configshell library
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/configshell-1.5/debian/copyright
new/configshell-1.6/debian/copyright
--- old/configshell-1.5/debian/copyright 2014-05-12 04:41:04.000000000
+0200
+++ new/configshell-1.6/debian/copyright 1970-01-01 01:00:00.000000000
+0100
@@ -1,13 +0,0 @@
-Copyright (c) 2011-2014 by Datera, Inc.
-
-Licensed under the Apache License, Version 2.0 (the "License"); you may
-not use this file except in compliance with the License. You may obtain
-a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
-WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
-License for the specific language governing permissions and limitations
-under the License.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/configshell-1.5/debian/python-configshell.doc-base
new/configshell-1.6/debian/python-configshell.doc-base
--- old/configshell-1.5/debian/python-configshell.doc-base 2014-05-12
04:41:04.000000000 +0200
+++ new/configshell-1.6/debian/python-configshell.doc-base 1970-01-01
01:00:00.000000000 +0100
@@ -1,12 +0,0 @@
-Document: python-configshell
-Title: python-configshell online documentation
-Author: Jerome Martin <[email protected]>
-Abstract: API reference documentation for python-configshell
-Section: System/Administration
-
-Format: HTML
-Index: /usr/share/doc/python-configshell/doc/html/index.html
-Files: /usr/share/doc/python-configshell/doc/html/*.html
-
-Format: PDF
-Files:
/usr/share/doc/python-configshell/doc/pdf/configshell_API_Documentation.pdf.gz
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/configshell-1.5/debian/python-configshell.docs
new/configshell-1.6/debian/python-configshell.docs
--- old/configshell-1.5/debian/python-configshell.docs 2014-05-12
04:41:04.000000000 +0200
+++ new/configshell-1.6/debian/python-configshell.docs 1970-01-01
01:00:00.000000000 +0100
@@ -1,4 +0,0 @@
-COPYING
-README.md
-examples/myshell
-doc/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/configshell-1.5/debian/python-configshell.install
new/configshell-1.6/debian/python-configshell.install
--- old/configshell-1.5/debian/python-configshell.install 2014-05-12
04:41:04.000000000 +0200
+++ new/configshell-1.6/debian/python-configshell.install 1970-01-01
01:00:00.000000000 +0100
@@ -1 +0,0 @@
-lib/configshell usr/share/pyshared
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/configshell-1.5/debian/rules
new/configshell-1.6/debian/rules
--- old/configshell-1.5/debian/rules 2014-05-12 04:41:04.000000000 +0200
+++ new/configshell-1.6/debian/rules 1970-01-01 01:00:00.000000000 +0100
@@ -1,28 +0,0 @@
-#!/usr/bin/make -f
-
-build_dir = build
-install_dir = debian/tmp
-
-
-%:
- dh $@ --with python2
-
-override_dh_auto_clean:
- # manually clean any *.pyc files
- rm -rf configshell/*.pyc
- [ ! -d doc ] || rm -rf doc
-
-override_dh_auto_build:
- python setup.py build --build-base $(build_dir)
-
- mkdir -p doc/pdf
- epydoc --no-sourcecode --pdf -n configshell --exclude configobj
configshell/*.py
- mv pdf/api.pdf doc/pdf/configshell_API_Documentation.pdf
-
- mkdir -p doc/html
- epydoc --no-sourcecode --html -n configshell --exclude configobj
configshell/*.py
- mv html doc/
-
-override_dh_auto_install:
- python setup.py install --no-compile --install-purelib \
- $(install_dir)/lib/ --install-scripts $(install_dir)/bin
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/configshell-1.5/examples/myshell
new/configshell-1.6/examples/myshell
--- old/configshell-1.5/examples/myshell 2014-05-12 04:41:04.000000000
+0200
+++ new/configshell-1.6/examples/myshell 2014-10-19 01:28:31.000000000
+0200
@@ -1,6 +1,6 @@
#!/usr/bin/python
'''
-This file is part of ConfigShell.
+This file is part of LIO(tm).
Copyright (c) 2011-2014 by Datera, Inc
Licensed under the Apache License, Version 2.0 (the "License"); you may
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/configshell-1.5/python-configshell.spec
new/configshell-1.6/python-configshell.spec
--- old/configshell-1.5/python-configshell.spec 2014-05-12 04:41:04.000000000
+0200
+++ new/configshell-1.6/python-configshell.spec 1970-01-01 01:00:00.000000000
+0100
@@ -1,46 +0,0 @@
-%define oname configshell
-
-Name: python-configshell
-License: Apache License 2.0
-Group: System Environment/Libraries
-Summary: A framework to implement simple but nice CLIs.
-Version: 1.5
-Release: 1%{?dist}
-URL: http://www.risingtidesystems.com/git/
-Source: %{oname}-%{version}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-rpmroot
-BuildArch: noarch
-BuildRequires: python-devel, epydoc, pyparsing
-Requires: pyparsing, python-urwid >= 0.9.9
-Vendor: Datera, Inc.
-
-%description
-A framework to implement simple but nice command-line interfaces.
-
-%prep
-%setup -q -n %{oname}-%{version}
-
-%build
-%{__python} setup.py build
-mkdir -p doc/
-epydoc --no-sourcecode --html -n %{oname} --exclude configobj %{oname}/*.py
-mv html doc/
-
-%install
-rm -rf %{buildroot}
-%{__python} setup.py install --skip-build --root %{buildroot} --prefix=usr
-mkdir -p %{buildroot}/usr/share/doc/python-configshell-doc-%{version}
-cp -r doc/* %{buildroot}/usr/share/doc/python-configshell-doc-%{version}/
-
-%clean
-rm -rf %{buildroot}
-
-%files
-%defattr(-,root,root,-)
-%{python_sitelib}
-/usr/share/doc/python-configshell-doc-%{version}
-%doc examples COPYING README.md
-
-%changelog
-* Mon May 12 2014 Jerome Martin <[email protected]> 1.5-1
- - Generated from git commit 730208e81c71e4419b69f5ec049da6b63dc523a7.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/configshell-1.5/rpm/python-configshell.spec.tmpl
new/configshell-1.6/rpm/python-configshell.spec.tmpl
--- old/configshell-1.5/rpm/python-configshell.spec.tmpl 1970-01-01
01:00:00.000000000 +0100
+++ new/configshell-1.6/rpm/python-configshell.spec.tmpl 2014-10-19
01:28:31.000000000 +0200
@@ -0,0 +1,44 @@
+%define oname configshell
+
+Name: python-configshell
+License: Apache License 2.0
+Group: System Environment/Libraries
+Summary: A framework to implement simple but nice CLIs.
+Version: VERSION
+Release: 1%{?dist}
+URL: http://www.risingtidesystems.com/git/
+Source: %{oname}-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-rpmroot
+BuildArch: noarch
+BuildRequires: python-devel, epydoc, pyparsing, python-urwid >= 0.9.9
+Requires: pyparsing, python-urwid >= 0.9.9
+Vendor: Datera, Inc.
+
+%description
+A framework to implement simple but nice command-line interfaces.
+
+%prep
+%setup -q -n %{oname}-%{version}
+
+%build
+%{__python} setup.py build
+mkdir -p doc/
+epydoc --no-sourcecode --html -n %{oname} --exclude configobj %{oname}/*.py
+mv html doc/
+
+%install
+rm -rf %{buildroot}
+%{__python} setup.py install --skip-build --root %{buildroot} --prefix=usr
+mkdir -p %{buildroot}/usr/share/doc/python-configshell-doc-%{version}
+cp -r doc/* %{buildroot}/usr/share/doc/python-configshell-doc-%{version}/
+
+%clean
+rm -rf %{buildroot}
+
+%files
+%defattr(-,root,root,-)
+%{python_sitelib}
+/usr/share/doc/python-configshell-doc-%{version}
+%doc examples COPYING README.md
+
+%changelog
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/configshell-1.5/setup.py new/configshell-1.6/setup.py
--- old/configshell-1.5/setup.py 2014-05-12 04:41:04.000000000 +0200
+++ new/configshell-1.6/setup.py 2014-10-19 01:28:31.000000000 +0200
@@ -1,6 +1,6 @@
#! /usr/bin/env python
'''
-This file is part of ConfigShell.
+This file is part of LIO(tm).
Copyright (c) 2011-2014 by Datera, Inc
Licensed under the Apache License, Version 2.0 (the "License"); you may