Pascal Bleser
2013-09-09 17:45:25 +00:00
committed by Git OBS Bridge
parent 658f5d0a53
commit f07318a894
4 changed files with 45 additions and 17 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7a5cfa53edc065a836e012ce31fafc97be8c8630c06ffc59d4ae3f624ea0fb2d
size 20397

3
Term-Shell-0.04.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:bb5b339b9f6ea257e993c96667e84e24e52dc3c63cb097c5128f1cdf4b556bb0
size 26938

View File

@@ -1,3 +1,13 @@
-------------------------------------------------------------------
Mon Sep 09 17:11:30 UTC 2013 - pascal.bleser@opensuse.org
- fix spec file header
- update copyright to SPDX
- update to 0.04:
* add an explicit version to Term::Shell::OnScopeLeave - to settle the PAUSE
indexer
- 0.03 had no user visible changes
-------------------------------------------------------------------
Tue Nov 30 19:20:48 UTC 2010 - coolo@novell.com

View File

@@ -1,21 +1,36 @@
# vim: set sw=4 ts=4 et nu:
# norootforbuild
#
# spec file for package perl-Term-Shell
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2013 Pascal Bleser <pascal.bleser@opensuse.org>
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: perl-Term-Shell
Version: 0.02
Version: 0.04
Release: 0
Summary: Simple Command-Line Shell Framework
Source: http://search.cpan.org/CPAN/authors/id/N/NE/NEILW/Term-Shell-%{version}.tar.gz
URL: http://search.cpan.org/dist/Term-Shell
License: GPL-2.0+ or Artistic-1.0
Group: Development/Libraries/Perl
License: Perl License
BuildRoot: %{_tmppath}/build-%{name}-%{version}
Source: http://search.cpan.org/CPAN/authors/id/S/SH/SHLOMIF/Term-Shell-%{version}.tar.gz
Url: http://search.cpan.org/dist/Term-Shell
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: make
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Module::Build)
%description
Term::Shell lets you write simple command-line shells. All the boring
@@ -24,18 +39,20 @@ are handled for you.
%prep
%setup -q -n "Term-Shell-%{version}"
%__sed -i '/^auto_install/d' Makefile.PL
%build
%__perl Makefile.PL PREFIX="%{_prefix}"
%__make %{?jobs:-j%{jobs}}
%__perl ./Build.PL
./Build
%install
%perl_make_install
./Build pure_install \
--destdir "%{buildroot}" \
--installdirs vendor
%perl_process_packlist
%check
%__make test
./Build test
%clean
%{?buildroot:%__rm -rf "%{buildroot}"}
@@ -50,3 +67,4 @@ are handled for you.
%{perl_vendorarch}/auto/Term/Shell
%doc %{perl_man3dir}/Term::Shell.%{perl_man3ext}%{ext_man}
%changelog