Fix libiniconfig_devel Requires

This commit is contained in:
Jakub Hrozek 2013-04-05 18:16:26 +02:00
parent 30d86e7a84
commit 3ba04467c0
2 changed files with 7 additions and 27 deletions

View File

@ -1,25 +0,0 @@
From 04130842ae8fb7952e5055dfe8769d6ecf47aafa Mon Sep 17 00:00:00 2001
From: Jakub Hrozek <jhrozek@redhat.com>
Date: Thu, 28 Mar 2013 15:09:29 -0400
Subject: [PATCH] Remove spurious cast
---
ini/ini_get_valueobj.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ini/ini_get_valueobj.c b/ini/ini_get_valueobj.c
index a7efe95bee97702905e2b17dbd85ad29d815a6e4..dad99329aa4b518772f23a14b919445a1dd3c00e 100644
--- a/ini/ini_get_valueobj.c
+++ b/ini/ini_get_valueobj.c
@@ -224,7 +224,7 @@ int ini_get_config_valueobj(const char *section,
return EOK;
}
- if ((hash == (unsigned long int)col_get_item_hash(item)) &&
+ if ((hash == col_get_item_hash(item)) &&
(strncasecmp(col_get_item_property(item, &len), name, name_len) == 0) &&
(len == name_len)) {
TRACE_INFO_STRING("Item is found", name);
--
1.8.0

View File

@ -1,6 +1,6 @@
Name: ding-libs
Version: 0.3.0.1
Release: 15%{?dist}
Release: 16%{?dist}
Summary: "Ding is not GLib" assorted utility libraries
Group: Development/Libraries
License: LGPLv3+
@ -286,6 +286,8 @@ Group: Development/Libraries
License: LGPLv3+
Requires: libini_config = %{ini_config_version}-%{release}
Requires: libcollection-devel = %{collection_version}-%{release}
Requires: libref_array-devel = %{ref_array_version}-%{release}
Requires: libbasicobjects-devel = %{basicobjects_version}-%{release}
Version: %{ini_config_version}
%description -n libini_config-devel
@ -352,7 +354,10 @@ rm -f */doc/html/installdox
rm -rf $RPM_BUILD_ROOT
%changelog
* Thu Apr 04 2013 Jakub Hrozek <jhrozek@redhat.com> - 0.3.0.1-13
* Fri Apr 05 2013 Jakub Hrozek <jhrozek@redhat.com> - 0.3.0.1-16
- Fix libiniconfig_devel Requires
* Thu Apr 04 2013 Jakub Hrozek <jhrozek@redhat.com> - 0.3.0.1-15
- Increase the release number to -13 to allow clean upgrade path from
0.2 since some of the components kept their version the same in 0.3