Accepting request 1160749 from devel:languages:perl:autoupdate

- updated to 1.38
   see /usr/share/doc/packages/perl-Expect/Changes
  1.38 2024-03-08
      - Fix to fix to timeout code
  1.37 2024-03-07
      - Fix to timeout code
  1.36 2024-02-23
      - Made timeouts optional and added qr// regex support

OBS-URL: https://build.opensuse.org/request/show/1160749
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Expect?expand=0&rev=15
This commit is contained in:
Tina Müller 2024-04-06 12:52:25 +00:00 committed by Git OBS Bridge
parent 3a64b33306
commit 3a005671e0
4 changed files with 38 additions and 20 deletions

BIN
Expect-1.35.tar.gz (Stored with Git LFS)

Binary file not shown.

3
Expect-1.38.tar.gz Normal file
View File

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

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Fri Mar 22 16:10:10 UTC 2024 - Tina Müller <timueller+perl@suse.de>
- updated to 1.38
see /usr/share/doc/packages/perl-Expect/Changes
1.38 2024-03-08
- Fix to fix to timeout code
1.37 2024-03-07
- Fix to timeout code
1.36 2024-02-23
- Made timeouts optional and added qr// regex support
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Mar 4 12:54:07 UTC 2024 - pgajdos@suse.com Mon Mar 4 12:54:07 UTC 2024 - pgajdos@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package perl-Expect # spec file for package perl-Expect
# #
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2024 SUSE LLC
# #
# 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
@ -12,30 +12,33 @@
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via https://bugs.opensuse.org/
# #
Name: perl-Expect
Version: 1.35
Release: 0
%define cpan_name Expect %define cpan_name Expect
Summary: Automate Interactions with Command Line Programs That Expose a Text Term[cut] Name: perl-Expect
License: Artistic-1.0 or GPL-1.0+ Version: 1.380.0
Group: Development/Libraries/Perl Release: 0
Url: http://search.cpan.org/dist/Expect/ # 1.38 -> normalize -> 1.380.0
Source0: https://cpan.metacpan.org/authors/id/J/JA/JACOBY/%{cpan_name}-%{version}.tar.gz %define cpan_version 1.38
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Automate interactions with command line programs that expose a text term[cut]
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/J/JA/JACOBY/%{cpan_name}-%{cpan_version}.tar.gz
Source1: cpanspec.yml Source1: cpanspec.yml
Patch0: Expect.diff Patch0: Expect.diff
BuildArch: noarch BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl BuildRequires: perl
BuildRequires: perl-macros BuildRequires: perl-macros
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.64
BuildRequires: perl(IO::Pty) >= 1.11 BuildRequires: perl(IO::Pty) >= 1.11
BuildRequires: perl(IO::Tty) >= 1.11 BuildRequires: perl(IO::Tty) >= 1.11
BuildRequires: perl(Test::More) >= 1.00 BuildRequires: perl(Test::More) >= 1.00
Requires: perl(IO::Pty) >= 1.11 Requires: perl(IO::Pty) >= 1.11
Requires: perl(IO::Tty) >= 1.11 Requires: perl(IO::Tty) >= 1.11
Provides: perl(Expect) = %{version}
%undefine __perllib_provides
%{perl_requires} %{perl_requires}
%description %description
@ -60,15 +63,16 @@ automate password entry for su/ssh/scp/rsh/..." and "I want to use Expect
to automate [anything with a buzzword]..." to automate [anything with a buzzword]..."
%prep %prep
%autosetup -p1 -n %{cpan_name}-%{version} %autosetup -n %{cpan_name}-%{cpan_version} -p1
find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod 644
%build %build
%{__perl} Makefile.PL INSTALLDIRS=vendor perl Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags} %make_build
%check %check
%{__make} test make test
%install %install
%perl_make_install %perl_make_install
@ -76,7 +80,6 @@ find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
%perl_gen_filelist %perl_gen_filelist
%files -f %{name}.files %files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes examples README.md %doc Changes examples README.md
%license LICENSE %license LICENSE