Compare commits
No commits in common. "c8s" and "c8-stream-5.24" have entirely different histories.
c8s
...
c8-stream-
3
.gitignore
vendored
3
.gitignore
vendored
@ -1,2 +1 @@
|
|||||||
SOURCES/JSON-2.97001.tar.gz
|
SOURCES/JSON-2.90.tar.gz
|
||||||
/JSON-2.97001.tar.gz
|
|
||||||
|
1
.perl-JSON.metadata
Normal file
1
.perl-JSON.metadata
Normal file
@ -0,0 +1 @@
|
|||||||
|
8f0ffe72cbe9e6287d7ecafcf19b31cc297364c2 SOURCES/JSON-2.90.tar.gz
|
@ -1,20 +1,15 @@
|
|||||||
# Upstream has switched back to five-digit versions temporarily
|
|
||||||
%global rpm_version 2.97
|
|
||||||
%global temp_version_suffix 001
|
|
||||||
|
|
||||||
Name: perl-JSON
|
Name: perl-JSON
|
||||||
Summary: Parse and convert to JSON (JavaScript Object Notation)
|
Summary: Parse and convert to JSON (JavaScript Object Notation)
|
||||||
Version: %{rpm_version}%{?temp_version_suffix:.%{temp_version_suffix}}
|
Version: 2.90
|
||||||
Release: 2%{?dist}
|
Release: 8%{?dist}
|
||||||
License: GPL+ or Artistic
|
License: GPL+ or Artistic
|
||||||
|
|
||||||
Source0: http://search.cpan.org/CPAN/authors/id/I/IS/ISHIGAKI/JSON-%{rpm_version}%{?temp_version_suffix}.tar.gz
|
Source0: http://search.cpan.org/CPAN/authors/id/M/MA/MAKAMAKA/JSON-%{version}.tar.gz
|
||||||
URL: http://search.cpan.org/dist/JSON/
|
URL: http://search.cpan.org/dist/JSON/
|
||||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
BuildRequires: perl-generators
|
BuildRequires: perl-generators
|
||||||
BuildRequires: perl-interpreter
|
|
||||||
BuildRequires: perl(base)
|
BuildRequires: perl(base)
|
||||||
BuildRequires: perl(Carp)
|
BuildRequires: perl(Carp)
|
||||||
BuildRequires: perl(constant)
|
BuildRequires: perl(constant)
|
||||||
@ -32,9 +27,12 @@ BuildRequires: perl(Test::Pod)
|
|||||||
BuildRequires: perl(Tie::IxHash)
|
BuildRequires: perl(Tie::IxHash)
|
||||||
|
|
||||||
|
|
||||||
%{?perl_default_filter}
|
%{?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}
|
||||||
%global __provides_exclude %{?__provides_exclude:%__provides_exclude|}perl\\(JSON::(Backend::PP|backportPP::Boolean|Boolean|PP|PP::IncrParser)\\)
|
%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|backportPP::Boolean)\\)
|
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}perl\\(JSON::backportPP\\)
|
||||||
|
|
||||||
%{?perl_default_subpackage_tests}
|
%{?perl_default_subpackage_tests}
|
||||||
|
|
||||||
@ -43,7 +41,7 @@ This module converts between JSON (JavaScript Object Notation) and Perl
|
|||||||
data structure into each other. For JSON, see http://www.crockford.com/JSON/.
|
data structure into each other. For JSON, see http://www.crockford.com/JSON/.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n JSON-%{rpm_version}%{?temp_version_suffix}
|
%setup -q -n JSON-%{version}
|
||||||
|
|
||||||
# make rpmlint happy...
|
# make rpmlint happy...
|
||||||
find . -type f -exec chmod -c -x {} +
|
find . -type f -exec chmod -c -x {} +
|
||||||
@ -56,8 +54,11 @@ make %{?_smp_mflags}
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
make pure_install DESTDIR=%{buildroot}
|
make pure_install DESTDIR=%{buildroot}
|
||||||
find %{buildroot} -type f -name .packlist -delete
|
|
||||||
%{_fixperms} -c %{buildroot}
|
find %{buildroot} -type f -name .packlist -exec rm -f {} +
|
||||||
|
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
|
||||||
|
|
||||||
|
%{_fixperms} %{buildroot}/*
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make test
|
make test
|
||||||
@ -68,35 +69,6 @@ make test
|
|||||||
%{_mandir}/man3/*
|
%{_mandir}/man3/*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.90-8
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||||
|
|
Loading…
Reference in New Issue
Block a user