diff --git a/Expect-1.35.tar.gz b/Expect-1.35.tar.gz deleted file mode 100644 index 6e68ef9..0000000 --- a/Expect-1.35.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:09d92761421decd495853103379165a99efbf452c720f30277602cf23679fd06 -size 61667 diff --git a/Expect-1.38.tar.gz b/Expect-1.38.tar.gz new file mode 100644 index 0000000..ad17090 --- /dev/null +++ b/Expect-1.38.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7b1048335f327958903867cea079dc072ea07f4eafae1b40c2e6f25db21686c0 +size 63389 diff --git a/perl-Expect.changes b/perl-Expect.changes index 0282b19..be77be6 100644 --- a/perl-Expect.changes +++ b/perl-Expect.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Fri Mar 22 16:10:10 UTC 2024 - Tina Müller + +- 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 diff --git a/perl-Expect.spec b/perl-Expect.spec index 9ea679e..74d524d 100644 --- a/perl-Expect.spec +++ b/perl-Expect.spec @@ -1,7 +1,7 @@ # # 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 # 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) # 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 -Summary: Automate Interactions with Command Line Programs That Expose a Text Term[cut] -License: Artistic-1.0 or GPL-1.0+ -Group: Development/Libraries/Perl -Url: http://search.cpan.org/dist/Expect/ -Source0: https://cpan.metacpan.org/authors/id/J/JA/JACOBY/%{cpan_name}-%{version}.tar.gz +Name: perl-Expect +Version: 1.380.0 +Release: 0 +# 1.38 -> normalize -> 1.380.0 +%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 Patch0: Expect.diff BuildArch: noarch -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.64 BuildRequires: perl(IO::Pty) >= 1.11 BuildRequires: perl(IO::Tty) >= 1.11 BuildRequires: perl(Test::More) >= 1.00 Requires: perl(IO::Pty) >= 1.11 Requires: perl(IO::Tty) >= 1.11 +Provides: perl(Expect) = %{version} +%undefine __perllib_provides %{perl_requires} %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]..." %prep -%autosetup -p1 -n %{cpan_name}-%{version} -find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644 +%autosetup -n %{cpan_name}-%{cpan_version} -p1 + +find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod 644 %build -%{__perl} Makefile.PL INSTALLDIRS=vendor -%{__make} %{?_smp_mflags} +perl Makefile.PL INSTALLDIRS=vendor +%make_build %check -%{__make} test +make test %install %perl_make_install @@ -76,7 +80,6 @@ find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644 %perl_gen_filelist %files -f %{name}.files -%defattr(-,root,root,755) %doc Changes examples README.md %license LICENSE