Compare commits
No commits in common. "c8s-stream-2.066" and "c10s" have entirely different histories.
c8s-stream
...
c10s
1
.fmf/version
Normal file
1
.fmf/version
Normal file
@ -0,0 +1 @@
|
||||
1
|
||||
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
||||
SOURCES/IO-Tty-1.12.tar.gz
|
||||
/IO-Tty-[0-9.]*.tar.gz
|
||||
|
||||
@ -1 +0,0 @@
|
||||
a8227d3648fcb41e8bb2dfbedfd5c2327d2dae58 SOURCES/IO-Tty-1.12.tar.gz
|
||||
7
gating.yaml
Normal file
7
gating.yaml
Normal file
@ -0,0 +1,7 @@
|
||||
# RHEL
|
||||
--- !Policy
|
||||
product_versions:
|
||||
- rhel-*
|
||||
decision_context: osci_compose_gate
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
||||
@ -1,23 +1,22 @@
|
||||
Name: perl-IO-Tty
|
||||
Version: 1.12
|
||||
Release: 12%{?dist}
|
||||
Version: 1.20
|
||||
Release: 7%{?dist}
|
||||
Summary: Perl interface to pseudo tty's
|
||||
License: (GPL+ or Artistic) and BSD
|
||||
Group: Development/Libraries
|
||||
URL: http://search.cpan.org/dist/IO-Tty/
|
||||
Source0: http://www.cpan.org/authors/id/T/TO/TODDR/IO-Tty-%{version}.tar.gz
|
||||
License: (GPL-1.0-or-later OR Artistic-1.0-Perl) AND BSD-2-Clause
|
||||
URL: https://metacpan.org/release/IO-Tty
|
||||
Source0: https://cpan.metacpan.org/modules/by-module/IO/IO-Tty-%{version}.tar.gz
|
||||
# Module Build
|
||||
BuildRequires: coreutils
|
||||
BuildRequires: findutils
|
||||
BuildRequires: gcc
|
||||
BuildRequires: make
|
||||
BuildRequires: perl-interpreter
|
||||
BuildRequires: perl-devel
|
||||
BuildRequires: perl-generators
|
||||
BuildRequires: perl-interpreter
|
||||
BuildRequires: perl(Config)
|
||||
BuildRequires: perl(Cwd)
|
||||
BuildRequires: perl(Exporter)
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
||||
# Module Runtime
|
||||
BuildRequires: perl(Carp)
|
||||
BuildRequires: perl(DynaLoader)
|
||||
@ -26,11 +25,11 @@ BuildRequires: perl(IO::Handle)
|
||||
BuildRequires: perl(POSIX)
|
||||
BuildRequires: perl(strict)
|
||||
BuildRequires: perl(vars)
|
||||
BuildRequires: perl(warnings)
|
||||
# Test Suite
|
||||
BuildRequires: perl(Test::More)
|
||||
BuildRequires: perl(warnings)
|
||||
# Runtime
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||
# Dependencies
|
||||
# (none)
|
||||
|
||||
# Don't "provide" private Perl libs
|
||||
%{?perl_default_filter}
|
||||
@ -38,18 +37,39 @@ Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||
%description
|
||||
IO::Tty and IO::Pty provide an interface to pseudo tty's.
|
||||
|
||||
%package tests
|
||||
Summary: Tests for %{name}
|
||||
Requires: %{name} = %{?epoch:%{epoch}:}%{version}-%{release}
|
||||
Requires: perl-Test-Harness
|
||||
|
||||
%description tests
|
||||
Tests from %{name}. Execute them
|
||||
with "%{_libexecdir}/%{name}/test".
|
||||
|
||||
%prep
|
||||
%setup -q -n IO-Tty-%{version}
|
||||
# Help generators to recognize Perl scripts
|
||||
for F in t/*.t; do
|
||||
perl -i -MConfig -ple 'print $Config{startperl} if $. == 1 && !s{\A#!.*perl\b}{$Config{startperl}}' "$F"
|
||||
chmod +x "$F"
|
||||
done
|
||||
|
||||
%build
|
||||
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
||||
make %{?_smp_mflags}
|
||||
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" NO_PACKLIST=1 NO_PERLLOCAL=1
|
||||
%{make_build}
|
||||
|
||||
%install
|
||||
make pure_install DESTDIR=%{buildroot}
|
||||
find %{buildroot} -type f -name .packlist -delete
|
||||
%{make_install}
|
||||
find %{buildroot} -type f -name '*.bs' -empty -delete
|
||||
%{_fixperms} %{buildroot}
|
||||
%{_fixperms} -c %{buildroot}
|
||||
# Install tests
|
||||
mkdir -p %{buildroot}%{_libexecdir}/%{name}
|
||||
cp -a t %{buildroot}%{_libexecdir}/%{name}
|
||||
cat > %{buildroot}%{_libexecdir}/%{name}/test << 'EOF'
|
||||
#!/bin/sh
|
||||
cd %{_libexecdir}/%{name} && exec prove -I . -j "$(getconf _NPROCESSORS_ONLN)"
|
||||
EOF
|
||||
chmod +x %{buildroot}%{_libexecdir}/%{name}/test
|
||||
|
||||
%check
|
||||
make test
|
||||
@ -62,9 +82,135 @@ make test
|
||||
%{_mandir}/man3/IO::Tty.3*
|
||||
%{_mandir}/man3/IO::Tty::Constant.3*
|
||||
|
||||
%files tests
|
||||
%{_libexecdir}/%{name}
|
||||
|
||||
%changelog
|
||||
* Fri Mar 29 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.12-12
|
||||
- Rebuild with enable hardening (bug #1636329)
|
||||
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 1.20-7
|
||||
- Bump release for October 2024 mass rebuild:
|
||||
Resolves: RHEL-64018
|
||||
|
||||
* Thu Aug 08 2024 Troy Dawson <tdawson@redhat.com> - 1.20-6
|
||||
- Bump release for Aug 2024 java mass rebuild
|
||||
|
||||
* Thu Jul 11 2024 Michal Josef Špaček <mspacek@redhat.com> - 1.20-5
|
||||
- Package tests
|
||||
|
||||
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1.20-4
|
||||
- Bump release for June 2024 mass rebuild
|
||||
|
||||
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.20-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.20-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Fri Dec 29 2023 Paul Howarth <paul@city-fan.org> - 1.20-1
|
||||
- Update to 1.20 (rhbz#2256127)
|
||||
- Remove --no-undefined from compiler test, which is not compatible with all
|
||||
platforms (GH#37)
|
||||
- Skip t/pty_get_winsize.t tests on AIX (GH#32)
|
||||
- Fix patchlevel check for util.h (GH#27)
|
||||
|
||||
* Tue Nov 28 2023 Paul Howarth <paul@city-fan.org> - 1.18-1
|
||||
- Update to 1.18 (rhbz#2251844)
|
||||
- Address Freebsd build issue: make function checks more robust within
|
||||
shared lib (GH#35)
|
||||
|
||||
* Tue Nov 28 2023 Florian Weimer <fweimer@redhat.com> - 1.17-5
|
||||
- Backport upstream patch to fix C99 compatibility issue
|
||||
|
||||
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.17-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
* Tue Jul 11 2023 Jitka Plesnikova <jplesnik@redhat.com> - 1.17-3
|
||||
- Perl 5.38 rebuild
|
||||
|
||||
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.17-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||
|
||||
* Sun Nov 13 2022 Paul Howarth <paul@city-fan.org> - 1.17-1
|
||||
- Update to 1.17 (rhbz#2142173)
|
||||
- Switch changelog entries to MetaCPAN-friendly format
|
||||
- Fix printf format conversion specifiers in croak to support size_t on all
|
||||
platforms (GH#29)
|
||||
- Tty.pm: pre-allocate buffer for ioctl but leave it length 0 (GH#11, GH#30)
|
||||
- Use $arg to match @ARGV in Makefile.PL (GH#28)
|
||||
- Use SPDX-format license tag
|
||||
|
||||
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.16-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
* Mon May 30 2022 Jitka Plesnikova <jplesnik@redhat.com> - 1.16-6
|
||||
- Perl 5.36 rebuild
|
||||
|
||||
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.16-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.16-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Fri May 21 2021 Jitka Plesnikova <jplesnik@redhat.com> - 1.16-3
|
||||
- Perl 5.34 rebuild
|
||||
|
||||
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.16-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Fri Jan 22 2021 Paul Howarth <paul@city-fan.org> - 1.16-1
|
||||
- Update to 1.16
|
||||
- Switch to GitHub for issue tracker
|
||||
- Switch to testsuite CI workflow
|
||||
- Tidy
|
||||
|
||||
* Wed Nov 4 2020 Paul Howarth <paul@city-fan.org> - 1.15-1
|
||||
- Update to 1.15
|
||||
- Skip winsize test on Solaris and QNX NTO (GH#22)
|
||||
- Make function tests more robust (GH#24)
|
||||
- Work around a header name collision on util.h; this is breaking on recent
|
||||
OSX (GH#26)
|
||||
|
||||
* Sat Aug 22 2020 Paul Howarth <paul@city-fan.org> - 1.14-5
|
||||
- Fix FTBFS due to false detection of strlcpy() and _getpty()
|
||||
https://github.com/toddr/IO-Tty/pull/24
|
||||
- Modernize spec using %%{make_build} and %%{make_install}
|
||||
|
||||
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.14-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Mon Jun 22 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1.14-3
|
||||
- Perl 5.32 rebuild
|
||||
|
||||
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.14-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Sun Jan 19 2020 Paul Howarth <paul@city-fan.org> - 1.14-1
|
||||
- Update to 1.14
|
||||
- Remove MAP_TARGET from Makefile.PL (CPAN RT#91590)
|
||||
- Fix for Solaris setuid when root running as other user (CPAN RT#88271)
|
||||
- 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
|
||||
- Use author-independent source URL
|
||||
- Fix permissions verbosely
|
||||
|
||||
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.12-16
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Thu May 30 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.12-15
|
||||
- Perl 5.30 rebuild
|
||||
|
||||
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.12-14
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.12-13
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Wed Jun 27 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.12-12
|
||||
- Perl 5.28 rebuild
|
||||
|
||||
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.12-11
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
5
plans/sanity.fmf
Normal file
5
plans/sanity.fmf
Normal file
@ -0,0 +1,5 @@
|
||||
summary: Sanity tests
|
||||
discover:
|
||||
how: fmf
|
||||
execute:
|
||||
how: tmt
|
||||
1
sources
Normal file
1
sources
Normal file
@ -0,0 +1 @@
|
||||
SHA512 (IO-Tty-1.20.tar.gz) = a411dcc3da4adf4913ceaca7d97198041c6870ac8b579a1d5c2517d984fab4cc8108962b23ee694da9e0c952f35d695e636ff35589873b95a86c2bf8c1838ee4
|
||||
12
tests/upstream-tests.fmf
Normal file
12
tests/upstream-tests.fmf
Normal file
@ -0,0 +1,12 @@
|
||||
summary: Upstream tests
|
||||
contact: Michal Josef Spacek <mspacek@redhat.com>
|
||||
component: perl-IO-Tty
|
||||
require: perl-IO-Tty-tests
|
||||
test: /usr/libexec/perl-IO-Tty/test
|
||||
enabled: true
|
||||
tag:
|
||||
- rhel-buildroot
|
||||
adjust:
|
||||
- enabled: false
|
||||
when: distro < rhel-10 or distro < centos-stream-10
|
||||
continue: false
|
||||
Loading…
Reference in New Issue
Block a user