Update to 3.02
This commit is contained in:
parent
43ae693175
commit
5895a305e9
1
.gitignore
vendored
1
.gitignore
vendored
@ -4,3 +4,4 @@ JSON-XS-2.27.tar.gz
|
|||||||
/JSON-XS-2.33.tar.gz
|
/JSON-XS-2.33.tar.gz
|
||||||
/JSON-XS-2.34.tar.gz
|
/JSON-XS-2.34.tar.gz
|
||||||
/JSON-XS-3.01.tar.gz
|
/JSON-XS-3.01.tar.gz
|
||||||
|
/JSON-XS-3.02.tar.gz
|
||||||
|
@ -1,19 +1,24 @@
|
|||||||
Name: perl-JSON-XS
|
Name: perl-JSON-XS
|
||||||
Summary: JSON serializing/deserializing, done correctly and fast
|
Summary: JSON serializing/deserializing, done correctly and fast
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
Version: 3.01
|
Version: 3.02
|
||||||
Release: 7%{?dist}
|
Release: 1%{?dist}
|
||||||
License: GPL+ or Artistic
|
License: GPL+ or Artistic
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
URL: http://search.cpan.org/dist/JSON-XS/
|
URL: http://search.cpan.org/dist/JSON-XS/
|
||||||
Source0: http://www.cpan.org/authors/id/M/ML/MLEHMANN/JSON-XS-%{version}.tar.gz
|
Source0: http://www.cpan.org/authors/id/M/ML/MLEHMANN/JSON-XS-%{version}.tar.gz
|
||||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||||
|
|
||||||
|
BuildRequires: coreutils
|
||||||
|
BuildRequires: make
|
||||||
|
BuildRequires: perl
|
||||||
|
BuildRequires: sed
|
||||||
BuildRequires: perl(common::sense)
|
BuildRequires: perl(common::sense)
|
||||||
|
BuildRequires: perl(Canary::Stability)
|
||||||
BuildRequires: perl(Data::Dumper)
|
BuildRequires: perl(Data::Dumper)
|
||||||
BuildRequires: perl(Encode)
|
BuildRequires: perl(Encode)
|
||||||
BuildRequires: perl(Exporter)
|
BuildRequires: perl(Exporter)
|
||||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
||||||
BuildRequires: perl(Getopt::Long)
|
BuildRequires: perl(Getopt::Long)
|
||||||
BuildRequires: perl(Storable)
|
BuildRequires: perl(Storable)
|
||||||
BuildRequires: perl(Test)
|
BuildRequires: perl(Test)
|
||||||
@ -37,29 +42,31 @@ perl -pi -e 's|^#!/opt/bin/perl|#!%{__perl}|' eg/*
|
|||||||
chmod -c -x eg/*
|
chmod -c -x eg/*
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" NO_PACKLIST=1
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make pure_install DESTDIR=%{buildroot}
|
make pure_install DESTDIR=%{buildroot}
|
||||||
|
|
||||||
find %{buildroot} -type f -name .packlist -exec rm -f {} +
|
|
||||||
find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} +
|
|
||||||
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
|
|
||||||
|
|
||||||
%{_fixperms} %{buildroot}/*
|
%{_fixperms} %{buildroot}/*
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make test
|
make test
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc Changes COPYING README eg/
|
%doc Changes README eg/
|
||||||
|
%license COPYING
|
||||||
%{perl_vendorarch}/*
|
%{perl_vendorarch}/*
|
||||||
%exclude %dir %{perl_vendorarch}/auto
|
%exclude %dir %{perl_vendorarch}/auto
|
||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
%{_mandir}/man[13]/*
|
%{_mandir}/man[13]/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Mar 11 2016 Emmanuel Seyman <emmanuel@seyman.fr> - 1:3.02-1
|
||||||
|
- Update to 3.02
|
||||||
|
- Add needed BuildRequires
|
||||||
|
- PAss NO_PACKLIST to Makefile.PL
|
||||||
|
- Use %%license macro
|
||||||
|
|
||||||
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.01-7
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.01-7
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user