Update to 0.1.15
This commit is contained in:
parent
591a5f729d
commit
6f45b54ec3
12
gcc10.patch
12
gcc10.patch
@ -1,12 +0,0 @@
|
||||
diff -Nrup a/libcomps/src/comps_objmradix.c b/libcomps/src/comps_objmradix.c
|
||||
--- a/libcomps/src/comps_objmradix.c 2019-11-25 04:21:01.000000000 -0700
|
||||
+++ b/libcomps/src/comps_objmradix.c 2019-12-02 11:08:54.738477530 -0700
|
||||
@@ -605,7 +605,7 @@ inline void comps_objmrtree_pair_destroy
|
||||
free(pair);
|
||||
}
|
||||
|
||||
-inline COMPS_HSList* __comps_objmrtree_all(COMPS_ObjMRTree * rt, char keyvalpair) {
|
||||
+static inline COMPS_HSList* __comps_objmrtree_all(COMPS_ObjMRTree * rt, char keyvalpair) {
|
||||
COMPS_HSList *to_process, *ret;
|
||||
COMPS_HSListItem *hsit, *oldit;
|
||||
size_t x;
|
@ -13,15 +13,13 @@
|
||||
%endif
|
||||
|
||||
Name: libcomps
|
||||
Version: 0.1.14
|
||||
Release: 4%{?dist}
|
||||
Version: 0.1.15
|
||||
Release: 1%{?dist}
|
||||
Summary: Comps XML file manipulation library
|
||||
|
||||
License: GPLv2+
|
||||
URL: https://github.com/rpm-software-management/libcomps
|
||||
Source0: %{url}/archive/%{name}-%{version}/%{name}-%{version}.tar.gz
|
||||
Patch0: gcc10.patch
|
||||
Patch1: remove-unused-global-variable-missing-extern.patch
|
||||
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: cmake
|
||||
@ -194,6 +192,10 @@ popd
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Wed Apr 01 2020 Ales Matej <amatej@redhat.com> - 0.1.15-1
|
||||
- Update to 0.1.15
|
||||
- Do not skip type=mandatory in xml output (RhBug:1771224)
|
||||
|
||||
* Fri Jan 31 2020 Ales Matej <amatej@redhat.com> - 0.1.14-4
|
||||
- Fix global header variable defined without extern for gcc-10
|
||||
|
||||
|
@ -1,30 +0,0 @@
|
||||
From 3237f44ba7e4712653b64b36cc58b74d2d56d14f Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Ale=C5=A1=20Mat=C4=9Bj?= <amatej@redhat.com>
|
||||
Date: Wed, 29 Jan 2020 09:08:34 +0100
|
||||
Subject: [PATCH] Remove unused global variable UnfoObjListIt (RhBug:1793424)
|
||||
|
||||
This global header file variable wasn't declared using extern keyword
|
||||
which was causing problems with gcc 10 (gcc 10 no longer ignores this
|
||||
error).
|
||||
|
||||
https://bugzilla.redhat.com/show_bug.cgi?id=1793424
|
||||
---
|
||||
libcomps/src/comps_objlist.h | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/libcomps/src/comps_objlist.h b/libcomps/src/comps_objlist.h
|
||||
index 0fcd48b..1d19167 100644
|
||||
--- a/libcomps/src/comps_objlist.h
|
||||
+++ b/libcomps/src/comps_objlist.h
|
||||
@@ -34,7 +34,7 @@ typedef struct COMPS_ObjListIt COMPS_ObjListIt;
|
||||
struct COMPS_ObjListIt {
|
||||
COMPS_Object *comps_obj;
|
||||
COMPS_ObjListIt *next;
|
||||
-} UnfoObjListIt;
|
||||
+};
|
||||
|
||||
|
||||
/** COMPS_Object derivate representing category element in comps.xml structure*/
|
||||
--
|
||||
2.25.0
|
||||
|
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (libcomps-0.1.14.tar.gz) = 2056a5926a0ab3ec389d1f33892ea517162f71c841476b01970b3c6f3bfdc0de0c983cecd40af5534a2dbf8ff02a8b1fa81328a108088c7966a98ee3a3cf34b3
|
||||
SHA512 (libcomps-0.1.15.tar.gz) = e546853c70bf463345803db28cb47a19671f58e45641624b9b4a25486347e7d9d57fcf6b2e7d8dc77e510aa009c7fc2d0c300d19b2eb3fe9b4b01e12e3e70404
|
||||
|
Loading…
Reference in New Issue
Block a user