[packages/perl-IO-Tty] - updated to 1.31
qboosh
qboosh at pld-linux.org
Tue Jun 16 19:59:30 CEST 2026
commit cc4fe284cbb3fd9fde360ee462f5fa868da56214
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Tue Jun 16 19:59:52 2026 +0200
- updated to 1.31
perl-IO-Tty.spec | 20 ++++++++++++--------
1 file changed, 12 insertions(+), 8 deletions(-)
---
diff --git a/perl-IO-Tty.spec b/perl-IO-Tty.spec
index dfdd068..8159c8b 100644
--- a/perl-IO-Tty.spec
+++ b/perl-IO-Tty.spec
@@ -7,18 +7,19 @@
Summary: IO::Tty and IO::Pty - interface to pseudo-ttys
Summary(pl.UTF-8): IO::Tty i IO::Pty - interfejs do pseudo-tty
Name: perl-IO-Tty
-Version: 1.20
-Release: 3
+Version: 1.31
+Release: 1
# same as perl
License: GPL v1+ or Artistic
Group: Development/Languages/Perl
-Source0: https://www.cpan.org/modules/by-module/IO/%{pdir}-%{pnam}-%{version}.tar.gz
-# Source0-md5: b46e30de0e2b8fd4d17fb32002a2d03c
+Source0: https://www.cpan.org/modules/by-module/IO/TODDR/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: dd4b5d4a82767cbf8f61b85c704c4f30
URL: https://metacpan.org/dist/IO-Tty
+BuildRequires: perl-ExtUtils-MakeMaker
%if %{with tests}
BuildRequires: perl-Test-Simple
%endif
-BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: perl-devel >= 1:5.8.8
BuildRequires: rpm-perlprov >= 4.1-13
BuildRequires: rpmbuild(macros) >= 1.745
Requires: perl-dirs >= 1.0-6
@@ -42,11 +43,14 @@ pseudoterminala.
%build
%{__perl} Makefile.PL \
INSTALLDIRS=vendor
+
%{__make} \
CC="%{__cc}" \
OPTIMIZE="%{rpmcflags}"
-%{?with_tests:%{__make} test}
+%if %{with tests}
+%{__make} test
+%endif
%install
rm -rf $RPM_BUILD_ROOT
@@ -59,11 +63,11 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc ChangeLog README
+%doc ChangeLog LICENSE SECURITY.md
%{perl_vendorarch}/IO/Pty.pm
%{perl_vendorarch}/IO/Tty.pm
%{perl_vendorarch}/IO/Tty
%dir %{perl_vendorarch}/auto/IO/Tty
-%attr(755,root,root) %{perl_vendorarch}/auto/IO/Tty/Tty.so
+%{perl_vendorarch}/auto/IO/Tty/Tty.so
%{_mandir}/man3/IO::Pty.3pm*
%{_mandir}/man3/IO::Tty*.3pm*
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/perl-IO-Tty.git/commitdiff/cc4fe284cbb3fd9fde360ee462f5fa868da56214
More information about the pld-cvs-commit
mailing list