commit 119f15f5ca3259da20bd89b74bcd796dae36ab74 Author: MSVSphere Packaging Team Date: Wed Mar 15 19:58:09 2023 +0300 import protobuf-3.14.0-13.el9 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..d0700bf --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +SOURCES/5ec7f0c4a113e2f18ac2c6cc7df51ad6afc24081.zip +SOURCES/protobuf-3.14.0-all.tar.gz diff --git a/.protobuf.metadata b/.protobuf.metadata new file mode 100644 index 0000000..0247513 --- /dev/null +++ b/.protobuf.metadata @@ -0,0 +1,2 @@ +fe843a3a69583fa23f1e77722c6d25ad3be61703 SOURCES/5ec7f0c4a113e2f18ac2c6cc7df51ad6afc24081.zip +b613ab3057c8a7400e7b7d3004824274d964a196 SOURCES/protobuf-3.14.0-all.tar.gz diff --git a/SOURCES/CVE-2021-22570.patch b/SOURCES/CVE-2021-22570.patch new file mode 100644 index 0000000..078db13 --- /dev/null +++ b/SOURCES/CVE-2021-22570.patch @@ -0,0 +1,77 @@ +diff --git a/src/google/protobuf/descriptor.cc b/src/google/protobuf/descriptor.cc +index 7af37c57f3..03c4e2b516 100644 +--- a/src/google/protobuf/descriptor.cc ++++ b/src/google/protobuf/descriptor.cc +@@ -1090,7 +1090,7 @@ inline void DescriptorPool::Tables::FindAllExtensions( + + bool DescriptorPool::Tables::AddSymbol(const std::string& full_name, + Symbol symbol) { +- if (InsertIfNotPresent(&symbols_by_name_, full_name.c_str(), symbol)) { ++ if (InsertIfNotPresent(&symbols_by_name_, full_name, symbol)) { + symbols_after_checkpoint_.push_back(full_name.c_str()); + return true; + } else { +@@ -1106,7 +1106,7 @@ bool FileDescriptorTables::AddAliasUnderParent(const void* parent, + } + + bool DescriptorPool::Tables::AddFile(const FileDescriptor* file) { +- if (InsertIfNotPresent(&files_by_name_, file->name().c_str(), file)) { ++ if (InsertIfNotPresent(&files_by_name_, file->name(), file)) { + files_after_checkpoint_.push_back(file->name().c_str()); + return true; + } else { +@@ -2626,6 +2626,8 @@ void Descriptor::DebugString(int depth, std::string* contents, + const Descriptor::ReservedRange* range = reserved_range(i); + if (range->end == range->start + 1) { + strings::SubstituteAndAppend(contents, "$0, ", range->start); ++ } else if (range->end > FieldDescriptor::kMaxNumber) { ++ strings::SubstituteAndAppend(contents, "$0 to max, ", range->start); + } else { + strings::SubstituteAndAppend(contents, "$0 to $1, ", range->start, + range->end - 1); +@@ -2829,6 +2831,8 @@ void EnumDescriptor::DebugString( + const EnumDescriptor::ReservedRange* range = reserved_range(i); + if (range->end == range->start) { + strings::SubstituteAndAppend(contents, "$0, ", range->start); ++ } else if (range->end == INT_MAX) { ++ strings::SubstituteAndAppend(contents, "$0 to max, ", range->start); + } else { + strings::SubstituteAndAppend(contents, "$0 to $1, ", range->start, + range->end); +@@ -4019,6 +4023,11 @@ bool DescriptorBuilder::AddSymbol(const std::string& full_name, + // Use its file as the parent instead. + if (parent == nullptr) parent = file_; + ++ if (full_name.find('\0') != std::string::npos) { ++ AddError(full_name, proto, DescriptorPool::ErrorCollector::NAME, ++ "\"" + full_name + "\" contains null character."); ++ return false; ++ } + if (tables_->AddSymbol(full_name, symbol)) { + if (!file_tables_->AddAliasUnderParent(parent, name, symbol)) { + // This is only possible if there was already an error adding something of +@@ -4059,6 +4068,11 @@ bool DescriptorBuilder::AddSymbol(const std::string& full_name, + void DescriptorBuilder::AddPackage(const std::string& name, + const Message& proto, + const FileDescriptor* file) { ++ if (name.find('\0') != std::string::npos) { ++ AddError(name, proto, DescriptorPool::ErrorCollector::NAME, ++ "\"" + name + "\" contains null character."); ++ return; ++ } + if (tables_->AddSymbol(name, Symbol(file))) { + // Success. Also add parent package, if any. + std::string::size_type dot_pos = name.find_last_of('.'); +@@ -4372,6 +4386,12 @@ FileDescriptor* DescriptorBuilder::BuildFileImpl( + } + result->pool_ = pool_; + ++ if (result->name().find('\0') != std::string::npos) { ++ AddError(result->name(), proto, DescriptorPool::ErrorCollector::NAME, ++ "\"" + result->name() + "\" contains null character."); ++ return nullptr; ++ } ++ + // Add to tables. + if (!tables_->AddFile(result)) { + AddError(proto.name(), proto, DescriptorPool::ErrorCollector::OTHER, diff --git a/SOURCES/ftdetect-proto.vim b/SOURCES/ftdetect-proto.vim new file mode 100644 index 0000000..e9b063e --- /dev/null +++ b/SOURCES/ftdetect-proto.vim @@ -0,0 +1,4 @@ +augroup filetype + au! BufRead,BufNewFile *.proto setfiletype proto +augroup end + diff --git a/SOURCES/protobuf-3.14-disable-IoTest.LargeOutput.patch b/SOURCES/protobuf-3.14-disable-IoTest.LargeOutput.patch new file mode 100644 index 0000000..eea2849 --- /dev/null +++ b/SOURCES/protobuf-3.14-disable-IoTest.LargeOutput.patch @@ -0,0 +1,25 @@ +--- a/src/google/protobuf/io/zero_copy_stream_unittest.cc.orig 2021-01-12 12:25:18.471517830 +0100 ++++ b/src/google/protobuf/io/zero_copy_stream_unittest.cc 2021-01-12 12:25:42.022696126 +0100 +@@ -712,22 +712,6 @@ + } + } + +-// Verifies that outputs up to kint32max can be created. +-TEST_F(IoTest, LargeOutput) { +- std::string str; +- StringOutputStream output(&str); +- void* unused_data; +- int size; +- // Repeatedly calling Next should eventually grow the buffer to kint32max. +- do { +- EXPECT_TRUE(output.Next(&unused_data, &size)); +- } while (str.size() < std::numeric_limits::max()); +- // Further increases should be possible. +- output.Next(&unused_data, &size); +- EXPECT_GT(size, 0); +-} +- +- + // To test files, we create a temporary file, write, read, truncate, repeat. + TEST_F(IoTest, FileIo) { + std::string filename = TestTempDir() + "/zero_copy_stream_test_file"; diff --git a/SOURCES/protobuf-init.el b/SOURCES/protobuf-init.el new file mode 100644 index 0000000..008bdef --- /dev/null +++ b/SOURCES/protobuf-init.el @@ -0,0 +1,6 @@ +; Protobuf major mode, init file by Tim Niemueller [www.niemueller.de], BSD +; Add mode to automatically recognized modes +(setq auto-mode-alist (cons '("\\.proto$" . protobuf-mode) auto-mode-alist)) +(autoload 'protobuf-mode "protobuf-mode" "Google protobuf editing mode." t) +; Turn on colorization by default +(add-hook 'protobuf-mode-hook 'turn-on-font-lock) diff --git a/SPECS/protobuf.spec b/SPECS/protobuf.spec new file mode 100644 index 0000000..d420b1a --- /dev/null +++ b/SPECS/protobuf.spec @@ -0,0 +1,702 @@ +# Build -python subpackage +%bcond_without python +# Build -java subpackage +%bcond_with java + +#global rcver rc2 +# Disable LTO to work around annobin error messages +%global _lto_cflags %nil + +Summary: Protocol Buffers - Google's data interchange format +Name: protobuf +Version: 3.14.0 +Release: 13%{?dist} +License: BSD +URL: https://github.com/protocolbuffers/protobuf +Source: https://github.com/protocolbuffers/protobuf/archive/v%{version}%{?rcver}/%{name}-%{version}%{?rcver}-all.tar.gz +Source1: ftdetect-proto.vim +Source2: protobuf-init.el +# For tests (using exactly the same version as the release) +Source3: https://github.com/google/googletest/archive/5ec7f0c4a113e2f18ac2c6cc7df51ad6afc24081.zip + +# https://github.com/protocolbuffers/protobuf/issues/8082 +Patch1: protobuf-3.14-disable-IoTest.LargeOutput.patch + +# Fix for CVE-2021-22570 "protobuf: Incorrect parsing of nullchar in the proto symbol leads to Nullptr dereference" +# https://bugzilla.redhat.com/show_bug.cgi?id=2050492 +# Based on https://github.com/protocolbuffers/protobuf/commit/af95001202a035d78ff997e737bd67fca22ab32a +# As described in https://bugzilla.suse.com/show_bug.cgi?id=1195258 +Patch2: CVE-2021-22570.patch + +BuildRequires: make +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: emacs +BuildRequires: gcc-c++ +BuildRequires: libtool +BuildRequires: pkgconfig +BuildRequires: zlib-devel + +%description +Protocol Buffers are a way of encoding structured data in an efficient +yet extensible format. Google uses Protocol Buffers for almost all of +its internal RPC protocols and file formats. + +Protocol buffers are a flexible, efficient, automated mechanism for +serializing structured data – think XML, but smaller, faster, and +simpler. You define how you want your data to be structured once, then +you can use special generated source code to easily write and read +your structured data to and from a variety of data streams and using a +variety of languages. You can even update your data structure without +breaking deployed programs that are compiled against the "old" format. + +%package compiler +Summary: Protocol Buffers compiler +Requires: %{name} = %{version}-%{release} + +%description compiler +This package contains Protocol Buffers compiler for all programming +languages + +%package devel +Summary: Protocol Buffers C++ headers and libraries +Requires: %{name} = %{version}-%{release} +Requires: %{name}-compiler = %{version}-%{release} +Requires: zlib-devel +Requires: pkgconfig + +%description devel +This package contains Protocol Buffers compiler for all languages and +C++ headers and libraries + +%package static +Summary: Static development files for %{name} +Requires: %{name}-devel = %{version}-%{release} + +%description static +Static libraries for Protocol Buffers + +%package lite +Summary: Protocol Buffers LITE_RUNTIME libraries + +%description lite +Protocol Buffers built with optimize_for = LITE_RUNTIME. + +The "optimize_for = LITE_RUNTIME" option causes the compiler to generate code +which only depends libprotobuf-lite, which is much smaller than libprotobuf but +lacks descriptors, reflection, and some other features. + +%package lite-devel +Summary: Protocol Buffers LITE_RUNTIME development libraries +Requires: %{name}-devel = %{version}-%{release} +Requires: %{name}-lite = %{version}-%{release} + +%description lite-devel +This package contains development libraries built with +optimize_for = LITE_RUNTIME. + +The "optimize_for = LITE_RUNTIME" option causes the compiler to generate code +which only depends libprotobuf-lite, which is much smaller than libprotobuf but +lacks descriptors, reflection, and some other features. + +%package lite-static +Summary: Static development files for %{name}-lite +Requires: %{name}-devel = %{version}-%{release} + +%description lite-static +This package contains static development libraries built with +optimize_for = LITE_RUNTIME. + +The "optimize_for = LITE_RUNTIME" option causes the compiler to generate code +which only depends libprotobuf-lite, which is much smaller than libprotobuf but +lacks descriptors, reflection, and some other features. + +%if %{with python} +%package -n python%{python3_pkgversion}-%{name} +Summary: Python 3 bindings for Google Protocol Buffers +BuildArch: noarch +BuildRequires: python%{python3_pkgversion}-devel +BuildRequires: python%{python3_pkgversion}-setuptools +BuildRequires: python%{python3_pkgversion}-wheel +Requires: python%{python3_pkgversion}-six >= 1.9 +Conflicts: %{name}-compiler > %{version} +Conflicts: %{name}-compiler < %{version} +Provides: %{name}-python3 = %{version}-%{release} +%{?python_provide:%python_provide python%{python3_pkgversion}-%{name}} + +%description -n python%{python3_pkgversion}-%{name} +This package contains Python 3 libraries for Google Protocol Buffers +%endif + +%package vim +Summary: Vim syntax highlighting for Google Protocol Buffers descriptions +BuildArch: noarch +Requires: vim-enhanced + +%description vim +This package contains syntax highlighting for Google Protocol Buffers +descriptions in Vim editor + + +%if %{with java} +%package java +Summary: Java Protocol Buffers runtime library +BuildArch: noarch +BuildRequires: maven-local +BuildRequires: mvn(com.google.code.gson:gson) +BuildRequires: mvn(com.google.guava:guava) +BuildRequires: mvn(junit:junit) +BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) +BuildRequires: mvn(org.apache.maven.plugins:maven-antrun-plugin) +BuildRequires: mvn(org.apache.maven.plugins:maven-source-plugin) +BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin) +BuildRequires: mvn(org.easymock:easymock) +Conflicts: %{name}-compiler > %{version} +Conflicts: %{name}-compiler < %{version} +Obsoletes: %{name}-javanano < 3.6.0 + +%description java +This package contains Java Protocol Buffers runtime library. + +%package javalite +Summary: Java Protocol Buffers lite runtime library +BuildArch: noarch + +%description javalite +This package contains Java Protocol Buffers lite runtime library. + +%package java-util +Summary: Utilities for Protocol Buffers +BuildArch: noarch + +%description java-util +Utilities to work with protos. It contains JSON support +as well as utilities to work with proto3 well-known types. + +%package javadoc +Summary: Javadoc for %{name}-java +BuildArch: noarch + +%description javadoc +This package contains the API documentation for %{name}-java. + +%package parent +Summary: Protocol Buffer Parent POM +BuildArch: noarch + +%description parent +Protocol Buffer Parent POM. + +%package bom +Summary: Protocol Buffer BOM POM +BuildArch: noarch + +%description bom +Protocol Buffer BOM POM. + +%endif + +%package emacs +Summary: Emacs mode for Google Protocol Buffers descriptions +BuildArch: noarch +Requires: emacs-filesystem >= %{_emacs_version} +Obsoletes: protobuf-emacs-el < 3.6.1-4 + +%description emacs +This package contains syntax highlighting for Google Protocol Buffers +descriptions in the Emacs editor. + +%prep +%setup -q -n %{name}-%{version}%{?rcver} -a 3 +# IoTest.LargeOutput fails sometimes if not enough memory is available +# https://github.com/protocolbuffers/protobuf/issues/8082 +%patch1 -p1 +%patch2 -p1 +mv googletest-5ec7f0c4a113e2f18ac2c6cc7df51ad6afc24081/* third_party/googletest/ +find -name \*.cc -o -name \*.h | xargs chmod -x +chmod 644 examples/* +%if %{with java} +%pom_remove_dep org.easymock:easymockclassextension java/pom.xml java/core/pom.xml java/lite/pom.xml java/util/pom.xml +%pom_remove_dep com.google.truth:truth java/pom.xml java/core/pom.xml java/lite/pom.xml java/util/pom.xml +%pom_remove_dep com.google.errorprone:error_prone_annotations java/util/pom.xml +%pom_remove_dep com.google.guava:guava-testlib java/pom.xml java/util/pom.xml +# These use easymockclassextension +rm java/core/src/test/java/com/google/protobuf/ServiceTest.java +# These use truth or error_prone_annotations or guava-testlib +rm java/core/src/test/java/com/google/protobuf/LiteralByteStringTest.java +rm java/core/src/test/java/com/google/protobuf/BoundedByteStringTest.java +rm java/core/src/test/java/com/google/protobuf/RopeByteStringTest.java +rm java/core/src/test/java/com/google/protobuf/RopeByteStringSubstringTest.java +rm java/core/src/test/java/com/google/protobuf/TextFormatTest.java +rm -r java/util/src/test/java/com/google/protobuf/util +rm -r java/util/src/main/java/com/google/protobuf/util + +# Make OSGi dependency on sun.misc package optional +%pom_xpath_inject "pom:configuration/pom:instructions" "sun.misc;resolution:=optional,*" java/core + +# Backward compatibility symlink +%mvn_file :protobuf-java:jar: %{name}/%{name}-java %{name} + +# This test is incredibly slow on arm +# https://github.com/google/protobuf/issues/2389 +%ifarch %{arm} s390x +mv java/core/src/test/java/com/google/protobuf/IsValidUtf8Test.java \ + java/core/src/test/java/com/google/protobuf/IsValidUtf8Test.java.slow +mv java/core/src/test/java/com/google/protobuf/DecodeUtf8Test.java \ + java/core/src/test/java/com/google/protobuf/DecodeUtf8Test.java.slow +%endif +%endif + +rm -f src/solaris/libstdc++.la + +%build +iconv -f iso8859-1 -t utf-8 CONTRIBUTORS.txt > CONTRIBUTORS.txt.utf8 +mv CONTRIBUTORS.txt.utf8 CONTRIBUTORS.txt +export PTHREAD_LIBS="-lpthread" +./autogen.sh +%configure + +# -Wno-error=type-limits: +# https://bugzilla.redhat.com/show_bug.cgi?id=1838470 +# https://github.com/protocolbuffers/protobuf/issues/7514 +# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95148 +# (also set in %%check) +%make_build CXXFLAGS="%{build_cxxflags} -Wno-error=type-limits" + +%if %{with python} +pushd python +%py3_build +popd +%endif + +%if %{with java} +%ifarch s390x %{arm} +export MAVEN_OPTS=-Xmx1024m +%endif +%mvn_build -s -- -f java/pom.xml +%endif + +%{_emacs_bytecompile} editors/protobuf-mode.el + + +%check +# Java tests fail on s390x +%ifarch s390x +fail=0 +%else +fail=1 +%endif +%make_build check CXXFLAGS="%{build_cxxflags} -Wno-error=type-limits" || exit $fail + + +%install +%make_install %{?_smp_mflags} STRIPBINARIES=no INSTALL="%{__install} -p" CPPROG="cp -p" +find %{buildroot} -type f -name "*.la" -exec rm -f {} \; + +%if %{with python} +pushd python +%py3_install +find %{buildroot}%{python3_sitelib} -name \*.py | + xargs sed -i -e '1{\@^#!@d}' +popd +%endif +install -p -m 644 -D %{SOURCE1} %{buildroot}%{_datadir}/vim/vimfiles/ftdetect/proto.vim +install -p -m 644 -D editors/proto.vim %{buildroot}%{_datadir}/vim/vimfiles/syntax/proto.vim + +%if %{with java} +%mvn_install +%endif + +mkdir -p %{buildroot}%{_emacs_sitelispdir}/%{name} +install -p -m 0644 editors/protobuf-mode.el %{buildroot}%{_emacs_sitelispdir}/%{name} +install -p -m 0644 editors/protobuf-mode.elc %{buildroot}%{_emacs_sitelispdir}/%{name} +mkdir -p %{buildroot}%{_emacs_sitestartdir} +install -p -m 0644 %{SOURCE2} %{buildroot}%{_emacs_sitestartdir} + +%ldconfig_scriptlets +%ldconfig_scriptlets lite +%ldconfig_scriptlets compiler + +%files +%doc CHANGES.txt CONTRIBUTORS.txt README.md +%license LICENSE +%{_libdir}/libprotobuf.so.25* + +%files compiler +%doc README.md +%license LICENSE +%{_bindir}/protoc +%{_libdir}/libprotoc.so.25* + +%files devel +%dir %{_includedir}/google +%{_includedir}/google/protobuf/ +%{_libdir}/libprotobuf.so +%{_libdir}/libprotoc.so +%{_libdir}/pkgconfig/protobuf.pc +%doc examples/add_person.cc examples/addressbook.proto examples/list_people.cc examples/Makefile examples/README.md + +%files emacs +%{_emacs_sitelispdir}/%{name}/ +%{_emacs_sitestartdir}/protobuf-init.el + +%files static +%{_libdir}/libprotobuf.a +%{_libdir}/libprotoc.a + +%files lite +%{_libdir}/libprotobuf-lite.so.25* + +%files lite-devel +%{_libdir}/libprotobuf-lite.so +%{_libdir}/pkgconfig/protobuf-lite.pc + +%files lite-static +%{_libdir}/libprotobuf-lite.a + +%if %{with python} +%files -n python%{python3_pkgversion}-protobuf +%dir %{python3_sitelib}/google +%{python3_sitelib}/google/protobuf/ +%{python3_sitelib}/protobuf-%{version}%{?rcver}-py3.*.egg-info/ +%{python3_sitelib}/protobuf-%{version}%{?rcver}-py3.*-nspkg.pth +%doc python/README.md +%doc examples/add_person.py examples/list_people.py examples/addressbook.proto +%endif + +%files vim +%{_datadir}/vim/vimfiles/ftdetect/proto.vim +%{_datadir}/vim/vimfiles/syntax/proto.vim + +%if %{with java} +%files java -f .mfiles-protobuf-java +%doc examples/AddPerson.java examples/ListPeople.java +%doc java/README.md +%license LICENSE + +%files java-util -f .mfiles-protobuf-java-util + +%files javadoc -f .mfiles-javadoc +%license LICENSE + +%files parent -f .mfiles-protobuf-parent +%license LICENSE + +%files bom -f .mfiles-protobuf-bom +%license LICENSE + +%files javalite -f .mfiles-protobuf-javalite +%license LICENSE +%endif + + +%changelog +* Wed Mar 15 2023 MSVSphere Packaging Team - 3.14.0-13 +- Rebuilt for MSVSphere 9.1. + +* Wed Mar 23 2022 Adrian Reber - 3.14.0-13 +- Rebuilt for test fixes + +* Tue Mar 22 2022 Adrian Reber - 3.14.0-12 +- Rebuilt for test fixes + +* Tue Mar 08 2022 Adrian Reber - 3.14.0-11 +- Applied patch for for CVE-2021-22570 (#2055641) + +* Wed Feb 23 2022 Adrian Reber - 3.14.0-9 +- Rebuilt for errata + +* Tue Aug 10 2021 Mohan Boddu - 3.14.0-8 +- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags + Related: rhbz#1991688 + +* Mon Jul 26 2021 Adrian Reber - 3.14.0-7 +- Disabled Java subpackages + +* Thu May 06 2021 Adrian Reber - 3.14.0-6 +- Reintroduce the emacs subpackage to avoid file conflicts between + protobuf-compiler.x86_64 and protobuf-compiler.i686 +- Disable LTO to fix annobin errors + +* Fri Apr 16 2021 Mohan Boddu - 3.14.0-4 +- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937 + +* Tue Mar 30 2021 Jonathan Wakely - 3.14.0-3 +- Rebuilt for removed libstdc++ symbol (#1937698) + +* Wed Jan 27 2021 Fedora Release Engineering - 3.14.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Mon Jan 04 2021 Adrian Reber - 3.14.0-1 +- Update to 3.14.0 + +* Wed Aug 26 2020 Charalampos Stratakis - 3.13.0-1 +- Update to 3.13.0 + +* Sat Aug 01 2020 Fedora Release Engineering - 3.12.3-4 +- Second attempt - Rebuilt for + https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Tue Jul 28 2020 Fedora Release Engineering - 3.12.3-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Sat Jul 11 2020 Jiri Vanek - 3.12.3-2 +- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11 + +* Fri Jun 19 2020 Adrian Reber - 3.12.3-2 +- Update to 3.12.3 + +* Tue May 26 2020 Miro Hrončok - 3.11.4-2 +- Rebuilt for Python 3.9 + +* Tue Mar 31 2020 Adrian Reber - 3.11.4-1 +- Update to 3.11.4 + +* Thu Jan 30 2020 Fedora Release Engineering - 3.11.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Wed Dec 18 2019 Adrian Reber - 3.11.2-1 +- Update to 3.11.2 + +* Tue Nov 19 2019 Miro Hrončok - 3.6.1-9 +- Drop python2-protobuf (#1765879) + +* Sat Oct 26 2019 Orion Poplawski - 3.6.1-8 +- Drop obsolete BR on python-google-apputils + +* Thu Oct 03 2019 Miro Hrončok - 3.6.1-7 +- Rebuilt for Python 3.8.0rc1 (#1748018) + +* Mon Aug 19 2019 Miro Hrončok - 3.6.1-6 +- Rebuilt for Python 3.8 + +* Fri Jul 26 2019 Fedora Release Engineering - 3.6.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Wed May 8 2019 Orion Poplawski - 3.6.1-4 +- Update emacs packaging to comply with guidelines + +* Wed Feb 27 2019 Orion Poplawski - 3.6.1-3 +- Update googletest to 1.8.1 to re-enable tests + +* Sat Feb 02 2019 Fedora Release Engineering - 3.6.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Tue Oct 23 2018 Felix Kaechele - 3.6.1-1 +- update to 3.6.1 +- obsolete javanano subpackage; discontinued upstream + +* Fri Jul 27 2018 Igor Gnatenko - 3.5.0-8 +- Rebuild for new binutils + +* Fri Jul 13 2018 Fedora Release Engineering - 3.5.0-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Tue Jun 19 2018 Miro Hrončok - 3.5.0-6 +- Rebuilt for Python 3.7 + +* Wed Feb 21 2018 Iryna Shcherbina - 3.5.0-5 +- Update Python 2 dependency declarations to new packaging standards + (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) + +* Fri Feb 09 2018 Igor Gnatenko - 3.5.0-4 +- Escape macros in %%changelog + +* Fri Feb 09 2018 Fedora Release Engineering - 3.5.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Fri Feb 02 2018 Igor Gnatenko - 3.5.0-2 +- Switch to %%ldconfig_scriptlets + +* Thu Nov 23 2017 Igor Gnatenko - 3.5.0-1 +- Update to 3.5.0 + +* Mon Nov 13 2017 Igor Gnatenko - 3.4.1-1 +- Update to 3.4.1 + +* Thu Aug 03 2017 Fedora Release Engineering - 3.3.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 3.3.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Tue Jun 27 2017 Mat Booth - 3.3.1-2 +- Make OSGi dependency on sun.misc package optional. This package is not + available in all execution environments and will not be available in Java 9. + +* Mon Jun 12 2017 Orion Poplawski - 3.3.1-1 +- Update to 3.3.1 + +* Mon May 15 2017 Fedora Release Engineering - 3.2.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_27_Mass_Rebuild + +* Sat Feb 11 2017 Fedora Release Engineering - 3.2.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Fri Jan 27 2017 Orion Poplawski - 3.2.0-1 +- Update to 3.2.0 final + +* Mon Jan 23 2017 Orion Poplawski - 3.2.0-0.1.rc2 +- Update to 3.2.0rc2 + +* Mon Dec 19 2016 Miro Hrončok - 3.1.0-6 +- Rebuild for Python 3.6 + +* Sat Nov 19 2016 Orion Poplawski - 3.1.0-5 +- Disable slow test on arm + +* Fri Nov 18 2016 Orion Poplawski - 3.1.0-4 +- Ship python 3 module + +* Fri Nov 18 2016 Orion Poplawski - 3.1.0-3 +- Fix jar file compat symlink + +* Fri Nov 18 2016 Orion Poplawski - 3.1.0-2 +- Add needed python requirement + +* Fri Nov 04 2016 Orion Poplawski - 3.1.0-2 +- Make various sub-packages noarch + +* Fri Nov 04 2016 gil cattaneo 3.1.0-2 +- enable javanano +- minor changes to adapt to current guidelines + +* Fri Nov 04 2016 Orion Poplawski - 3.1.0-1 +- Update to 3.1.0 + +* Tue Jul 19 2016 Fedora Release Engineering - 2.6.1-5 +- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages + +* Thu Feb 04 2016 Fedora Release Engineering - 2.6.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Wed Jan 20 2016 Orion Poplawski - 2.6.1-3 +- Tests no longer segfaulting on arm + +* Thu Jun 18 2015 Fedora Release Engineering - 2.6.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Mon Apr 6 2015 Orion Poplawski - 2.6.1-1 +- Update to 2.6.1 +- New URL +- Cleanup spec +- Add patch to fix emacs compilation with emacs 24.4 +- Drop java-fixes patch, use pom macros instead +- Add BR on python-google-apputils and mvn(org.easymock:easymock) +- Run make check +- Make -static require -devel (bug #1067475) + +* Thu Mar 26 2015 Kalev Lember - 2.6.0-4 +- Rebuilt for GCC 5 ABI change + +* Sat Feb 21 2015 Till Maas - 2.6.0-3 +- Rebuilt for Fedora 23 Change + https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code + +* Wed Dec 17 2014 Peter Lemenkov - 2.6.0-2 +- Added missing Requires zlib-devel to protobuf-devel (see rhbz #1173343). See + also rhbz #732087. + +* Sun Oct 19 2014 Conrad Meyer - 2.6.0-1 +- Bump to upstream release 2.6.0 (rh# 1154474). +- Rebase 'java fixes' patch on 2.6.0 pom.xml. +- Drop patch #3 (fall back to generic GCC atomics if no specialized atomics + exist, e.g. AArch64 GCC); this has been upstreamed. + +* Sun Oct 19 2014 Conrad Meyer - 2.5.0-11 +- protobuf-emacs requires emacs(bin), not emacs (rh# 1154456) + +* Sun Aug 17 2014 Fedora Release Engineering - 2.5.0-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Mon Jun 16 2014 Mikolaj Izdebski - 2.5.0-9 +- Update to current Java packaging guidelines + +* Sat Jun 07 2014 Fedora Release Engineering - 2.5.0-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Tue Mar 04 2014 Stanislav Ochotnicky - 2.5.0-7 +- Use Requires: java-headless rebuild (#1067528) + +* Thu Dec 12 2013 Conrad Meyer - 2.5.0-6 +- BR python-setuptools-devel -> python-setuptools + +* Sun Aug 04 2013 Fedora Release Engineering - 2.5.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Thu May 16 2013 Dan Horák - 2.5.0-4 +- export the new generic atomics header (rh #926374) + +* Mon May 6 2013 Stanislav Ochotnicky - 2.5.0-3 +- Add support for generic gcc atomic operations (rh #926374) + +* Sat Apr 27 2013 Conrad Meyer - 2.5.0-2 +- Remove changelog history from before 2010 +- This spec already runs autoreconf -fi during %%build, but bump build for + rhbz #926374 + +* Sat Mar 9 2013 Conrad Meyer - 2.5.0-1 +- Bump to latest upstream (#883822) +- Rebase gtest, maven patches on 2.5.0 + +* Tue Feb 26 2013 Conrad Meyer - 2.4.1-12 +- Nuke BR on maven-doxia, maven-doxia-sitetools (#915620) + +* Thu Feb 14 2013 Fedora Release Engineering - 2.4.1-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Wed Feb 06 2013 Java SIG - 2.4.1-10 +- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild +- Replace maven BuildRequires with maven-local + +* Sun Jan 20 2013 Conrad Meyer - 2.4.1-9 +- Fix packaging bug, -emacs-el subpackage should depend on -emacs subpackage of + the same version (%%version), not the emacs version number... + +* Thu Jan 17 2013 Tim Niemueller - 2.4.1-8 +- Added sub-package for Emacs editing mode + +* Sat Jul 21 2012 Fedora Release Engineering - 2.4.1-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Mon Mar 19 2012 Dan Horák - 2.4.1-6 +- disable test-suite until g++ 4.7 issues are resolved + +* Mon Mar 19 2012 Stanislav Ochotnicky - 2.4.1-5 +- Update to latest java packaging guidelines + +* Tue Feb 28 2012 Fedora Release Engineering - 2.4.1-4 +- Rebuilt for c++ ABI breakage + +* Sat Jan 14 2012 Fedora Release Engineering - 2.4.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Tue Sep 27 2011 Pierre-Yves Chibon - 2.4.1-2 +- Adding zlib-devel as BR (rhbz: #732087) + +* Thu Jun 09 2011 BJ Dierkes - 2.4.1-1 +- Latest sources from upstream. +- Rewrote Patch2 as protobuf-2.4.1-java-fixes.patch + +* Wed Feb 09 2011 Fedora Release Engineering - 2.3.0-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Thu Jan 13 2011 Stanislav Ochotnicky - 2.3.0-6 +- Fix java subpackage bugs #669345 and #669346 +- Use new maven plugin names +- Use mavenpomdir macro for pom installation + +* Mon Jul 26 2010 David Malcolm - 2.3.0-5 +- generalize hardcoded reference to 2.6 in python subpackage %%files manifest + +* Wed Jul 21 2010 David Malcolm - 2.3.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild + +* Thu Jul 15 2010 James Laska - 2.3.0-3 +- Correct use of %%bcond macros + +* Wed Jul 14 2010 James Laska - 2.3.0-2 +- Enable python and java sub-packages + +* Tue May 4 2010 Conrad Meyer - 2.3.0-1 +- bump to 2.3.0