diff --git a/IO-Tty-1.12.tar.gz b/IO-Tty-1.12.tar.gz deleted file mode 100644 index 3a32388..0000000 --- a/IO-Tty-1.12.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a2ef8770d3309178203f8c8ac25e623e63cf76e97830fd3be280ade1a555290d -size 24564 diff --git a/IO-Tty-1.14.tar.gz b/IO-Tty-1.14.tar.gz new file mode 100644 index 0000000..2ba4c7f --- /dev/null +++ b/IO-Tty-1.14.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:51f3e4e311128bdb2c6a15f02c51376cb852ccf9df9bebe8dfbb5f9561eb95b5 +size 27756 diff --git a/cpanspec.yml b/cpanspec.yml new file mode 100644 index 0000000..76ad4a4 --- /dev/null +++ b/cpanspec.yml @@ -0,0 +1,28 @@ +--- +#description_paragraphs: 3 +#description: |- +# override description from CPAN +#summary: override summary from CPAN +#no_testing: broken upstream +#sources: +# - source1 +# - source2 +#patches: +# foo.patch: -p1 +# bar.patch: +#preamble: |- +# BuildRequires: gcc-c++ +#post_prep: |- +# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'` +# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL +#post_build: |- +# rm unused.files +#post_install: |- +# sed on %{name}.files +#license: SUSE-NonFree +#skip_noarch: 1 +#custom_build: |- +#./Build build flags=%{?_smp_mflags} --myflag +#custom_test: |- +#startserver && make test +#ignore_requires: Bizarre::Module diff --git a/perl-IO-Tty.changes b/perl-IO-Tty.changes index b7c56ab..aeb22e3 100644 --- a/perl-IO-Tty.changes +++ b/perl-IO-Tty.changes @@ -1,3 +1,22 @@ +------------------------------------------------------------------- +Mon Jan 20 03:10:17 UTC 2020 - + +- updated to 1.14 + see /usr/share/doc/packages/perl-IO-Tty/ChangeLog + + 2020-01-18 Todd Rinaldo 1.14 + * Add strict/warnings to Tty.pm + * Fix pod errors + * Typo: s/dependend/dependent/ + * Prevent spurious warning from get_winsize() + * Fix usage of setsid + * Github actions testing. Windows is off of course. + * Make README.md + + 2014-12-14 Todd Rinaldo 1.13_01 + * RT 91590 - Remove MAP_TARGET from Makefile.PL + * RT 88271 - Fix for Solaris setuid when root running as other user + ------------------------------------------------------------------- Mon Apr 13 18:51:40 UTC 2015 - coolo@suse.com diff --git a/perl-IO-Tty.spec b/perl-IO-Tty.spec index bb5efee..9d27d96 100644 --- a/perl-IO-Tty.spec +++ b/perl-IO-Tty.spec @@ -1,7 +1,7 @@ # # spec file for package perl-IO-Tty # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 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 @@ -12,19 +12,20 @@ # 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-IO-Tty -Version: 1.12 +Version: 1.14 Release: 0 %define cpan_name IO-Tty -Summary: Low-level allocate a pseudo-Tty, import constants. -License: Artistic-1.0 or GPL-1.0+ +Summary: Low-level allocate a pseudo-Tty, import constants +License: Artistic-1.0 OR GPL-1.0-or-later Group: Development/Libraries/Perl -Url: http://search.cpan.org/dist/IO-Tty/ -Source: http://www.cpan.org/authors/id/T/TO/TODDR/%{cpan_name}-%{version}.tar.gz +Url: https://metacpan.org/release/%{cpan_name} +Source0: https://cpan.metacpan.org/authors/id/T/TO/TODDR/%{cpan_name}-%{version}.tar.gz +Source1: cpanspec.yml BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros @@ -33,16 +34,16 @@ BuildRequires: perl-macros %description 'IO::Tty' is used internally by 'IO::Pty' to create a pseudo-tty. You wouldn't want to use it directly except to import constants, use 'IO::Pty'. -For a list of importable constants, see the IO::Tty::Constant manpage. +For a list of importable constants, see IO::Tty::Constant. -Windows is now supported, but ONLY under the Cygwin environment, see the -http://sources.redhat.com/cygwin/ manpage. +Windows is now supported, but ONLY under the Cygwin environment, see +http://sources.redhat.com/cygwin/. Please note that pty creation is very system-dependend. From my experience, any modern POSIX system should be fine. Find below a list of systems that 'IO::Tty' should work on. A more detailed table (which is slowly getting out-of-date) is available from the project pages document manager at -SourceForge the http://sourceforge.net/projects/expectperl/ manpage. +SourceForge http://sourceforge.net/projects/expectperl/. If you have problems on your system and your system is listed in the "verified" list, you probably have some non-standard setup, e.g. you @@ -62,13 +63,14 @@ Thanks! %prep %setup -q -n %{cpan_name}-%{version} +find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644 %build -%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" -%{__make} %{?_smp_mflags} +perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" +make %{?_smp_mflags} %check -%{__make} test +make test %install %perl_make_install @@ -77,6 +79,6 @@ Thanks! %files -f %{name}.files %defattr(-,root,root,755) -%doc ChangeLog README try +%doc ChangeLog README.md try %changelog