import ding-libs-0.6.1-40.el8
This commit is contained in:
commit
836c57b940
1
.ding-libs.metadata
Normal file
1
.ding-libs.metadata
Normal file
@ -0,0 +1 @@
|
||||
dab4c855b065bd728021437af81ae726c31c5272 SOURCES/ding-libs-0.6.1.tar.gz
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
SOURCES/ding-libs-0.6.1.tar.gz
|
47
SOURCES/INI-Fix-detection-of-error-messages.patch
Normal file
47
SOURCES/INI-Fix-detection-of-error-messages.patch
Normal file
@ -0,0 +1,47 @@
|
||||
From 72c19bd018b107ecf5a80963b433e9922f7243fd Mon Sep 17 00:00:00 2001
|
||||
From: Lukas Slebodnik <lslebodn@redhat.com>
|
||||
Date: Wed, 3 Jan 2018 18:03:44 +0100
|
||||
Subject: [PATCH 01/11] INI: Fix detection of error messages
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
libc on BSD returns different error messages.
|
||||
|
||||
Reviewed-by: Michal Židek <mzidek@redhat.com>
|
||||
---
|
||||
ini/ini_validators_ut_check.c | 11 +++++++++++
|
||||
1 file changed, 11 insertions(+)
|
||||
|
||||
diff --git a/ini/ini_validators_ut_check.c b/ini/ini_validators_ut_check.c
|
||||
index fa7105a..9ecde75 100644
|
||||
--- a/ini/ini_validators_ut_check.c
|
||||
+++ b/ini/ini_validators_ut_check.c
|
||||
@@ -607,6 +607,12 @@ START_TEST(test_ini_allowed_options_wrong_regex)
|
||||
"[rule/options_for_foo]: Cannot compile regular expression "
|
||||
"from option 'section_re'. "
|
||||
"Error: 'Unmatched [ or [^'");
|
||||
+ if (ret != 0) {
|
||||
+ ret = strcmp(errmsg,
|
||||
+ "[rule/options_for_foo]: Cannot compile regular expression "
|
||||
+ "from option 'section_re'. "
|
||||
+ "Error: 'brackets ([ ]) not balanced'");
|
||||
+ }
|
||||
fail_unless(ret == 0, "Got msg: [%s]", errmsg);
|
||||
ini_errobj_next(errobj);
|
||||
|
||||
@@ -1028,6 +1034,11 @@ START_TEST(test_ini_allowed_sections_wrong_regex)
|
||||
ret = strcmp(errmsg,
|
||||
"[rule/section_list]: Validator failed to use regex "
|
||||
"[^foo\\(*$]:[Unmatched ( or \\(]");
|
||||
+ if (ret !=0) {
|
||||
+ ret = strcmp(errmsg,
|
||||
+ "[rule/section_list]: Validator failed to use regex "
|
||||
+ "[^foo\\(*$]:[parentheses not balanced]");
|
||||
+ }
|
||||
fail_unless(ret == 0, "Got msg: [%s]", errmsg);
|
||||
ini_errobj_next(errobj);
|
||||
|
||||
--
|
||||
2.9.5
|
||||
|
34
SOURCES/INI-Remove-definiton-of-TRACE_LEVEL.patch
Normal file
34
SOURCES/INI-Remove-definiton-of-TRACE_LEVEL.patch
Normal file
@ -0,0 +1,34 @@
|
||||
From 8509cfaa757c0f8cc4d79357613f46d2fd9ee878 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Michal=20=C5=BDidek?= <mzidek@redhat.com>
|
||||
Date: Wed, 15 Nov 2017 18:31:47 +0100
|
||||
Subject: [PATCH] INI: Remove definiton of TRACE_LEVEL
|
||||
|
||||
Macros TRACE_LEVEL 7 and TRACE_HOME should only be defined
|
||||
in testing builds where we want debug messages to be generated.
|
||||
|
||||
The macros are leftovers from the previous patch where they
|
||||
were improperly added for debug purposes.
|
||||
|
||||
Resolves:
|
||||
https://pagure.io/SSSD/ding-libs/issue/3182
|
||||
|
||||
Reviewed-by: Robbie Harwood <rharwood@redhat.com>
|
||||
(cherry picked from commit a731d8c8c515e7e42a4fb448e0ecb6934d5bf99b)
|
||||
Signed-off-by: Robbie Harwood <rharwood@redhat.com>
|
||||
---
|
||||
ini/ini_augment.c | 2 --
|
||||
1 file changed, 2 deletions(-)
|
||||
|
||||
diff --git a/ini/ini_augment.c b/ini/ini_augment.c
|
||||
index 9d83ad9..5a5a173 100644
|
||||
--- a/ini/ini_augment.c
|
||||
+++ b/ini/ini_augment.c
|
||||
@@ -32,8 +32,6 @@
|
||||
#include <sys/types.h>
|
||||
#include <regex.h>
|
||||
#include <unistd.h>
|
||||
-#define TRACE_LEVEL 7
|
||||
-#define TRACE_HOME
|
||||
#include "trace.h"
|
||||
#include "collection.h"
|
||||
#include "collection_tools.h"
|
96
SOURCES/INI-Silence-ini_augment-match-failures.patch
Normal file
96
SOURCES/INI-Silence-ini_augment-match-failures.patch
Normal file
@ -0,0 +1,96 @@
|
||||
From 781fdebda1d9e62e224630efb8d4dd5da8fe5f69 Mon Sep 17 00:00:00 2001
|
||||
From: Alexander Scheel <alexander.m.scheel@gmail.com>
|
||||
Date: Mon, 30 Oct 2017 12:43:19 -0500
|
||||
Subject: [PATCH] INI: Silence ini_augment match failures
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Resolves:
|
||||
https://pagure.io/SSSD/ding-libs/issue/3182
|
||||
|
||||
Reviewed-by: Michal Židek <mzidek@redhat.com>
|
||||
Signed-off-by: Alexander Scheel <alexander.m.scheel@gmail.com>
|
||||
Merges: https://pagure.io/SSSD/ding-libs/pull-request/3183
|
||||
(cherry picked from commit be9ca3a2c26b061d1f22bd4a09009bba7a01f67b)
|
||||
Signed-off-by: Robbie Harwood <rharwood@redhat.com>
|
||||
---
|
||||
ini/ini.d/merge.validator | 11 -----------
|
||||
ini/ini_augment.c | 13 +++++++------
|
||||
2 files changed, 7 insertions(+), 17 deletions(-)
|
||||
|
||||
diff --git a/ini/ini.d/merge.validator b/ini/ini.d/merge.validator
|
||||
index 1defe8e..017c1cb 100644
|
||||
--- a/ini/ini.d/merge.validator
|
||||
+++ b/ini/ini.d/merge.validator
|
||||
@@ -1,17 +1,8 @@
|
||||
-File %s%s/merge.validator did not match provided patterns. Skipping.
|
||||
-File %s%s/real8.conf did not match provided patterns. Skipping.
|
||||
-File %s%s/new_line.conf did not match provided patterns. Skipping.
|
||||
-File %s%s/real32be.conf did not match provided patterns. Skipping.
|
||||
-File %s%s/real32le.conf did not match provided patterns. Skipping.
|
||||
-File %s%s/real16be.conf did not match provided patterns. Skipping.
|
||||
-File %s%s/real16le.conf did not match provided patterns. Skipping.
|
||||
-File %s%s/foo.conf.in did not match provided patterns. Skipping.
|
||||
Errors detected while parsing: %s%s/comment.conf.
|
||||
Error (9) on line 22: Invalid space character at the beginning of the line.
|
||||
Error (9) on line 24: Invalid space character at the beginning of the line.
|
||||
Error (9) on line 26: Invalid space character at the beginning of the line.
|
||||
Error (15) on line 32: Incomplete comment at the end of the file.
|
||||
-No sections found in file %s%s/comment.conf. Skipping.
|
||||
Section [section_a] found in file %s%s/first.conf is not allowed.
|
||||
Section [section_c] found in file %s%s/first.conf is not allowed.
|
||||
Section [section_b] found in file %s%s/first.conf is not allowed.
|
||||
@@ -42,7 +33,6 @@ Error (9) on line 1: Invalid space character at the beginning of the line.
|
||||
Error (9) on line 2: Invalid space character at the beginning of the line.
|
||||
Error (9) on line 3: Invalid space character at the beginning of the line.
|
||||
Error (9) on line 4: Invalid space character at the beginning of the line.
|
||||
-No sections found in file %s%s/space.conf. Skipping.
|
||||
Section [info] found in file %s%s/symbols.conf is not allowed.
|
||||
Section [languages] found in file %s%s/symbols.conf is not allowed.
|
||||
Section [text] found in file %s%s/symbols.conf is not allowed.
|
||||
@@ -55,6 +45,5 @@ Error (9) on line 15: Invalid space character at the beginning of the line.
|
||||
Error (9) on line 16: Invalid space character at the beginning of the line.
|
||||
Error (9) on line 26: Invalid space character at the beginning of the line.
|
||||
Error (9) on line 35: Invalid space character at the beginning of the line.
|
||||
-No sections found in file %s%s/test.conf. Skipping.
|
||||
%s%s/ipa.conf
|
||||
%s%s/real.conf
|
||||
diff --git a/ini/ini_augment.c b/ini/ini_augment.c
|
||||
index af5c0b6..9d83ad9 100644
|
||||
--- a/ini/ini_augment.c
|
||||
+++ b/ini/ini_augment.c
|
||||
@@ -32,6 +32,8 @@
|
||||
#include <sys/types.h>
|
||||
#include <regex.h>
|
||||
#include <unistd.h>
|
||||
+#define TRACE_LEVEL 7
|
||||
+#define TRACE_HOME
|
||||
#include "trace.h"
|
||||
#include "collection.h"
|
||||
#include "collection_tools.h"
|
||||
@@ -456,10 +458,9 @@ static int ini_aug_construct_list(char *dirname ,
|
||||
}
|
||||
}
|
||||
else {
|
||||
- ini_aug_add_string(ra_err,
|
||||
- "File %s did not match provided patterns."
|
||||
- " Skipping.",
|
||||
- fullname);
|
||||
+ TRACE_INFO_STRING("File did not match provided patterns."
|
||||
+ " Skipping:",
|
||||
+ fullname);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -609,8 +610,8 @@ static int ini_aug_match_sec(struct ini_cfgobj *snip_cfg,
|
||||
|
||||
/* Just in case check that we processed anything */
|
||||
if (section_count == 0) {
|
||||
- ini_aug_add_string(ra_err, "No sections found in file %s. Skipping.",
|
||||
- snip_name);
|
||||
+ TRACE_INFO_STRING("No sections found in file. Skipping:",
|
||||
+ snip_name);
|
||||
*skip = true;
|
||||
TRACE_FLOW_EXIT();
|
||||
return EOK;
|
@ -0,0 +1,49 @@
|
||||
From 9f9a3ded23cc2bb917468939b745cc498cec523a Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Michal=20=C5=BDidek?= <mzidek@redhat.com>
|
||||
Date: Wed, 1 Aug 2018 17:48:10 +0200
|
||||
Subject: [PATCH] validators_ut_check: Fix fail with new glibc
|
||||
|
||||
Error message was slightly change from previous version
|
||||
of glibc which caused fails in validators unit tests.
|
||||
|
||||
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
|
||||
---
|
||||
ini/ini_validators_ut_check.c | 13 +++++++++++--
|
||||
1 file changed, 11 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/ini/ini_validators_ut_check.c b/ini/ini_validators_ut_check.c
|
||||
index 9ecde75..3af8551 100644
|
||||
--- a/ini/ini_validators_ut_check.c
|
||||
+++ b/ini/ini_validators_ut_check.c
|
||||
@@ -602,6 +602,8 @@ START_TEST(test_ini_allowed_options_wrong_regex)
|
||||
fail_unless(ret == 0, "Got msg: [%s]", errmsg);
|
||||
ini_errobj_next(errobj);
|
||||
|
||||
+ /* Different versions of libc produce slightly different error strings
|
||||
+ * in this case. For simplicity compare against all of them. */
|
||||
errmsg = ini_errobj_get_msg(errobj);
|
||||
ret = strcmp(errmsg,
|
||||
"[rule/options_for_foo]: Cannot compile regular expression "
|
||||
@@ -609,10 +611,17 @@ START_TEST(test_ini_allowed_options_wrong_regex)
|
||||
"Error: 'Unmatched [ or [^'");
|
||||
if (ret != 0) {
|
||||
ret = strcmp(errmsg,
|
||||
- "[rule/options_for_foo]: Cannot compile regular expression "
|
||||
- "from option 'section_re'. "
|
||||
+ "[rule/options_for_foo]: Cannot compile regular "
|
||||
+ "expression from option 'section_re'. "
|
||||
"Error: 'brackets ([ ]) not balanced'");
|
||||
}
|
||||
+
|
||||
+ if (ret != 0) {
|
||||
+ ret = strcmp(errmsg,
|
||||
+ "[rule/options_for_foo]: Cannot compile regular "
|
||||
+ "expression from option 'section_re'. "
|
||||
+ "Error: 'Unmatched [, [^, [:, [., or [='");
|
||||
+ }
|
||||
fail_unless(ret == 0, "Got msg: [%s]", errmsg);
|
||||
ini_errobj_next(errobj);
|
||||
|
||||
--
|
||||
2.9.5
|
||||
|
515
SPECS/ding-libs.spec
Normal file
515
SPECS/ding-libs.spec
Normal file
@ -0,0 +1,515 @@
|
||||
Name: ding-libs
|
||||
Version: 0.6.1
|
||||
Release: 40%{?dist}
|
||||
Summary: "Ding is not GLib" assorted utility libraries
|
||||
Group: Development/Libraries
|
||||
License: LGPLv3+
|
||||
URL: https://pagure.io/SSSD/ding-libs
|
||||
Source0: https://releases.pagure.org/SSSD/ding-libs/%{name}-%{version}.tar.gz
|
||||
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
||||
|
||||
# If a new upstream release changes some, but not all of these
|
||||
# version numbers, remember to keep the Release tag in order to
|
||||
# allow clean upgrades!
|
||||
%global path_utils_version 0.2.1
|
||||
%global dhash_version 0.5.0
|
||||
%global collection_version 0.7.0
|
||||
%global ref_array_version 0.1.5
|
||||
%global basicobjects_version 0.1.1
|
||||
%global ini_config_version 1.3.1
|
||||
|
||||
### Patches ###
|
||||
Patch0: INI-Silence-ini_augment-match-failures.patch
|
||||
Patch1: INI-Remove-definiton-of-TRACE_LEVEL.patch
|
||||
Patch2: INI-Fix-detection-of-error-messages.patch
|
||||
Patch3: TEST-validators_ut_check-Fix-fail-with-new-glibc.patch
|
||||
|
||||
### Dependencies ###
|
||||
# ding-libs is a meta-package that will pull in all of its own
|
||||
# sub-packages
|
||||
Requires: libpath_utils = %{path_utils_version}-%{release}
|
||||
Requires: libdhash = %{dhash_version}-%{release}
|
||||
Requires: libcollection = %{collection_version}-%{release}
|
||||
Requires: libref_array = %{ref_array_version}-%{release}
|
||||
Requires: libbasicobjects = %{basicobjects_version}-%{release}
|
||||
Requires: libini_config = %{ini_config_version}-%{release}
|
||||
|
||||
### Build Dependencies ###
|
||||
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
BuildRequires: git
|
||||
BuildRequires: libtool
|
||||
BuildRequires: m4
|
||||
BuildRequires: doxygen
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: check-devel
|
||||
|
||||
%description
|
||||
A meta-package that pulls in libcollection, libdhash, libini_config,
|
||||
librefarray libbasicobjects, and libpath_utils.
|
||||
|
||||
%package devel
|
||||
Summary: Development packages for ding-libs
|
||||
Group: Development/Libraries
|
||||
License: LGPLv3+
|
||||
|
||||
# ding-libs is a meta-package that will pull in all of its own
|
||||
# sub-packages
|
||||
Requires: libpath_utils-devel = %{path_utils_version}-%{release}
|
||||
Requires: libdhash-devel = %{dhash_version}-%{release}
|
||||
Requires: libcollection-devel = %{collection_version}-%{release}
|
||||
Requires: libref_array-devel = %{ref_array_version}-%{release}
|
||||
Requires: libbasicobjects-devel = %{basicobjects_version}-%{release}
|
||||
Requires: libini_config-devel = %{ini_config_version}-%{release}
|
||||
|
||||
%description devel
|
||||
A meta-package that pulls in development libraries for libcollection,
|
||||
libdhash, libini_config, librefarray and libpath_utils.
|
||||
|
||||
##############################################################################
|
||||
# Path Utils
|
||||
##############################################################################
|
||||
|
||||
%package -n libpath_utils
|
||||
Summary: Filesystem Path Utilities
|
||||
Group: Development/Libraries
|
||||
License: LGPLv3+
|
||||
Version: %{path_utils_version}
|
||||
|
||||
%description -n libpath_utils
|
||||
Utility functions to manipulate filesystem pathnames
|
||||
|
||||
%package -n libpath_utils-devel
|
||||
Summary: Development files for libpath_utils
|
||||
Group: Development/Libraries
|
||||
Requires: libpath_utils = %{path_utils_version}-%{release}
|
||||
License: LGPLv3+
|
||||
Version: %{path_utils_version}
|
||||
|
||||
%description -n libpath_utils-devel
|
||||
Utility functions to manipulate filesystem pathnames
|
||||
|
||||
%ldconfig_scriptlets -n libpath_utils
|
||||
|
||||
%files -n libpath_utils
|
||||
%defattr(-,root,root,-)
|
||||
%doc COPYING COPYING.LESSER
|
||||
%{_libdir}/libpath_utils.so.1
|
||||
%{_libdir}/libpath_utils.so.1.0.1
|
||||
|
||||
%files -n libpath_utils-devel
|
||||
%defattr(-,root,root,-)
|
||||
%{_includedir}/path_utils.h
|
||||
%{_libdir}/libpath_utils.so
|
||||
%{_libdir}/pkgconfig/path_utils.pc
|
||||
%doc path_utils/README.path_utils
|
||||
%doc path_utils/doc/html/
|
||||
|
||||
|
||||
##############################################################################
|
||||
# dhash
|
||||
##############################################################################
|
||||
|
||||
%package -n libdhash
|
||||
Group: Development/Libraries
|
||||
Summary: Dynamic hash table
|
||||
License: LGPLv3+
|
||||
Version: %{dhash_version}
|
||||
|
||||
%description -n libdhash
|
||||
A hash table which will dynamically resize to achieve optimal storage & access
|
||||
time properties
|
||||
|
||||
%package -n libdhash-devel
|
||||
Summary: Development files for libdhash
|
||||
Group: Development/Libraries
|
||||
Requires: libdhash = %{dhash_version}-%{release}
|
||||
License: LGPLv3+
|
||||
Version: %{dhash_version}
|
||||
|
||||
%description -n libdhash-devel
|
||||
A hash table which will dynamically resize to achieve optimal storage & access
|
||||
time properties
|
||||
|
||||
%ldconfig_scriptlets -n libdhash
|
||||
|
||||
%files -n libdhash
|
||||
%defattr(-,root,root,-)
|
||||
%doc COPYING COPYING.LESSER
|
||||
%{_libdir}/libdhash.so.1
|
||||
%{_libdir}/libdhash.so.1.1.0
|
||||
|
||||
%files -n libdhash-devel
|
||||
%defattr(-,root,root,-)
|
||||
%{_includedir}/dhash.h
|
||||
%{_libdir}/libdhash.so
|
||||
%{_libdir}/pkgconfig/dhash.pc
|
||||
%doc dhash/README.dhash
|
||||
%doc dhash/examples/*.c
|
||||
|
||||
|
||||
##############################################################################
|
||||
# collection
|
||||
##############################################################################
|
||||
%package -n libcollection
|
||||
Summary: Collection data-type for C
|
||||
Group: Development/Libraries
|
||||
License: LGPLv3+
|
||||
Version: %{collection_version}
|
||||
|
||||
%description -n libcollection
|
||||
A data-type to collect data in a hierarchical structure for easy iteration
|
||||
and serialization
|
||||
|
||||
%package -n libcollection-devel
|
||||
Summary: Development files for libcollection
|
||||
Group: Development/Libraries
|
||||
License: LGPLv3+
|
||||
Requires: libcollection = %{collection_version}-%{release}
|
||||
Version: %{collection_version}
|
||||
|
||||
%description -n libcollection-devel
|
||||
A data-type to collect data in a hierarchical structure for easy iteration
|
||||
and serialization
|
||||
|
||||
%ldconfig_scriptlets -n libcollection
|
||||
|
||||
|
||||
%files -n libcollection
|
||||
%defattr(-,root,root,-)
|
||||
%doc COPYING
|
||||
%doc COPYING.LESSER
|
||||
%{_libdir}/libcollection.so.*
|
||||
|
||||
%files -n libcollection-devel
|
||||
%defattr(-,root,root,-)
|
||||
%{_includedir}/collection.h
|
||||
%{_includedir}/collection_tools.h
|
||||
%{_includedir}/collection_queue.h
|
||||
%{_includedir}/collection_stack.h
|
||||
%{_libdir}/libcollection.so
|
||||
%{_libdir}/pkgconfig/collection.pc
|
||||
%doc collection/doc/html/
|
||||
|
||||
|
||||
##############################################################################
|
||||
# ref_array
|
||||
##############################################################################
|
||||
|
||||
%package -n libref_array
|
||||
Summary: A refcounted array for C
|
||||
Group: Development/Libraries
|
||||
License: LGPLv3+
|
||||
Version: %{ref_array_version}
|
||||
|
||||
%description -n libref_array
|
||||
A dynamically-growing, reference-counted array
|
||||
|
||||
%package -n libref_array-devel
|
||||
Summary: Development files for libref_array
|
||||
Group: Development/Libraries
|
||||
Requires: libref_array = %{ref_array_version}-%{release}
|
||||
License: LGPLv3+
|
||||
Version: %{ref_array_version}
|
||||
|
||||
%description -n libref_array-devel
|
||||
A dynamically-growing, reference-counted array
|
||||
|
||||
%ldconfig_scriptlets -n libref_array
|
||||
|
||||
%files -n libref_array
|
||||
%defattr(-,root,root,-)
|
||||
%doc COPYING
|
||||
%doc COPYING.LESSER
|
||||
%{_libdir}/libref_array.so.1
|
||||
%{_libdir}/libref_array.so.1.2.1
|
||||
|
||||
%files -n libref_array-devel
|
||||
%defattr(-,root,root,-)
|
||||
%{_includedir}/ref_array.h
|
||||
%{_libdir}/libref_array.so
|
||||
%{_libdir}/pkgconfig/ref_array.pc
|
||||
%doc refarray/README.ref_array
|
||||
%doc refarray/doc/html/
|
||||
|
||||
##############################################################################
|
||||
# basicobjects
|
||||
##############################################################################
|
||||
|
||||
%package -n libbasicobjects
|
||||
Summary: Basic object types for C
|
||||
Group: Development/Libraries
|
||||
License: GPLv3+
|
||||
Version: %{basicobjects_version}
|
||||
|
||||
%description -n libbasicobjects
|
||||
Basic object types
|
||||
|
||||
%package -n libbasicobjects-devel
|
||||
Summary: Development files for libbasicobjects
|
||||
Group: Development/Libraries
|
||||
License: GPLv3+
|
||||
Version: %{basicobjects_version}
|
||||
Requires: libbasicobjects = %{basicobjects_version}-%{release}
|
||||
|
||||
%description -n libbasicobjects-devel
|
||||
Basic object types
|
||||
|
||||
%ldconfig_scriptlets -n libbasicobjects
|
||||
|
||||
%files -n libbasicobjects
|
||||
%defattr(-,root,root,-)
|
||||
%doc COPYING
|
||||
%doc COPYING.LESSER
|
||||
%{_libdir}/libbasicobjects.so.0
|
||||
%{_libdir}/libbasicobjects.so.0.1.0
|
||||
|
||||
%files -n libbasicobjects-devel
|
||||
%defattr(-,root,root,-)
|
||||
%{_includedir}/simplebuffer.h
|
||||
%{_libdir}/libbasicobjects.so
|
||||
%{_libdir}/pkgconfig/basicobjects.pc
|
||||
|
||||
##############################################################################
|
||||
# ini_config
|
||||
##############################################################################
|
||||
|
||||
%package -n libini_config
|
||||
Summary: INI file parser for C
|
||||
Group: Development/Libraries
|
||||
License: LGPLv3+
|
||||
Requires: libcollection = %{collection_version}-%{release}
|
||||
Requires: libref_array = %{ref_array_version}-%{release}
|
||||
Requires: libbasicobjects = %{basicobjects_version}-%{release}
|
||||
Requires: libpath_utils = %{path_utils_version}-%{release}
|
||||
Version: %{ini_config_version}
|
||||
|
||||
%description -n libini_config
|
||||
Library to process config files in INI format into a libcollection data
|
||||
structure
|
||||
|
||||
%package -n libini_config-devel
|
||||
Summary: Development files for libini_config
|
||||
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
|
||||
Library to process config files in INI format into a libcollection data
|
||||
structure
|
||||
|
||||
%ldconfig_scriptlets -n libini_config
|
||||
|
||||
%files -n libini_config
|
||||
%defattr(-,root,root,-)
|
||||
%doc COPYING
|
||||
%doc COPYING.LESSER
|
||||
%{_libdir}/libini_config.so.5
|
||||
%{_libdir}/libini_config.so.5.2.1
|
||||
|
||||
%files -n libini_config-devel
|
||||
%defattr(-,root,root,-)
|
||||
%{_includedir}/ini_config.h
|
||||
%{_includedir}/ini_configobj.h
|
||||
%{_includedir}/ini_valueobj.h
|
||||
%{_includedir}/ini_comment.h
|
||||
%{_includedir}/ini_configmod.h
|
||||
%{_libdir}/libini_config.so
|
||||
%{_libdir}/pkgconfig/ini_config.pc
|
||||
%doc ini/doc/html/
|
||||
|
||||
|
||||
##############################################################################
|
||||
# Build steps
|
||||
##############################################################################
|
||||
|
||||
%prep
|
||||
%autosetup -S git
|
||||
|
||||
%build
|
||||
autoreconf -ivf
|
||||
%configure \
|
||||
--disable-static
|
||||
|
||||
make %{?_smp_mflags} all docs
|
||||
|
||||
%check
|
||||
make %{?_smp_mflags} check
|
||||
|
||||
%install
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
|
||||
# Remove .la files created by libtool
|
||||
rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
|
||||
|
||||
# Remove the example files from the output directory
|
||||
# We will copy them directly from the source directory
|
||||
# for packaging
|
||||
rm -f \
|
||||
$RPM_BUILD_ROOT/usr/share/doc/ding-libs/README.* \
|
||||
$RPM_BUILD_ROOT/usr/share/doc/ding-libs/examples/dhash_example.c \
|
||||
$RPM_BUILD_ROOT/usr/share/doc/ding-libs/examples/dhash_test.c
|
||||
|
||||
# Remove document install script. RPM is handling this
|
||||
rm -f */doc/html/installdox
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%changelog
|
||||
* Wed May 25 2022 Alexey Tikhonov <atikhono@redhat.com> - 0.6.1-40
|
||||
- Resolves: rhbz#2048668 - Request to add libdhash-devel package into CRB
|
||||
|
||||
* Thu Aug 09 2018 Michal Židek <mzidek@redhat.com> - 0.6.1-39
|
||||
- Resolves: rhbz#1611714 - [RHEL8-S-BUILD] ding-libs Fails Scratch Build on rhel-8.0
|
||||
|
||||
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.1-38
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Sun Feb 04 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.6.1-37
|
||||
- Switch to %%ldconfig_scriptlets
|
||||
|
||||
* Thu Nov 16 2017 Robbie Harwood <rharwood@redhat.com> - 0.6.1-36
|
||||
- INI: Remove definiton of TRACE_LEVEL
|
||||
|
||||
* Tue Nov 14 2017 Robbie Harwood <rharwood@redhat.com> - 0.6.1-35
|
||||
- INI: Silence ini_augment match failures
|
||||
|
||||
* Wed Oct 04 2017 Lukas Slebodnik <lslebodn@redhat.com> - 0.6.1-34
|
||||
- New upstream release 0.6.1
|
||||
|
||||
* Wed Aug 09 2017 Robbie Harwood <rharwood@redhat.com> - 0.6.0-33
|
||||
- Backport INI merge detection support
|
||||
- Migrate to autosetup
|
||||
|
||||
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-32
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||||
|
||||
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-31
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-30
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
* Thu Jun 23 2016 Jakub Hrozek <jhrozek@redhat.com> - 0.6.0-29
|
||||
- New upstream release 0.6.0
|
||||
- https://fedorahosted.org/sssd/wiki/Releases/DingNotes-0.6.0
|
||||
|
||||
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-28
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
* Wed Aug 26 2015 Robbie Harwood <rharwood@redhat.com> - 0.5.0-27
|
||||
- Merge most changes from the upstream spec file
|
||||
|
||||
* Wed Aug 26 2015 Robbie Harwood <rharwood@redhat.com> - 0.5.0-26
|
||||
- New upstream release 0.5.0
|
||||
- https://fedorahosted.org/sssd/wiki/Releases/DingNotes-0.5.0
|
||||
|
||||
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.0-25
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.0-24
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
||||
|
||||
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.0-23
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||
|
||||
* Thu May 29 2014 Jakub Hrozek <jhrozek@redhat.com> 0.4.0-22
|
||||
- New upstream release 0.4.0
|
||||
- https://fedorahosted.org/sssd/wiki/Releases/DingNotes-0.4.0
|
||||
|
||||
* Sat Jan 18 2014 Peter Robinson <pbrobinson@fedoraproject.org> 0.3.0.1-21
|
||||
- Fix FTBFS on rawhide
|
||||
- update spec
|
||||
|
||||
* Fri Sep 27 2013 Jakub Hrozek <jhrozek@redhat.com> - 0.3.0.1-20
|
||||
- Merge Doxygen patch from f19 branch to avoid regressions
|
||||
|
||||
* Fri Sep 27 2013 Jakub Hrozek <jhrozek@redhat.com> - 0.3.0.1-19
|
||||
- Apply a patch by Dmitri Pal to strip trailing whitespace
|
||||
|
||||
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.0.1-18
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||
|
||||
* Thu May 23 2013 Jakub Hrozek <jhrozek@redhat.com> - 0.3.0.1-17
|
||||
- Apply patch by Ondrej Kos to bump libtool version info
|
||||
|
||||
* 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
|
||||
|
||||
* Mon Apr 01 2013 Stephen Gallagher <sgallagh@redhat.com> - 0.3.0.1-3
|
||||
- Bumping revision to fix build glitch
|
||||
|
||||
* Fri Mar 29 2013 Jakub Hrozek <jhrozek@redhat.com> - 0.3.0.1-1
|
||||
- New upstream release 0.3.0.1
|
||||
- https://fedorahosted.org/sssd/wiki/Releases/DingNotes-0.3.0.1
|
||||
- obsoletes patch0001
|
||||
|
||||
* Thu Mar 28 2013 Jakub Hrozek <jhrozek@redhat.com> - 0.3.0-2
|
||||
- Remove cast to allow INI to work on 32bits
|
||||
|
||||
* Thu Mar 28 2013 Jakub Hrozek <jhrozek@redhat.com> - 0.3.0-1
|
||||
- New upstream release 0.3.0
|
||||
- https://fedorahosted.org/sssd/wiki/Releases/DingNotes-0.3.0
|
||||
|
||||
* Mon Mar 25 2013 Jakub Hrozek <jhrozek@redhat.com> - 0.2.91-14
|
||||
- include a patch to get rid of autoreconf warnings
|
||||
- run autoreconf before configure
|
||||
- Resolves: #925258
|
||||
|
||||
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.91-13
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||||
|
||||
* Wed Oct 31 2012 Ondrej Kos <okos@redhat.com> - 0.2.91-12
|
||||
- Fixes missing devel dependency
|
||||
|
||||
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.91-11
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||
|
||||
* Mon May 28 2012 Jan Zeleny <jzeleny@redhat.com> - 0.2.91-10
|
||||
- a bunch of fixes in spec file
|
||||
|
||||
* Fri May 25 2012 Jan Zeleny <jzeleny@redhat.com> - 0.2.91-9
|
||||
- Bumped the release number to 9 for smooth upgrade
|
||||
|
||||
* Fri May 25 2012 Jan Zeleny <jzeleny@redhat.com> - 0.2.91-1
|
||||
- Rebase to 0.3.0beta1, changelog available at
|
||||
https://fedorahosted.org/sssd/wiki/Releases/DingNotes-0.2.91
|
||||
|
||||
* Tue Mar 06 2012 Stephen Gallagher <sgallagh@redhat.com> - 0.1.3-8
|
||||
- Make path_concat return empty string on ENOBUFS
|
||||
|
||||
* Tue Mar 06 2012 Stephen Gallagher <sgallagh@redhat.com> - 0.1.3-7
|
||||
- Fix off-by-one bug in path_concat()
|
||||
- Resolves: rhbz#799347 - path_utils:test_path_concat_neg fails on 64-bit big
|
||||
endians
|
||||
|
||||
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.3-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
||||
|
||||
* Thu Sep 15 2011 Stephen Gallagher <sgallagh@redhat.com> - 0.1.3-5
|
||||
- New upstream release 0.1.3
|
||||
- Fixes a serious issue with libdhash and large initial hash sizes
|
||||
|
||||
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.2-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||||
|
||||
* Fri Oct 15 2010 Stephen Gallagher <sgallagh@redhat.com> - 0.1.2-3
|
||||
- New upsteam release 0.1.2
|
||||
- Fixes a serious issue with libdhash where hash_enter() would never update
|
||||
- existing entries for a key.
|
||||
|
||||
* Thu Sep 23 2010 Stephen Gallagher <sgallagh@redhat.com> - 0.1.1-2
|
||||
- Fix invalid source URL
|
||||
|
||||
* Thu Sep 23 2010 Stephen Gallagher <sgallagh@redhat.com> - 0.1.1-1
|
||||
- Initial release of ding-libs
|
Loading…
Reference in New Issue
Block a user