%define upstream_name JSON-PP %define upstream_version 4.16 %{?perl_default_filter} Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 1 Summary: Dummy module providing JSON::PP::Boolean License: GPL+ or Artistic Group: Development/Perl Url: https://metacpan.org/release/%{upstream_name} Source0: https://cpan.metacpan.org/modules/by-module/JSON/%{upstream_name}-%{upstream_version}.tar.gz BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Scalar::Util) >= 1.80.0 BuildRequires: perl(Test::More) BuildArch: noarch Conflicts: perl-devel < 5.14.0-4 %description This module is the JSON::XS manpage compatible pure Perl module. JSON::XS is the fastest and most proper JSON module on CPAN. It is written in C. JSON::PP is a pure-Perl module and has compatibility to JSON::XS. %prep %setup -q -n %{upstream_name}-%{upstream_version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make_build %check %make_build test %install %make_install # bug#1756 - prevent conflict with JSON::PP shipped with perl mv %{buildroot}/%{_bindir}/json_pp %{buildroot}/%{_bindir}/json_pp-%{upstream_version} mv %{buildroot}/%{_mandir}/man1/json_pp.1 %{buildroot}/%{_mandir}/man1/json_pp-%{upstream_version}.1 %files %doc Changes META.json META.yml MYMETA.yml README %{_bindir}/* %{_mandir}/man*/* %perl_vendorlib/* %changelog * Mon Jan 02 2023 tv <tv> 4.160.0-1.mga9 + Revision: 1929017 - update to 4.16 * Thu Dec 29 2022 tv <tv> 4.150.0-1.mga9 + Revision: 1927712 - update to 4.15 * Wed Oct 12 2022 tv <tv> 4.120.0-1.mga9 + Revision: 1896434 - update to 4.12 * Mon Aug 01 2022 tv <tv> 4.110.0-1.mga9 + Revision: 1874137 - update to 4.11 * Tue Jun 28 2022 tv <tv> 4.100.0-1.mga9 + Revision: 1866505 - update to 4.10 * Thu May 26 2022 tv <tv> 4.90.0-1.mga9 + Revision: 1860245 - update to 4.09 * Tue Apr 12 2022 tv <tv> 4.80.0-1.mga9 + Revision: 1849006 - update to 4.08 * Mon Mar 21 2022 umeabot <umeabot> 4.70.0-2.mga9 + Revision: 1815861 - Mageia 9 Mass Rebuild * Tue Dec 21 2021 tv <tv> 4.70.0-1.mga9 + Revision: 1763129 - update to 4.07 * Thu Feb 25 2021 tv <tv> 4.60.0-1.mga9 + Revision: 1691348 - update to 4.06 * Fri Jul 10 2020 tv <tv> 4.50.0-1.mga8 + Revision: 1603977 - update to 4.05 * Sat Feb 15 2020 umeabot <umeabot> 4.40.0-2.mga8 + Revision: 1526775 - Mageia 8 Mass Rebuild + wally <wally> - replace deprecated %%makeinstall_std * Sat Jun 29 2019 shlomif <shlomif> 4.40.0-1.mga8 + Revision: 1415592 - update to 4.04 * Sat Feb 23 2019 tv <tv> 4.20.0-1.mga7 + Revision: 1369478 - update to 4.02 * Fri Feb 22 2019 tv <tv> 4.10.0-1.mga7 + Revision: 1369279 - update to 4.01 * Fri Dec 07 2018 tv <tv> 4.0.0-1.mga7 + Revision: 1338749 - update to 4.00 * Thu Sep 20 2018 umeabot <umeabot> 2.970.10-2.mga7 + Revision: 1284467 - Mageia 7 Mass Rebuild * Tue Dec 26 2017 shlomif <shlomif> 2.970.10-1.mga7 + Revision: 1185270 - update to 2.97001 * Sun Dec 10 2017 shlomif <shlomif> 2.970.0-1.mga7 + Revision: 1182030 - update to 2.97000 * Tue Oct 03 2017 tv <tv> 2.940.0-2.mga7 + Revision: 1165050 - rebuild with fixed rpm for missing autodeps * Tue Sep 19 2017 tv <tv> 2.940.0-1.mga7 + Revision: 1155919 - update to 2.94 * Sun Jun 19 2016 pterjan <pterjan> 2.274.0-2.mga6 + Revision: 1028860 - Rebuild for perl 5.22.2 * Fri Apr 29 2016 shlomif <shlomif> 2.274.0-1.mga6 + Revision: 1007887 - update to 2.27400 * Thu Feb 18 2016 umeabot <umeabot> 2.273.0-2.mga6 + Revision: 965732 - Mageia 6 Mass Rebuild * Sun Jun 21 2015 sander85 <sander85> 2.273.0-1.mga6 + Revision: 836962 - update to 2.27300 * Sat Oct 18 2014 umeabot <umeabot> 2.272.30-4.mga5 + Revision: 787828 - Rebuild to potentially add missing dependencies * Wed Oct 15 2014 umeabot <umeabot> 2.272.30-3.mga5 + Revision: 746983 - Second Mageia 5 Mass Rebuild * Tue Sep 16 2014 umeabot <umeabot> 2.272.30-2.mga5 + Revision: 685143 - Mageia 5 Mass Rebuild * Fri Feb 07 2014 sander85 <sander85> 2.272.30-1.mga5 + Revision: 585140 - update to 2.27203 * Sat Oct 19 2013 umeabot <umeabot> 2.272.20-2.mga4 + Revision: 526251 - Mageia 4 Mass Rebuild * Mon Jun 03 2013 jquelin <jquelin> 2.272.20-1.mga4 + Revision: 436401 - update to 2.27202 * Sun Jan 13 2013 umeabot <umeabot> 2.272.0-3.mga3 + Revision: 368770 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Fri Nov 04 2011 jquelin <jquelin> 2.272.0-2.mga2 + Revision: 162958 - owning files, not dirs - take priority over module bundled with perl 5.14.2 * Wed Jun 22 2011 jquelin <jquelin> 2.272.0-1.mga2 + Revision: 112062 - update to 2.27200 * Mon Jun 13 2011 tv <tv> 2.271.50-4.mga2 + Revision: 105813 - description != requires|author|license tags or INSTALL file * Mon Jun 13 2011 jquelin <jquelin> 2.271.50-3.mga2 + Revision: 105782 - force upgrade at the same time than perl * Sun Jun 12 2011 jquelin <jquelin> 2.271.50-2.mga2 + Revision: 104596 - bug#1756 - prevent conflict with json_pp shipped with perl * Wed Mar 09 2011 jquelin <jquelin> 2.271.50-1.mga1 + Revision: 66989 - update to 2.27105 * Sat Feb 26 2011 jquelin <jquelin> 2.271.40-1.mga1 + Revision: 60681 - update to 2.27104 * Fri Jan 21 2011 jquelin <jquelin> 2.271.30-1.mga1 + Revision: 28685 - fix %%files - mageia rebuild - imported package perl-JSON-PP