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.34.tar.gz
|
||||
/JSON-XS-3.01.tar.gz
|
||||
/JSON-XS-3.02.tar.gz
|
||||
|
@ -1,19 +1,24 @@
|
||||
Name: perl-JSON-XS
|
||||
Summary: JSON serializing/deserializing, done correctly and fast
|
||||
Epoch: 1
|
||||
Version: 3.01
|
||||
Release: 7%{?dist}
|
||||
Version: 3.02
|
||||
Release: 1%{?dist}
|
||||
License: GPL+ or Artistic
|
||||
Group: Development/Libraries
|
||||
URL: http://search.cpan.org/dist/JSON-XS/
|
||||
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))
|
||||
|
||||
BuildRequires: coreutils
|
||||
BuildRequires: make
|
||||
BuildRequires: perl
|
||||
BuildRequires: sed
|
||||
BuildRequires: perl(common::sense)
|
||||
BuildRequires: perl(Canary::Stability)
|
||||
BuildRequires: perl(Data::Dumper)
|
||||
BuildRequires: perl(Encode)
|
||||
BuildRequires: perl(Exporter)
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
||||
BuildRequires: perl(Getopt::Long)
|
||||
BuildRequires: perl(Storable)
|
||||
BuildRequires: perl(Test)
|
||||
@ -37,29 +42,31 @@ perl -pi -e 's|^#!/opt/bin/perl|#!%{__perl}|' eg/*
|
||||
chmod -c -x eg/*
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" NO_PACKLIST=1
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
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}/*
|
||||
|
||||
%check
|
||||
make test
|
||||
|
||||
%files
|
||||
%doc Changes COPYING README eg/
|
||||
%doc Changes README eg/
|
||||
%license COPYING
|
||||
%{perl_vendorarch}/*
|
||||
%exclude %dir %{perl_vendorarch}/auto
|
||||
%{_bindir}/*
|
||||
%{_mandir}/man[13]/*
|
||||
|
||||
%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
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user