Compare commits

...

No commits in common. "c8-stream-5.24" and "c8s" have entirely different histories.

4 changed files with 46 additions and 17 deletions

3
.gitignore vendored
View File

@ -1 +1,2 @@
SOURCES/JSON-2.90.tar.gz
SOURCES/JSON-2.97001.tar.gz
/JSON-2.97001.tar.gz

View File

@ -1 +0,0 @@
8f0ffe72cbe9e6287d7ecafcf19b31cc297364c2 SOURCES/JSON-2.90.tar.gz

View File

@ -1,15 +1,20 @@
# Upstream has switched back to five-digit versions temporarily
%global rpm_version 2.97
%global temp_version_suffix 001
Name: perl-JSON
Summary: Parse and convert to JSON (JavaScript Object Notation)
Version: 2.90
Release: 8%{?dist}
Version: %{rpm_version}%{?temp_version_suffix:.%{temp_version_suffix}}
Release: 2%{?dist}
License: GPL+ or Artistic
Source0: http://search.cpan.org/CPAN/authors/id/M/MA/MAKAMAKA/JSON-%{version}.tar.gz
Source0: http://search.cpan.org/CPAN/authors/id/I/IS/ISHIGAKI/JSON-%{rpm_version}%{?temp_version_suffix}.tar.gz
URL: http://search.cpan.org/dist/JSON/
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
BuildArch: noarch
BuildRequires: perl-generators
BuildRequires: perl-interpreter
BuildRequires: perl(base)
BuildRequires: perl(Carp)
BuildRequires: perl(constant)
@ -27,12 +32,9 @@ BuildRequires: perl(Test::Pod)
BuildRequires: perl(Tie::IxHash)
%{?perl_default_filter:
%filter_from_provides /^perl(JSON::\(Backend::PP\|backportPP::Boolean\|Boolean\|PP\|PP::IncrParser\))/d
%filter_from_requires /^perl(JSON::backportPP)$/d
%perl_default_filter}
%{?perl_default_filter}
%global __provides_exclude %{?__provides_exclude:%__provides_exclude|}perl\\(JSON::(Backend::PP|backportPP::Boolean|Boolean|PP|PP::IncrParser)\\)
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}perl\\(JSON::backportPP\\)
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}perl\\(JSON::(backportPP|backportPP::Boolean)\\)
%{?perl_default_subpackage_tests}
@ -41,7 +43,7 @@ This module converts between JSON (JavaScript Object Notation) and Perl
data structure into each other. For JSON, see http://www.crockford.com/JSON/.
%prep
%setup -q -n JSON-%{version}
%setup -q -n JSON-%{rpm_version}%{?temp_version_suffix}
# make rpmlint happy...
find . -type f -exec chmod -c -x {} +
@ -54,11 +56,8 @@ make %{?_smp_mflags}
%install
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} +
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
%{_fixperms} %{buildroot}/*
find %{buildroot} -type f -name .packlist -delete
%{_fixperms} -c %{buildroot}
%check
make test
@ -69,6 +68,35 @@ make test
%{_mandir}/man3/*
%changelog
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.97.001-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Fri Dec 22 2017 Paul Howarth <paul@city-fan.org> - 2.97.001-1
- Update to 2.97001
- Updated backportPP with JSON::PP 2.97001
* Tue Nov 21 2017 Paul Howarth <paul@city-fan.org> - 2.97-1
- Update to 2.97 (upstream 2.97000 but stick to two-digit minor version
downstream in case upstream changes back before version 3.x)
* Mon Nov 20 2017 Paul Howarth <paul@city-fan.org> - 2.96-1
- Update to 2.96
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.94-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Sat Jun 10 2017 Emmanuel Seyman <emmanuel@seyman.fr> - 2.94-1
- Update to 2.94
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 2.93-3
- Perl 5.26 rebuild
* Tue May 23 2017 Petr Pisar <ppisar@redhat.com> - 2.93-2
- Filter private JSON::backportPP::Boolean
* Mon May 22 2017 Emmanuel Seyman <emmanuel@seyman.fr> - 2.93-1
- Update to 2.93
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.90-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
@ -186,7 +214,7 @@ make test
- bump
* Mon Aug 31 2009 Chris Weyl <cweyl@alumni.drew.edu> 2.15-3
- update filtering
- update filtering
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.15-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (JSON-2.97001.tar.gz) = 42fe08c1d7b8f689592a28c17dd7853a90c4236e64a9be175a635af005da48e06c436e80dac905893e2232ca8efee3832f6ad51992fd4ca851f8f0fd796860df