commit python-optcomplete for openSUSE:Factory
Hello community, here is the log from the commit of package python-optcomplete for openSUSE:Factory checked in at 2017-08-16 16:11:25 Comparing /work/SRC/openSUSE:Factory/python-optcomplete (Old) and /work/SRC/openSUSE:Factory/.python-optcomplete.new (New) Package is "python-optcomplete" Wed Aug 16 16:11:25 2017 rev:11 rq:513726 version:1.2_devel Changes: --- /work/SRC/openSUSE:Factory/python-optcomplete/python-optcomplete.changes 2015-01-03 22:00:54.0 +0100 +++ /work/SRC/openSUSE:Factory/.python-optcomplete.new/python-optcomplete.changes 2017-08-16 16:11:31.203858419 +0200 @@ -1,0 +2,6 @@ +Fri Jul 21 10:21:22 UTC 2017 - sebix+novell@sebix.at + +- clean up spec file +- fix build in tumbleweed + +--- Other differences: -- ++ python-optcomplete.spec ++ --- /var/tmp/diff_new_pack.xXp1sc/_old 2017-08-16 16:11:31.951753438 +0200 +++ /var/tmp/diff_new_pack.xXp1sc/_new 2017-08-16 16:11:31.963751754 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-optcomplete # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2017 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 @@ -16,26 +16,21 @@ # +%{!?license: %global license %doc} %define modname optcomplete -%define _version 1.2_devel %define unmangled_version 1.2-devel -%define release 1 - Name: python-optcomplete +Version:1.2_devel +Release:0 Summary:Automatic Shell Completion Support for Scripts Using Optparse License:BSD-3-Clause Group: Development/Libraries/Python -Version:%{_version} -Release:0 +Url:http://furius.ca/optcomplete Source0:%{modname}-%{unmangled_version}.tar.bz2 Patch1: optcomplete-1.2-devel-fix-shebang.patch -BuildRoot: %{_tmppath}/%{name}-%{version}-build -%if %{?suse_version: %{suse_version} > 1110} %{!?suse_version:1} -BuildArch: noarch -%endif -Url:http://furius.ca/optcomplete BuildRequires: python-devel %py_requires +BuildArch: noarch %description This module provide automatic bash completion support for programs that use the @@ -55,37 +50,30 @@ You need to activate bash completion using the shell script function that comes with optcomplete (see http://furius.ca/optcomplete for more details). - %prep -%setup -n %{modname}-%{unmangled_version} +%setup -q -n %{modname}-%{unmangled_version} %patch1 -p1 +sed -i '1s/^#!\/usr\/bin\/env python$/#!\/usr\/bin\/python2/' bin/* %build python setup.py build %install python setup.py install \ - --root=$RPM_BUILD_ROOT \ + --root=%{buildroot} \ --prefix=%{_prefix} \ --record=%{name}.files -mkdir -p $RPM_BUILD_ROOT%_sysconfdir/bash_completion.d - mv bin example -chmod -x example/README +chmod -x example/* mkdir bash_completion mv etc/bashrc etc/env etc/optcomplete.zsh bash_completion/ chmod -x bash_completion/optcomplete.zsh - -cp -v etc/optcomplete.bash \ - $RPM_BUILD_ROOT%_sysconfdir/bash_completion.d/optcomplete.sh - -%clean -rm -rf $RPM_BUILD_ROOT +install -Dm 664 etc/optcomplete.bash %{buildroot}%{_sysconfdir}/bash_completion.d/optcomplete.sh %files -f %{name}.files -%defattr(-,root,root) -%config %_sysconfdir/bash_completion.d/* -%doc README TODO VERSION CHANGES COPYING CREDITS +%config %{_sysconfdir}/bash_completion.d/* +%doc README TODO VERSION CHANGES CREDITS +%license COPYING %doc doc/* example bash_completion %changelog
commit python-optcomplete for openSUSE:Factory
Hello community, here is the log from the commit of package python-optcomplete for openSUSE:Factory checked in at 2015-01-03 22:00:52 Comparing /work/SRC/openSUSE:Factory/python-optcomplete (Old) and /work/SRC/openSUSE:Factory/.python-optcomplete.new (New) Package is "python-optcomplete" Changes: --- /work/SRC/openSUSE:Factory/python-optcomplete/python-optcomplete.changes 2011-12-12 17:03:49.0 +0100 +++ /work/SRC/openSUSE:Factory/.python-optcomplete.new/python-optcomplete.changes 2015-01-03 22:00:54.0 +0100 @@ -1,0 +2,7 @@ +Sun Dec 28 15:07:00 UTC 2014 - Led + +- remove unneeded shebang in scripts +- add patches: + + optcomplete-1.2-devel-fix-shebang.patch + +--- New: optcomplete-1.2-devel-fix-shebang.patch Other differences: -- ++ python-optcomplete.spec ++ --- /var/tmp/diff_new_pack.fJKNR1/_old 2015-01-03 22:00:54.0 +0100 +++ /var/tmp/diff_new_pack.fJKNR1/_new 2015-01-03 22:00:54.0 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-optcomplete # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -28,6 +28,7 @@ Version:%{_version} Release:0 Source0:%{modname}-%{unmangled_version}.tar.bz2 +Patch1: optcomplete-1.2-devel-fix-shebang.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %if %{?suse_version: %{suse_version} > 1110} %{!?suse_version:1} BuildArch: noarch @@ -57,6 +58,7 @@ %prep %setup -n %{modname}-%{unmangled_version} +%patch1 -p1 %build python setup.py build ++ optcomplete-1.2-devel-fix-shebang.patch ++ diff -Ndur optcomplete-1.2-devel/etc/bashrc optcomplete-1.2-devel-fix-shebang/etc/bashrc --- optcomplete-1.2-devel/etc/bashrc2008-09-09 00:36:38.0 +0300 +++ optcomplete-1.2-devel-fix-shebang/etc/bashrc2014-12-28 16:32:00.315730576 +0200 @@ -1,4 +1,3 @@ -#!/bin/sh # # $Id: bashrc,v 1.5 2004/01/28 05:30:12 blais Exp $ # $Source: /home/blais/repos/cvsroot/optcomplete/etc/bashrc,v $ diff -Ndur optcomplete-1.2-devel/etc/optcomplete.bash optcomplete-1.2-devel-fix-shebang/etc/optcomplete.bash --- optcomplete-1.2-devel/etc/optcomplete.bash 2008-09-09 00:36:38.0 +0300 +++ optcomplete-1.2-devel-fix-shebang/etc/optcomplete.bash 2014-12-28 16:31:39.033730546 +0200 @@ -1,4 +1,3 @@ -#!/bin/sh # optcomplete harness for bash shell. You then need to tell # bash to invoke this shell function with a command like # this:: diff -Ndur optcomplete-1.2-devel/etc/optcomplete.zsh optcomplete-1.2-devel-fix-shebang/etc/optcomplete.zsh --- optcomplete-1.2-devel/etc/optcomplete.zsh 2008-09-09 00:36:38.0 +0300 +++ optcomplete-1.2-devel-fix-shebang/etc/optcomplete.zsh 2014-12-28 16:31:42.190730551 +0200 @@ -1,4 +1,3 @@ -#!/bin/sh # optcomplete harness for zsh shell. You then need to tell # zsh to invoke this shell function with a command like # this:: -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org
commit python-optcomplete for openSUSE:Factory
Hello community, here is the log from the commit of package python-optcomplete for openSUSE:Factory checked in at 2011-12-12 16:58:56 Comparing /work/SRC/openSUSE:Factory/python-optcomplete (Old) and /work/SRC/openSUSE:Factory/.python-optcomplete.new (New) Package is "python-optcomplete", Maintainer is "" Changes: --- /work/SRC/openSUSE:Factory/python-optcomplete/python-optcomplete.changes 2011-09-23 12:43:04.0 +0200 +++ /work/SRC/openSUSE:Factory/.python-optcomplete.new/python-optcomplete.changes 2011-12-12 17:03:49.0 +0100 @@ -1,0 +2,5 @@ +Fri Dec 9 08:43:52 UTC 2011 - co...@suse.com + +- fix license to be in spdx.org format + +--- Other differences: -- ++ python-optcomplete.spec ++ --- /var/tmp/diff_new_pack.HIypPL/_old 2011-12-12 17:03:52.0 +0100 +++ /var/tmp/diff_new_pack.HIypPL/_new 2011-12-12 17:03:52.0 +0100 @@ -1,7 +1,7 @@ # -# spec file for package python-optcomplete (Version 1.2_devel) +# spec file for package python-optcomplete # -# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -21,14 +21,13 @@ %define unmangled_version 1.2-devel %define release 1 +Name: python-optcomplete Summary:Automatic Shell Completion Support for Scripts Using Optparse - -Name: python-%{modname} +License:BSD-3-Clause +Group: Development/Libraries/Python Version:%{_version} -Release:1 +Release:0 Source0:%{modname}-%{unmangled_version}.tar.bz2 -License:BSD -Group: Development/Libraries/Python BuildRoot: %{_tmppath}/%{name}-%{version}-build %if %{?suse_version: %{suse_version} > 1110} %{!?suse_version:1} BuildArch: noarch -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org