Skip to content

Commit

Permalink
[update to 0.016] the Int check to think the non-integer was an integer.
Browse files Browse the repository at this point in the history
0.016	2019-09-05

 [ Bug Fixes ]
 - Fix Int check on large unsigned integers.
   Graham Knop++
   <tobyink/p5-type-tiny-xs#9>

0.015	2019-09-03

 [ Bug Fixes ]
 - Casting a non-integer number to an integer elsewhere mistakenly caused
   the Int check to think the non-integer was an integer.
   Curtis "Ovid" Poe++
   <tobyink/p5-type-tiny-xs#8>
  • Loading branch information
fenrus75 committed Oct 13, 2019
1 parent 4c81501 commit bff32ff
Show file tree
Hide file tree
Showing 9 changed files with 46 additions and 29 deletions.
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
.*~
*~
*.info
*.mod
*.swp
.repo-index
*.log
Expand All @@ -8,6 +10,10 @@ build.log.round*
*.tgz
!*.tar.*.*
*.zip
*.jar
*.pom
*.xml
commitmsg
results/
rpms/
for-review.txt
15 changes: 15 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,21 @@ Home page: <https://metacpan.org/release/Type-Tiny-XS>
Bug tracker: <http://rt.cpan.org/Dist/Display.html?Queue=Type-Tiny-XS>
Maintainer: Toby Inkster (TOBYINK) <tobyink@cpan.org>

0.016 2019-09-05

[ Bug Fixes ]
- Fix Int check on large unsigned integers.
Graham Knop++
<https://github.com/tobyink/p5-type-tiny-xs/pull/9>

0.015 2019-09-03

[ Bug Fixes ]
- Casting a non-integer number to an integer elsewhere mistakenly caused
the Int check to think the non-integer was an integer.
Curtis "Ovid" Poe++
<https://github.com/tobyink/p5-type-tiny-xs/issues/8>

0.014 2018-05-20

[ Bug Fixes ]
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PKG_NAME := perl-Type-Tiny-XS
URL = https://cpan.metacpan.org/authors/id/T/TO/TOBYINK/Type-Tiny-XS-0.014.tar.gz
ARCHIVES = http://http.debian.net/debian/pool/main/libt/libtype-tiny-xs-perl/libtype-tiny-xs-perl_0.012-2.debian.tar.xz deblicense/
URL = https://cpan.metacpan.org/authors/id/T/TO/TOBYINK/Type-Tiny-XS-0.016.tar.gz
ARCHIVES =

include ../common/Makefile.common
9 changes: 6 additions & 3 deletions options.conf
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
[package]
name = perl-Type-Tiny-XS
url = https://cpan.metacpan.org/authors/id/T/TO/TOBYINK/Type-Tiny-XS-0.014.tar.gz
archives = http://http.debian.net/debian/pool/main/libt/libtype-tiny-xs-perl/libtype-tiny-xs-perl_0.012-2.debian.tar.xz deblicense/
url = https://cpan.metacpan.org/authors/id/T/TO/TOBYINK/Type-Tiny-XS-0.016.tar.gz
archives =
giturl =
domain =

[autospec]
# build 32 bit libraries
Expand All @@ -17,7 +18,7 @@ autoupdate = true
broken_c++ = false
# disable parallelization during build
broken_parallel_build = false
# this package is a library compatability package and only ships versioned library files
# this package is a library compatibility package and only ships versioned library files
compat = false
# set conservative build flags
conservative_flags = false
Expand All @@ -33,6 +34,8 @@ insecure_build = false
keepstatic = false
# do not require autostart subpackage
no_autostart = false
# do not generate debuginfo for this package
nodebug = false
# disable stripping binaries
nostrip = false
# optimize build for size over speed
Expand Down
31 changes: 12 additions & 19 deletions perl-Type-Tiny-XS.spec
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,11 @@
# Generated by: autospec.py
#
Name : perl-Type-Tiny-XS
Version : 0.014
Release : 10
URL : https://cpan.metacpan.org/authors/id/T/TO/TOBYINK/Type-Tiny-XS-0.014.tar.gz
Source0 : https://cpan.metacpan.org/authors/id/T/TO/TOBYINK/Type-Tiny-XS-0.014.tar.gz
Source1 : http://http.debian.net/debian/pool/main/libt/libtype-tiny-xs-perl/libtype-tiny-xs-perl_0.012-2.debian.tar.xz
Summary : "provides an XS boost for some of Type::Tiny's built-in type constraints"
Version : 0.016
Release : 11
URL : https://cpan.metacpan.org/authors/id/T/TO/TOBYINK/Type-Tiny-XS-0.016.tar.gz
Source0 : https://cpan.metacpan.org/authors/id/T/TO/TOBYINK/Type-Tiny-XS-0.016.tar.gz
Summary : provides an XS boost for some of Type::Tiny's built-in type constraints
Group : Development/Tools
License : Artistic-1.0 Artistic-1.0-Perl GPL-1.0
Requires: perl-Type-Tiny-XS-lib = %{version}-%{release}
Expand All @@ -25,6 +24,8 @@ Summary: dev components for the perl-Type-Tiny-XS package.
Group: Development
Requires: perl-Type-Tiny-XS-lib = %{version}-%{release}
Provides: perl-Type-Tiny-XS-devel = %{version}-%{release}
Requires: perl-Type-Tiny-XS = %{version}-%{release}
Requires: perl-Type-Tiny-XS = %{version}-%{release}

