Name: perl-Hardware-Verilog-Parser Version: 0.13 Release: 44%{?dist} Summary: Complete grammar for parsing Verilog code using perl License: GPL-1.0-or-later OR Artistic-1.0-Perl URL: https://metacpan.org/release/Hardware-Verilog-Parser Source0: https://cpan.metacpan.org/authors/id/G/GS/GSLONDON/Hardware-Verilog-Parser-%{version}.tar.gz Patch0: Hardware-Verilog-Parser-0.13-grammar.patch Patch1: Hardware-Verilog-Parser-0.13-rt51080.patch Patch2: Hardware-Verilog-Parser-0.13-Fix-building-on-Perl-without-dot-in-INC.patch BuildArch: noarch BuildRequires: findutils BuildRequires: make BuildRequires: perl-interpreter BuildRequires: perl-generators BuildRequires: perl(Benchmark) BuildRequires: perl(Data::Dumper) BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Parse::RecDescent) BuildRequires: perl(strict) BuildRequires: perl(vars) # Filter bogus requires/provides of PrecompiledParser %global __provides_exclude ^perl\\((Parse::RecDescent::)?PrecompiledParser\\) %global __requires_exclude ^perl\\(PrecompiledParser\\) %description This module defines the complete grammar needed to parse any Verilog code. By overloading this grammar, it is possible to easily create perl scripts which run through Verilog code and perform specific functions. %prep %setup -q -n Hardware-Verilog-Parser-%{version} # Fix shellbangs find . -type f | xargs perl -pi -e 's|#! /bin/perl|#! /usr/bin/perl|' # Fix FTBFS due to typos in grammar (#839599) %patch0 # Fix "Use of uninitialized value in array dereference" (CPAN RT#51080) %patch1 #Fix building on Perl without '.' in @INC %patch2 -p1 %build ./generate_precompiled_parser.pl perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make pure_install DESTDIR=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; %{_fixperms} $RPM_BUILD_ROOT %check # CPAN RT#51080 perl -Iblib/lib ./parser.pl ./test1.v make test %files %doc Changes readme.txt test1.v %{perl_vendorlib}/Hardware/Verilog/ %{_mandir}/man3/Hardware::Verilog::Parser.3pm* %changelog * Thu Jan 25 2024 Fedora Release Engineering - 0.13-44 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 0.13-43 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Thu Jul 20 2023 Fedora Release Engineering - 0.13-42 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Fri Jan 20 2023 Fedora Release Engineering - 0.13-41 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 0.13-40 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Tue May 31 2022 Jitka Plesnikova - 0.13-39 - Perl 5.36 rebuild * Fri Jan 21 2022 Fedora Release Engineering - 0.13-38 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 0.13-37 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri May 21 2021 Jitka Plesnikova - 0.13-36 - Perl 5.34 rebuild * Wed Jan 27 2021 Fedora Release Engineering - 0.13-35 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 0.13-34 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jun 23 2020 Jitka Plesnikova - 0.13-33 - Perl 5.32 rebuild * Thu Jan 30 2020 Fedora Release Engineering - 0.13-32 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jul 26 2019 Fedora Release Engineering - 0.13-31 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri May 31 2019 Jitka Plesnikova - 0.13-30 - Perl 5.30 rebuild * Fri Feb 01 2019 Fedora Release Engineering - 0.13-29 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 0.13-28 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Thu Jun 28 2018 Jitka Plesnikova - 0.13-27 - Perl 5.28 rebuild * Thu Feb 08 2018 Fedora Release Engineering - 0.13-26 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 0.13-25 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sun Jun 04 2017 Jitka Plesnikova - 0.13-24 - Perl 5.26 rebuild * Wed May 17 2017 Jitka Plesnikova - 0.13-23 - Fix building on Perl without '.' in @INC * Sat Feb 11 2017 Fedora Release Engineering - 0.13-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Sun May 15 2016 Jitka Plesnikova - 0.13-21 - Perl 5.24 rebuild * Thu Feb 04 2016 Fedora Release Engineering - 0.13-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jun 18 2015 Fedora Release Engineering - 0.13-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Fri Jun 05 2015 Jitka Plesnikova - 0.13-18 - Perl 5.22 rebuild * Thu Aug 28 2014 Jitka Plesnikova - 0.13-17 - Perl 5.20 rebuild * Sat Jun 07 2014 Fedora Release Engineering - 0.13-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Aug 03 2013 Fedora Release Engineering - 0.13-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Mon Jul 22 2013 Petr Pisar - 0.13-14 - Perl 5.18 rebuild * Thu Feb 14 2013 Fedora Release Engineering - 0.13-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Mon Nov 5 2012 Paul Howarth - 0.13-12 - Fix FTBFS due to typos in grammar (#839599) - Fix "Use of uninitialized value in array dereference" (CPAN RT#51080) - Filter bogus requires/provides of PrecompiledParser - BR: perl(Data::Dumper) - Use DESTDIR rather than PERL_INSTALL_ROOT - Don't need to remove empty directories from the buildroot - Make %%files list more explicit - Drop %%defattr, redundant since rpm 4.4 - Don't use macros for commands * Fri Jul 20 2012 Fedora Release Engineering - 0.13-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Sat Jun 16 2012 Petr Pisar - 0.13-10 - Perl 5.16 rebuild * Fri Jan 13 2012 Fedora Release Engineering - 0.13-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Sun Jun 19 2011 Marcela Mašláňová - 0.13-8 - Perl mass rebuild * Tue Feb 08 2011 Fedora Release Engineering - 0.13-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Fri Dec 17 2010 Marcela Maslanova - 0.13-6 - Rebuild to fix problems with vendorarch/lib (#661697) * Sun May 02 2010 Marcela Maslanova - 0.13-5 - Mass rebuild with perl-5.12.0 * Mon Dec 7 2009 Stepan Kasal - 0.13-4 - Rebuild against perl 5.10.1 * Sat Jul 25 2009 Fedora Release Engineering - 0.13-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Thu Feb 26 2009 Fedora Release Engineering - 0.13-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Sun Dec 14 2008 Chitlesh GOORAH 0.13-1 - Specfile autogenerated by cpanspec 1.77