Hello community, here is the log from the commit of package rapidjson for openSUSE:Factory checked in at 2019-06-19 21:07:10 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rapidjson (Old) and /work/SRC/openSUSE:Factory/.rapidjson.new.4811 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rapidjson" Wed Jun 19 21:07:10 2019 rev:2 rq:709371 version:1.1.0+git20190517.4b3d7c2f Changes: -------- --- /work/SRC/openSUSE:Factory/rapidjson/rapidjson.changes 2019-01-08 12:25:30.940466823 +0100 +++ /work/SRC/openSUSE:Factory/.rapidjson.new.4811/rapidjson.changes 2019-06-19 21:09:27.390570891 +0200 @@ -1,0 +2,25 @@ +Wed Jun 12 10:15:53 UTC 2019 - Tomáš Chvátal <tchva...@suse.com> + +- Remove bundled gtest and do not test as the testing only + works with bundled gtest version + +------------------------------------------------------------------- +Thu Jun 06 08:16:06 UTC 2019 - tchva...@suse.com + +- Switch to _service as upstream didn't release since 2016 and we + would need to backport many more features to make ie python-rapidjson + working +- Update to version 1.1.0+git20190517.4b3d7c2f: + * Add missing curly brackets in STDREGEX's CreatePattern(). + * fix typo + * add missing header "ios" + * doc/tutorial.zh-cn: fixed some typos + * Update allocators.h +- Remove pateches for the old version: + * fix_compilation_gcc7.patch + * fix_compilation_sle11sp4.patch + * fix_install_paths.patch + * ignore_gcc8_warnings.patch + * remove_arch_specific_flags.patch + +------------------------------------------------------------------- Old: ---- fix_compilation_gcc7.patch fix_compilation_sle11sp4.patch fix_install_paths.patch ignore_gcc8_warnings.patch remove_arch_specific_flags.patch v1.1.0.tar.gz New: ---- _service rapidjson-1.1.0+git20190517.4b3d7c2f.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rapidjson.spec ++++++ --- /var/tmp/diff_new_pack.2ZsBrw/_old 2019-06-19 21:09:27.994571478 +0200 +++ /var/tmp/diff_new_pack.2ZsBrw/_new 2019-06-19 21:09:27.998571482 +0200 @@ -1,7 +1,7 @@ # # spec file for package rapidjson # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,24 +12,18 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: rapidjson -Version: 1.1.0 +Version: 1.1.0+git20190517.4b3d7c2f Release: 0 Summary: JSON parser and generator for C++ License: MIT Group: Development/Libraries/C and C++ URL: http://rapidjson.org/ -Source0: https://github.com/miloyip/rapidjson/archive/v%{version}.tar.gz -Patch0: remove_arch_specific_flags.patch -Patch1: fix_compilation_sle11sp4.patch -Patch2: fix_compilation_gcc7.patch -# PATCH-FIX-UPSTREAM -- ignore_gcc8_warnings.patch -- Ignore GCC 8 warnings. -Patch3: ignore_gcc8_warnings.patch -Patch10: fix_install_paths.patch +Source0: %{name}-%{version}.tar.xz BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: pkgconfig @@ -55,9 +49,6 @@ Summary: Header files for rapidjson, a JSON parser and generator for C++ Group: Development/Libraries/C and C++ Provides: %{name} = %{version} -%if 0%{?suse_version} > 1200 -BuildArch: noarch -%endif %description devel RapidJSON is a header-only JSON parser and generator for C++. @@ -65,34 +56,25 @@ %prep %setup -q -%patch0 -p1 -%patch1 -p1 -%patch2 -p1 -%patch3 -p1 -%patch10 -p1 +sed -i -e 's:-Werror::g' CMakeLists.txt %build -%cmake -DDOC_INSTALL_DIR=%{_docdir}/%{name} -make %{?_smp_mflags} +%cmake \ + -DDOC_INSTALL_DIR=%{_docdir}/%{name}-devel \ + -DRAPIDJSON_BUILD_TESTS=ON \ + -DRAPIDJSON_ENABLE_INSTRUMENTATION_OPT=OFF +%cmake_build %install %cmake_install -rm -f %{buildroot}%{_includedir}/%{name}/*.orig %files devel -%defattr(-,root,root) -%if 0%{?suse_version} < 1500 -%doc license.txt -%else +%doc CHANGELOG.md readme.md %license license.txt -%endif -# %license license.txt -%dir %{_datadir}/cmake/RapidJSON -%{_datadir}/cmake/RapidJSON/RapidJSONConfig.cmake -%{_datadir}/cmake/RapidJSON/RapidJSONConfigVersion.cmake -%{_datadir}/pkgconfig/RapidJSON.pc -%{_includedir}/%{name} -%dir %{_docdir}/%{name} -%{_docdir}/%{name}/* +%dir %{_docdir}/%{name}-devel +%{_docdir}/%{name}-devel/* +%{_includedir}/rapidjson/ +%{_libdir}/cmake/RapidJSON/ +%{_libdir}/pkgconfig/*.pc %changelog ++++++ _service ++++++ <services> <service mode="disabled" name="tar_scm"> <param name="url">https://github.com/Tencent/rapidjson.git</param> <param name="scm">git</param> <param name="changesgenerate">enable</param> <param name="filename">rapidjson</param> <param name="versionformat">1.1.0+git%cd.%h</param> <param name="exclude">thirdparty/*</param> </service> <service mode="disabled" name="recompress"> <param name="file">*.tar</param> <param name="compression">xz</param> </service> <service mode="disabled" name="set_version"/> </services>