%description dev
dev components for the perl-Type-Tiny-XS package.
Expand All @@ -48,17 +49,13 @@ license components for the perl-Type-Tiny-XS package.


%prep
%setup -q -n Type-Tiny-XS-0.014
cd ..
%setup -q -T -D -n Type-Tiny-XS-0.014 -b 1
mkdir -p deblicense/
mv %{_topdir}/BUILD/debian/* %{_topdir}/BUILD/Type-Tiny-XS-0.014/deblicense/
%setup -q -n Type-Tiny-XS-0.016

%build
export http_proxy=http://127.0.0.1:9/
export https_proxy=http://127.0.0.1:9/
export no_proxy=localhost,127.0.0.1,0.0.0.0
export LANG=C
export LANG=C.UTF-8
if test -f Makefile.PL; then
%{__perl} Makefile.PL
make %{?_smp_mflags}
Expand All @@ -68,7 +65,7 @@ else
fi

%check
export LANG=C
export LANG=C.UTF-8
export http_proxy=http://127.0.0.1:9/
export https_proxy=http://127.0.0.1:9/
export no_proxy=localhost,127.0.0.1,0.0.0.0
Expand All @@ -77,9 +74,7 @@ make TEST_VERBOSE=1 test
%install
rm -rf %{buildroot}
mkdir -p %{buildroot}/usr/share/package-licenses/perl-Type-Tiny-XS
cp COPYRIGHT %{buildroot}/usr/share/package-licenses/perl-Type-Tiny-XS/COPYRIGHT
cp LICENSE %{buildroot}/usr/share/package-licenses/perl-Type-Tiny-XS/LICENSE
cp deblicense/copyright %{buildroot}/usr/share/package-licenses/perl-Type-Tiny-XS/deblicense_copyright
cp %{_builddir}/Type-Tiny-XS-0.016/LICENSE %{buildroot}/usr/share/package-licenses/perl-Type-Tiny-XS/529a6c89bb1ec1ab70f21730c345dcbda3871ed8
if test -f Makefile.PL; then
make pure_install PERL_INSTALL_ROOT=%{buildroot} INSTALLDIRS=vendor
else
Expand All @@ -106,6 +101,4 @@ find %{buildroot} -type f -name '*.bs' -empty -exec rm -f {} ';'

%files license
%defattr(0644,root,root,0755)
/usr/share/package-licenses/perl-Type-Tiny-XS/COPYRIGHT
/usr/share/package-licenses/perl-Type-Tiny-XS/LICENSE
/usr/share/package-licenses/perl-Type-Tiny-XS/deblicense_copyright
/usr/share/package-licenses/perl-Type-Tiny-XS/529a6c89bb1ec1ab70f21730c345dcbda3871ed8
2 changes: 1 addition & 1 deletion release
Original file line number Diff line number Diff line change
@@ -1 +1 @@
10
11
4 changes: 2 additions & 2 deletions testresults
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Total : 116
Pass : 116
Total : 121
Pass : 121
Fail : 0
Skip : 0
XFail : 0
3 changes: 1 addition & 2 deletions upstream
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
b357f8a85682b131ec29ae417294799fd890abf5/Type-Tiny-XS-0.014.tar.gz
3a8c59e175d9a999e67e164c9aea5936ed92ee4b/libtype-tiny-xs-perl_0.012-2.debian.tar.xz
63f8c69e0c0a13b8ff5101a8359eb4260fe8adda/Type-Tiny-XS-0.016.tar.gz
1 change: 1 addition & 0 deletions versions
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0.016

0 comments on commit bff32ff

Please sign in to comment.