Compare commits
No commits in common. "c8s" and "c9-beta" have entirely different histories.
@ -1 +0,0 @@
|
|||||||
1
|
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1 @@
|
|||||||
SOURCES/Parse-Yapp-1.21.tar.gz
|
SOURCES/Parse-Yapp-1.21.tar.gz
|
||||||
/Parse-Yapp-1.21.tar.gz
|
|
||||||
|
1
.perl-Parse-Yapp.metadata
Normal file
1
.perl-Parse-Yapp.metadata
Normal file
@ -0,0 +1 @@
|
|||||||
|
dad25e0e73a4873ef021308b23d51bb2ccdc7ce4 SOURCES/Parse-Yapp-1.21.tar.gz
|
@ -3,24 +3,22 @@
|
|||||||
Name: perl-Parse-Yapp
|
Name: perl-Parse-Yapp
|
||||||
# Keep 2-digit version for history
|
# Keep 2-digit version for history
|
||||||
Version: %{cpan_version}
|
Version: %{cpan_version}
|
||||||
Release: 3%{?dist}
|
Release: 12%{?dist}
|
||||||
Summary: Perl extension for generating and using LALR parsers
|
Summary: Perl extension for generating and using LALR parsers
|
||||||
Group: Development/Libraries
|
|
||||||
License: GPL+ or Artistic
|
License: GPL+ or Artistic
|
||||||
URL: http://search.cpan.org/dist/Parse-Yapp/
|
URL: https://metacpan.org/release/Parse-Yapp
|
||||||
Source0: http://www.cpan.org/authors/id/W/WB/WBRASWELL/Parse-Yapp-%{cpan_version}.tar.gz
|
Source0: https://cpan.metacpan.org/authors/id/W/WB/WBRASWELL/Parse-Yapp-%{cpan_version}.tar.gz
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: coreutils
|
BuildRequires: coreutils
|
||||||
BuildRequires: make
|
BuildRequires: make
|
||||||
BuildRequires: perl-generators
|
BuildRequires: perl-generators
|
||||||
BuildRequires: perl-interpreter
|
BuildRequires: perl-interpreter
|
||||||
BuildRequires: perl(Config)
|
|
||||||
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
||||||
# Run-time:
|
# Run-time:
|
||||||
BuildRequires: perl(Carp)
|
BuildRequires: perl(Carp)
|
||||||
BuildRequires: perl(strict)
|
BuildRequires: perl(strict)
|
||||||
BuildRequires: perl(vars)
|
BuildRequires: perl(vars)
|
||||||
Requires: perl-libs
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Parse::Yapp (Yet Another Perl Parser compiler) is a collection of modules that
|
Parse::Yapp (Yet Another Perl Parser compiler) is a collection of modules that
|
||||||
@ -28,41 +26,17 @@ let you generate and use yacc like thread safe (reentrant) parsers with perl
|
|||||||
object oriented interface. The script yapp is a front-end to the Parse::Yapp
|
object oriented interface. The script yapp is a front-end to the Parse::Yapp
|
||||||
module and let you easily create a Perl OO parser from an input grammar file.
|
module and let you easily create a Perl OO parser from an input grammar file.
|
||||||
|
|
||||||
%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
|
%prep
|
||||||
%setup -q -n Parse-Yapp-%{cpan_version}
|
%setup -q -n Parse-Yapp-%{cpan_version}
|
||||||
chmod 644 README lib/Parse/{*.pm,Yapp/*.pm}
|
chmod 644 README lib/Parse/{*.pm,Yapp/*.pm}
|
||||||
|
|
||||||
# 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
|
%build
|
||||||
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make pure_install DESTDIR=%{buildroot}
|
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
||||||
%{_fixperms} %{buildroot}/*
|
chmod -R u+w $RPM_BUILD_ROOT/*
|
||||||
|
|
||||||
# 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
|
%check
|
||||||
make test
|
make test
|
||||||
@ -74,13 +48,38 @@ make test
|
|||||||
%{_mandir}/man1/*.1*
|
%{_mandir}/man1/*.1*
|
||||||
%{_mandir}/man3/*.3*
|
%{_mandir}/man3/*.3*
|
||||||
|
|
||||||
%files tests
|
|
||||||
%{_libexecdir}/%{name}
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Wed Jul 19 2023 Jitka Plesnikova <jplesnik@redhat.com> - 1.21-3
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.21-12
|
||||||
- Replace versioned MODULE_COMPAT by non-versioned perl-libs
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
||||||
- Resolves: rhbz#2219504
|
Related: rhbz#1991688
|
||||||
|
|
||||||
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.21-11
|
||||||
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
||||||
|
|
||||||
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.21-10
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.21-9
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Jun 22 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1.21-8
|
||||||
|
- Perl 5.32 rebuild
|
||||||
|
|
||||||
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.21-7
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu May 30 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.21-6
|
||||||
|
- Perl 5.30 rebuild
|
||||||
|
|
||||||
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.21-5
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.21-4
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jun 27 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.21-3
|
||||||
|
- Perl 5.28 rebuild
|
||||||
|
|
||||||
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.21-2
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.21-2
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
@ -1,7 +0,0 @@
|
|||||||
--- !Policy
|
|
||||||
product_versions:
|
|
||||||
- rhel-8
|
|
||||||
decision_context: osci_compose_gate
|
|
||||||
rules:
|
|
||||||
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
|
||||||
- !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tier1.functional}
|
|
@ -1,5 +0,0 @@
|
|||||||
summary: Sanity tests
|
|
||||||
discover:
|
|
||||||
how: fmf
|
|
||||||
execute:
|
|
||||||
how: tmt
|
|
1
sources
1
sources
@ -1 +0,0 @@
|
|||||||
SHA512 (Parse-Yapp-1.21.tar.gz) = dbf6182d4813ff7e355ea1713c748bfdf8290040a93f123acec645c7a1733fe457ab6e0ab51c4ec83cf82bc43d7fb35cbf89875df7b5c2ffc9635e85458cfeee
|
|
@ -1,9 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
OUTPUT=`rpm -qR perl-Parse-Yapp`
|
|
||||||
|
|
||||||
if ! echo "$OUTPUT" | grep -q "MODULE_COMPAT_"; then
|
|
||||||
exit 0
|
|
||||||
else
|
|
||||||
exit 1
|
|
||||||
fi
|
|
@ -1,17 +0,0 @@
|
|||||||
summary: Test for BZ 2219504
|
|
||||||
component:
|
|
||||||
- perl-Parse-Yapp
|
|
||||||
require:
|
|
||||||
- bash
|
|
||||||
- perl-Parse-Yapp
|
|
||||||
test: ./bz_2219504-check.sh
|
|
||||||
enabled: false
|
|
||||||
adjust:
|
|
||||||
- when: distro == centos-stream-8 or distro == rhel-8
|
|
||||||
enabled: true
|
|
||||||
tag:
|
|
||||||
- TestCaseCopy
|
|
||||||
- Tier1
|
|
||||||
tier: '1'
|
|
||||||
extra-nitrate: TC#0615608
|
|
||||||
id: 2b1bd777-55b6-450d-ba0a-ada64b948d5a
|
|
@ -1,10 +0,0 @@
|
|||||||
summary: Upstream tests
|
|
||||||
component: perl-Parse-Yapp
|
|
||||||
require: perl-Parse-Yapp-tests
|
|
||||||
test: /usr/libexec/perl-Parse-Yapp/test
|
|
||||||
tag:
|
|
||||||
- Tier1
|
|
||||||
- rhel-buildroot
|
|
||||||
tier: '1'
|
|
||||||
extra-nitrate: TC#0615609
|
|
||||||
id: 126682dc-42cf-4b34-a226-20e29d77667c
|
|
Loading…
Reference in New Issue
Block a user