New upstream release 2.6.1
This commit is contained in:
parent
7c5b8240fa
commit
30a25236d7
@ -1,94 +0,0 @@
|
||||
From c16f9d4abf944b62bd8e13e6445a8d50f4e8698a Mon Sep 17 00:00:00 2001
|
||||
From: Jakub Filak <jfilak@redhat.com>
|
||||
Date: Wed, 10 Jun 2015 08:11:29 +0200
|
||||
Subject: [PATCH] testsuite: fix parse_numbers on i686
|
||||
|
||||
Signed-off-by: Jakub Filak <jfilak@redhat.com>
|
||||
---
|
||||
tests/xfuncs.at | 26 +++++++++++++-------------
|
||||
1 file changed, 13 insertions(+), 13 deletions(-)
|
||||
|
||||
diff --git a/tests/xfuncs.at b/tests/xfuncs.at
|
||||
index dbcc602..222824c 100644
|
||||
--- a/tests/xfuncs.at
|
||||
+++ b/tests/xfuncs.at
|
||||
@@ -86,23 +86,23 @@ int main(void)
|
||||
assert(try_atou("foo54321", &uint_value) != 0);
|
||||
assert(uint_value == 12345);
|
||||
|
||||
- char buf[sizeof(unsigned long) * 3 + 1];
|
||||
+ char buf[sizeof(unsigned long long) * 3 + 1];
|
||||
|
||||
- snprintf(buf, sizeof(buf), "%lu", 1LU + UINT_MAX);
|
||||
+ snprintf(buf, sizeof(buf), "%llu", 1LLU + UINT_MAX);
|
||||
assert(try_atou(buf, &uint_value) != 0 || !"Above UINT_MAX");
|
||||
assert(uint_value == 12345);
|
||||
|
||||
assert(try_atou("-1", &uint_value) != 0);
|
||||
assert(uint_value == 12345);
|
||||
|
||||
- snprintf(buf, sizeof(buf), "%lu", (long unsigned)UINT_MAX);
|
||||
+ snprintf(buf, sizeof(buf), "%llu", (unsigned long long)UINT_MAX);
|
||||
assert(try_atou(buf, &uint_value) == 0);
|
||||
assert(uint_value == UINT_MAX);
|
||||
- assert(xatou(buf) == UINT_MAX);
|
||||
+ assert(xatou(buf) == UINT_MAX);
|
||||
|
||||
assert(try_atou("0", &uint_value) == 0);
|
||||
assert(uint_value == 0);
|
||||
- assert(xatou("0") == 0);
|
||||
+ assert(xatou("0") == 0);
|
||||
}
|
||||
|
||||
{
|
||||
@@ -113,22 +113,22 @@ int main(void)
|
||||
assert(try_atoi("foo54321", &int_value) != 0);
|
||||
assert(int_value == 12345);
|
||||
|
||||
- char buf[sizeof(long) * 3 + 1];
|
||||
+ char buf[sizeof(long long) * 3 + 1];
|
||||
|
||||
- snprintf(buf, sizeof(buf), "%ld", 1L + INT_MAX);
|
||||
+ snprintf(buf, sizeof(buf), "%lld", 1LL + INT_MAX);
|
||||
assert(try_atoi(buf, &int_value) != 0 || !"Parse INT_MAX+1");
|
||||
assert(int_value == 12345 || !"Above INT_MAX");
|
||||
|
||||
- snprintf(buf, sizeof(buf), "%ld", -1L + INT_MIN);
|
||||
+ snprintf(buf, sizeof(buf), "%lld", -1LL + INT_MIN);
|
||||
assert(try_atoi(buf, &int_value) != 0 || !"Parse INT_MIN-1");
|
||||
assert(int_value == 12345 || !"Belove INT_MIN");
|
||||
|
||||
- snprintf(buf, sizeof(buf), "%ld", (long unsigned)INT_MAX);
|
||||
+ snprintf(buf, sizeof(buf), "%lld", (unsigned long long)INT_MAX);
|
||||
assert(try_atoi(buf, &int_value) == 0 || !"Parse INT_MAX");
|
||||
assert(int_value == INT_MAX);
|
||||
assert(xatoi(buf) == INT_MAX);
|
||||
|
||||
- snprintf(buf, sizeof(buf), "%ld", (long unsigned)INT_MIN);
|
||||
+ snprintf(buf, sizeof(buf), "%lld", (unsigned long long)INT_MIN);
|
||||
assert(try_atoi(buf, &int_value) == 0 || !"Parse INT_MIN");
|
||||
assert(int_value == INT_MIN);
|
||||
assert(xatoi(buf) == INT_MIN);
|
||||
@@ -142,16 +142,16 @@ int main(void)
|
||||
assert(try_atoi_positive("foo54321", &positive_value) != 0);
|
||||
assert(positive_value == 12345);
|
||||
|
||||
- char buf[sizeof(long) * 3 + 1];
|
||||
+ char buf[sizeof(long long) * 3 + 1];
|
||||
|
||||
- snprintf(buf, sizeof(buf), "%ld", 1L + INT_MAX);
|
||||
+ snprintf(buf, sizeof(buf), "%lld", 1LL + INT_MAX);
|
||||
assert(try_atoi_positive(buf, &positive_value) != 0);
|
||||
assert(positive_value == 12345 || !"Above INT_MAX");
|
||||
|
||||
assert(try_atoi_positive("-1", &positive_value) != 0);
|
||||
assert(positive_value == 12345 || !"After -1");
|
||||
|
||||
- snprintf(buf, sizeof(buf), "%ld", (long unsigned)INT_MAX);
|
||||
+ snprintf(buf, sizeof(buf), "%lld", (unsigned long long)INT_MAX);
|
||||
assert(try_atoi_positive(buf, &positive_value) == 0 || !"Parse INT_MAX");
|
||||
assert(positive_value == INT_MAX);
|
||||
assert(xatoi_positive(buf) == INT_MAX);
|
||||
--
|
||||
2.4.1
|
||||
|
@ -2,21 +2,20 @@
|
||||
# platform-dependent
|
||||
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
||||
|
||||
%define satyr_ver 0.18
|
||||
%define satyr_ver 0.19
|
||||
|
||||
Summary: Generic library for reporting various problems
|
||||
Name: libreport
|
||||
Version: 2.6.0
|
||||
Release: 3%{?dist}
|
||||
Version: 2.6.1
|
||||
Release: 1%{?dist}
|
||||
License: GPLv2+
|
||||
Group: System Environment/Libraries
|
||||
URL: https://github.com/abrt/abrt/wiki/ABRT-Project
|
||||
URL: https://abrt.readthedocs.org/
|
||||
Source: https://fedorahosted.org/released/abrt/%{name}-%{version}.tar.gz
|
||||
Source1: autogen.sh
|
||||
|
||||
# git format-patch %%{Version} -N -M --topo-order
|
||||
# i=0; for p in `ls 0*.patch`; do printf "Patch%04d: %s\n" $i $p; ((i++)); done
|
||||
Patch0001: 0001-testsuite-fix-parse_numbers-on-i686.patch
|
||||
|
||||
# git is need for '%%autosetup -S git' which automatically applies all the
|
||||
# patches above. Please, be aware that the patches must be generated
|
||||
@ -733,6 +732,15 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Jul 03 2015 Matej Habrnal <mhabrnal@redhat.com> 2.6.1-1
|
||||
- add functionality to use consumer certificate
|
||||
- improve client.h documentation
|
||||
- support new dump dir element 'tid'
|
||||
- reportclient: minor python style fixes
|
||||
- fix dnf logging
|
||||
- don't log attempts to load non-existent files
|
||||
- fix in dialog ask_yes_no_save_result
|
||||
|
||||
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6.0-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user