e4e8ba
# Build -python subpackage
e4e8ba
%bcond_without python
e4e8ba
# Build -java subpackage
e4e8ba
%bcond_with java
e4e8ba
e4e8ba
#global rcver rc2
e4e8ba
# Disable LTO to work around annobin error messages
e4e8ba
%global _lto_cflags %nil
e4e8ba
e4e8ba
Summary:        Protocol Buffers - Google's data interchange format
e4e8ba
Name:           protobuf
e4e8ba
Version:        3.14.0
c8c615
Release:        13%{?dist}
e4e8ba
License:        BSD
e4e8ba
URL:            https://github.com/protocolbuffers/protobuf
e4e8ba
Source:         https://github.com/protocolbuffers/protobuf/archive/v%{version}%{?rcver}/%{name}-%{version}%{?rcver}-all.tar.gz
e4e8ba
Source1:        ftdetect-proto.vim
e4e8ba
Source2:        protobuf-init.el
e4e8ba
# For tests (using exactly the same version as the release)
e4e8ba
Source3:        https://github.com/google/googletest/archive/5ec7f0c4a113e2f18ac2c6cc7df51ad6afc24081.zip
e4e8ba
e4e8ba
# https://github.com/protocolbuffers/protobuf/issues/8082
e4e8ba
Patch1:         protobuf-3.14-disable-IoTest.LargeOutput.patch
e4e8ba
c8c615
# Fix for CVE-2021-22570 "protobuf: Incorrect parsing of nullchar in the proto symbol leads to Nullptr dereference"
c8c615
# https://bugzilla.redhat.com/show_bug.cgi?id=2050492
c8c615
# Based on https://github.com/protocolbuffers/protobuf/commit/af95001202a035d78ff997e737bd67fca22ab32a
c8c615
# As described in https://bugzilla.suse.com/show_bug.cgi?id=1195258
c8c615
Patch2:         CVE-2021-22570.patch
c8c615
e4e8ba
BuildRequires:  make
e4e8ba
BuildRequires:  autoconf
e4e8ba
BuildRequires:  automake
e4e8ba
BuildRequires:  emacs
e4e8ba
BuildRequires:  gcc-c++
e4e8ba
BuildRequires:  libtool
e4e8ba
BuildRequires:  pkgconfig
e4e8ba
BuildRequires:  zlib-devel
e4e8ba
e4e8ba
%description
e4e8ba
Protocol Buffers are a way of encoding structured data in an efficient
e4e8ba
yet extensible format. Google uses Protocol Buffers for almost all of
e4e8ba
its internal RPC protocols and file formats.
e4e8ba
e4e8ba
Protocol buffers are a flexible, efficient, automated mechanism for
e4e8ba
serializing structured data – think XML, but smaller, faster, and
e4e8ba
simpler. You define how you want your data to be structured once, then
e4e8ba
you can use special generated source code to easily write and read
e4e8ba
your structured data to and from a variety of data streams and using a
e4e8ba
variety of languages. You can even update your data structure without
e4e8ba
breaking deployed programs that are compiled against the "old" format.
e4e8ba
e4e8ba
%package compiler
e4e8ba
Summary:        Protocol Buffers compiler
e4e8ba
Requires:       %{name} = %{version}-%{release}
e4e8ba
e4e8ba
%description compiler
e4e8ba
This package contains Protocol Buffers compiler for all programming
e4e8ba
languages
e4e8ba
e4e8ba
%package devel
e4e8ba
Summary:        Protocol Buffers C++ headers and libraries
e4e8ba
Requires:       %{name} = %{version}-%{release}
e4e8ba
Requires:       %{name}-compiler = %{version}-%{release}
e4e8ba
Requires:       zlib-devel
e4e8ba
Requires:       pkgconfig
e4e8ba
e4e8ba
%description devel
e4e8ba
This package contains Protocol Buffers compiler for all languages and
e4e8ba
C++ headers and libraries
e4e8ba
e4e8ba
%package static
e4e8ba
Summary:        Static development files for %{name}
e4e8ba
Requires:       %{name}-devel = %{version}-%{release}
e4e8ba
e4e8ba
%description static
e4e8ba
Static libraries for Protocol Buffers
e4e8ba
e4e8ba
%package lite
e4e8ba
Summary:        Protocol Buffers LITE_RUNTIME libraries
e4e8ba
e4e8ba
%description lite
e4e8ba
Protocol Buffers built with optimize_for = LITE_RUNTIME.
e4e8ba
e4e8ba
The "optimize_for = LITE_RUNTIME" option causes the compiler to generate code
e4e8ba
which only depends libprotobuf-lite, which is much smaller than libprotobuf but
e4e8ba
lacks descriptors, reflection, and some other features.
e4e8ba
e4e8ba
%package lite-devel
e4e8ba
Summary:        Protocol Buffers LITE_RUNTIME development libraries
e4e8ba
Requires:       %{name}-devel = %{version}-%{release}
e4e8ba
Requires:       %{name}-lite = %{version}-%{release}
e4e8ba
e4e8ba
%description lite-devel
e4e8ba
This package contains development libraries built with
e4e8ba
optimize_for = LITE_RUNTIME.
e4e8ba
e4e8ba
The "optimize_for = LITE_RUNTIME" option causes the compiler to generate code
e4e8ba
which only depends libprotobuf-lite, which is much smaller than libprotobuf but
e4e8ba
lacks descriptors, reflection, and some other features.
e4e8ba
e4e8ba
%package lite-static
e4e8ba
Summary:        Static development files for %{name}-lite
e4e8ba
Requires:       %{name}-devel = %{version}-%{release}
e4e8ba
e4e8ba
%description lite-static
e4e8ba
This package contains static development libraries built with
e4e8ba
optimize_for = LITE_RUNTIME.
e4e8ba
e4e8ba
The "optimize_for = LITE_RUNTIME" option causes the compiler to generate code
e4e8ba
which only depends libprotobuf-lite, which is much smaller than libprotobuf but
e4e8ba
lacks descriptors, reflection, and some other features.
e4e8ba
e4e8ba
%if %{with python}
e4e8ba
%package -n python%{python3_pkgversion}-%{name}
e4e8ba
Summary:        Python 3 bindings for Google Protocol Buffers
e4e8ba
BuildArch:      noarch
e4e8ba
BuildRequires:  python%{python3_pkgversion}-devel
e4e8ba
BuildRequires:  python%{python3_pkgversion}-setuptools
e4e8ba
BuildRequires:  python%{python3_pkgversion}-wheel
e4e8ba
Requires:       python%{python3_pkgversion}-six >= 1.9
e4e8ba
Conflicts:      %{name}-compiler > %{version}
e4e8ba
Conflicts:      %{name}-compiler < %{version}
e4e8ba
Provides:       %{name}-python3 = %{version}-%{release}
e4e8ba
%{?python_provide:%python_provide python%{python3_pkgversion}-%{name}}
e4e8ba
e4e8ba
%description -n python%{python3_pkgversion}-%{name}
e4e8ba
This package contains Python 3 libraries for Google Protocol Buffers
e4e8ba
%endif
e4e8ba
e4e8ba
%package vim
e4e8ba
Summary:        Vim syntax highlighting for Google Protocol Buffers descriptions
e4e8ba
BuildArch:      noarch
e4e8ba
Requires:       vim-enhanced
e4e8ba
e4e8ba
%description vim
e4e8ba
This package contains syntax highlighting for Google Protocol Buffers
e4e8ba
descriptions in Vim editor
e4e8ba
e4e8ba
e4e8ba
%if %{with java}
e4e8ba
%package java
e4e8ba
Summary:        Java Protocol Buffers runtime library
e4e8ba
BuildArch:      noarch
e4e8ba
BuildRequires:  maven-local
e4e8ba
BuildRequires:  mvn(com.google.code.gson:gson)
e4e8ba
BuildRequires:  mvn(com.google.guava:guava)
e4e8ba
BuildRequires:  mvn(junit:junit)
e4e8ba
BuildRequires:  mvn(org.apache.felix:maven-bundle-plugin)
e4e8ba
BuildRequires:  mvn(org.apache.maven.plugins:maven-antrun-plugin)
e4e8ba
BuildRequires:  mvn(org.apache.maven.plugins:maven-source-plugin)
e4e8ba
BuildRequires:  mvn(org.codehaus.mojo:build-helper-maven-plugin)
e4e8ba
BuildRequires:  mvn(org.easymock:easymock)
e4e8ba
Conflicts:      %{name}-compiler > %{version}
e4e8ba
Conflicts:      %{name}-compiler < %{version}
e4e8ba
Obsoletes:      %{name}-javanano < 3.6.0
e4e8ba
e4e8ba
%description java
e4e8ba
This package contains Java Protocol Buffers runtime library.
e4e8ba
e4e8ba
%package javalite
e4e8ba
Summary:        Java Protocol Buffers lite runtime library
e4e8ba
BuildArch:      noarch
e4e8ba
e4e8ba
%description javalite
e4e8ba
This package contains Java Protocol Buffers lite runtime library.
e4e8ba
e4e8ba
%package java-util
e4e8ba
Summary:        Utilities for Protocol Buffers
e4e8ba
BuildArch:      noarch
e4e8ba
e4e8ba
%description java-util
e4e8ba
Utilities to work with protos. It contains JSON support
e4e8ba
as well as utilities to work with proto3 well-known types.
e4e8ba
e4e8ba
%package javadoc
e4e8ba
Summary:        Javadoc for %{name}-java
e4e8ba
BuildArch:      noarch
e4e8ba
e4e8ba
%description javadoc
e4e8ba
This package contains the API documentation for %{name}-java.
e4e8ba
e4e8ba
%package parent
e4e8ba
Summary:        Protocol Buffer Parent POM
e4e8ba
BuildArch:      noarch
e4e8ba
e4e8ba
%description parent
e4e8ba
Protocol Buffer Parent POM.
e4e8ba
e4e8ba
%package bom
e4e8ba
Summary:        Protocol Buffer BOM POM
e4e8ba
BuildArch:      noarch
e4e8ba
e4e8ba
%description bom
e4e8ba
Protocol Buffer BOM POM.
e4e8ba
e4e8ba
%endif
e4e8ba
e4e8ba
%package emacs
e4e8ba
Summary:        Emacs mode for Google Protocol Buffers descriptions
e4e8ba
BuildArch:      noarch
e4e8ba
Requires:       emacs-filesystem >= %{_emacs_version}
e4e8ba
Obsoletes:      protobuf-emacs-el < 3.6.1-4
e4e8ba
e4e8ba
%description emacs
e4e8ba
This package contains syntax highlighting for Google Protocol Buffers
e4e8ba
descriptions in the Emacs editor.
e4e8ba
e4e8ba
%prep
e4e8ba
%setup -q -n %{name}-%{version}%{?rcver} -a 3
e4e8ba
# IoTest.LargeOutput fails sometimes if not enough memory is available
e4e8ba
# https://github.com/protocolbuffers/protobuf/issues/8082
e4e8ba
%patch1 -p1
c8c615
%patch2 -p1
e4e8ba
mv googletest-5ec7f0c4a113e2f18ac2c6cc7df51ad6afc24081/* third_party/googletest/
e4e8ba
find -name \*.cc -o -name \*.h | xargs chmod -x
e4e8ba
chmod 644 examples/*
e4e8ba
%if %{with java}
e4e8ba
%pom_remove_dep org.easymock:easymockclassextension java/pom.xml java/core/pom.xml java/lite/pom.xml java/util/pom.xml
e4e8ba
%pom_remove_dep com.google.truth:truth java/pom.xml java/core/pom.xml java/lite/pom.xml java/util/pom.xml
e4e8ba
%pom_remove_dep com.google.errorprone:error_prone_annotations java/util/pom.xml
e4e8ba
%pom_remove_dep com.google.guava:guava-testlib java/pom.xml java/util/pom.xml
e4e8ba
# These use easymockclassextension
e4e8ba
rm java/core/src/test/java/com/google/protobuf/ServiceTest.java
e4e8ba
# These use truth or error_prone_annotations or guava-testlib
e4e8ba
rm java/core/src/test/java/com/google/protobuf/LiteralByteStringTest.java
e4e8ba
rm java/core/src/test/java/com/google/protobuf/BoundedByteStringTest.java
e4e8ba
rm java/core/src/test/java/com/google/protobuf/RopeByteStringTest.java
e4e8ba
rm java/core/src/test/java/com/google/protobuf/RopeByteStringSubstringTest.java
e4e8ba
rm java/core/src/test/java/com/google/protobuf/TextFormatTest.java
e4e8ba
rm -r java/util/src/test/java/com/google/protobuf/util
e4e8ba
rm -r java/util/src/main/java/com/google/protobuf/util
e4e8ba
e4e8ba
# Make OSGi dependency on sun.misc package optional
e4e8ba
%pom_xpath_inject "pom:configuration/pom:instructions" "<Import-Package>sun.misc;resolution:=optional,*</Import-Package>" java/core
e4e8ba
e4e8ba
# Backward compatibility symlink
e4e8ba
%mvn_file :protobuf-java:jar: %{name}/%{name}-java %{name}
e4e8ba
e4e8ba
# This test is incredibly slow on arm
e4e8ba
# https://github.com/google/protobuf/issues/2389
e4e8ba
%ifarch %{arm} s390x
e4e8ba
mv java/core/src/test/java/com/google/protobuf/IsValidUtf8Test.java \
e4e8ba
   java/core/src/test/java/com/google/protobuf/IsValidUtf8Test.java.slow
e4e8ba
mv java/core/src/test/java/com/google/protobuf/DecodeUtf8Test.java \
e4e8ba
   java/core/src/test/java/com/google/protobuf/DecodeUtf8Test.java.slow
e4e8ba
%endif
e4e8ba
%endif
e4e8ba
e4e8ba
rm -f src/solaris/libstdc++.la
e4e8ba
e4e8ba
%build
e4e8ba
iconv -f iso8859-1 -t utf-8 CONTRIBUTORS.txt > CONTRIBUTORS.txt.utf8
e4e8ba
mv CONTRIBUTORS.txt.utf8 CONTRIBUTORS.txt
e4e8ba
export PTHREAD_LIBS="-lpthread"
e4e8ba
./autogen.sh
e4e8ba
%configure
e4e8ba
e4e8ba
# -Wno-error=type-limits:
e4e8ba
#     https://bugzilla.redhat.com/show_bug.cgi?id=1838470
e4e8ba
#     https://github.com/protocolbuffers/protobuf/issues/7514
e4e8ba
#     https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95148
e4e8ba
#  (also set in %%check)
e4e8ba
%make_build CXXFLAGS="%{build_cxxflags} -Wno-error=type-limits"
e4e8ba
e4e8ba
%if %{with python}
e4e8ba
pushd python
e4e8ba
%py3_build
e4e8ba
popd
e4e8ba
%endif
e4e8ba
e4e8ba
%if %{with java}
e4e8ba
%ifarch s390x %{arm}
e4e8ba
export MAVEN_OPTS=-Xmx1024m
e4e8ba
%endif
e4e8ba
%mvn_build -s -- -f java/pom.xml
e4e8ba
%endif
e4e8ba
e4e8ba
%{_emacs_bytecompile} editors/protobuf-mode.el
e4e8ba
e4e8ba
e4e8ba
%check
e4e8ba
# Java tests fail on s390x
e4e8ba
%ifarch s390x
e4e8ba
fail=0
e4e8ba
%else
e4e8ba
fail=1
e4e8ba
%endif
e4e8ba
%make_build check CXXFLAGS="%{build_cxxflags} -Wno-error=type-limits" || exit $fail
e4e8ba
e4e8ba
e4e8ba
%install
e4e8ba
%make_install %{?_smp_mflags} STRIPBINARIES=no INSTALL="%{__install} -p" CPPROG="cp -p"
e4e8ba
find %{buildroot} -type f -name "*.la" -exec rm -f {} \;
e4e8ba
e4e8ba
%if %{with python}
e4e8ba
pushd python
e4e8ba
%py3_install
e4e8ba
find %{buildroot}%{python3_sitelib} -name \*.py |
e4e8ba
  xargs sed -i -e '1{\@^#!@d}'
e4e8ba
popd
e4e8ba
%endif
e4e8ba
install -p -m 644 -D %{SOURCE1} %{buildroot}%{_datadir}/vim/vimfiles/ftdetect/proto.vim
e4e8ba
install -p -m 644 -D editors/proto.vim %{buildroot}%{_datadir}/vim/vimfiles/syntax/proto.vim
e4e8ba
e4e8ba
%if %{with java}
e4e8ba
%mvn_install
e4e8ba
%endif
e4e8ba
e4e8ba
mkdir -p %{buildroot}%{_emacs_sitelispdir}/%{name}
e4e8ba
install -p -m 0644 editors/protobuf-mode.el %{buildroot}%{_emacs_sitelispdir}/%{name}
e4e8ba
install -p -m 0644 editors/protobuf-mode.elc %{buildroot}%{_emacs_sitelispdir}/%{name}
e4e8ba
mkdir -p %{buildroot}%{_emacs_sitestartdir}
e4e8ba
install -p -m 0644 %{SOURCE2} %{buildroot}%{_emacs_sitestartdir}
e4e8ba
e4e8ba
%ldconfig_scriptlets
e4e8ba
%ldconfig_scriptlets lite
e4e8ba
%ldconfig_scriptlets compiler
e4e8ba
e4e8ba
%files
e4e8ba
%doc CHANGES.txt CONTRIBUTORS.txt README.md
e4e8ba
%license LICENSE
e4e8ba
%{_libdir}/libprotobuf.so.25*
e4e8ba
e4e8ba
%files compiler
e4e8ba
%doc README.md
e4e8ba
%license LICENSE
e4e8ba
%{_bindir}/protoc
e4e8ba
%{_libdir}/libprotoc.so.25*
e4e8ba
e4e8ba
%files devel
e4e8ba
%dir %{_includedir}/google
e4e8ba
%{_includedir}/google/protobuf/
e4e8ba
%{_libdir}/libprotobuf.so
e4e8ba
%{_libdir}/libprotoc.so
e4e8ba
%{_libdir}/pkgconfig/protobuf.pc
e4e8ba
%doc examples/add_person.cc examples/addressbook.proto examples/list_people.cc examples/Makefile examples/README.md
e4e8ba
e4e8ba
%files emacs
e4e8ba
%{_emacs_sitelispdir}/%{name}/
e4e8ba
%{_emacs_sitestartdir}/protobuf-init.el
e4e8ba
e4e8ba
%files static
e4e8ba
%{_libdir}/libprotobuf.a
e4e8ba
%{_libdir}/libprotoc.a
e4e8ba
e4e8ba
%files lite
e4e8ba
%{_libdir}/libprotobuf-lite.so.25*
e4e8ba
e4e8ba
%files lite-devel
e4e8ba
%{_libdir}/libprotobuf-lite.so
e4e8ba
%{_libdir}/pkgconfig/protobuf-lite.pc
e4e8ba
e4e8ba
%files lite-static
e4e8ba
%{_libdir}/libprotobuf-lite.a
e4e8ba
e4e8ba
%if %{with python}
e4e8ba
%files -n python%{python3_pkgversion}-protobuf
e4e8ba
%dir %{python3_sitelib}/google
e4e8ba
%{python3_sitelib}/google/protobuf/
e4e8ba
%{python3_sitelib}/protobuf-%{version}%{?rcver}-py3.*.egg-info/
e4e8ba
%{python3_sitelib}/protobuf-%{version}%{?rcver}-py3.*-nspkg.pth
e4e8ba
%doc python/README.md
e4e8ba
%doc examples/add_person.py examples/list_people.py examples/addressbook.proto
e4e8ba
%endif
e4e8ba
e4e8ba
%files vim
e4e8ba
%{_datadir}/vim/vimfiles/ftdetect/proto.vim
e4e8ba
%{_datadir}/vim/vimfiles/syntax/proto.vim
e4e8ba
e4e8ba
%if %{with java}
e4e8ba
%files java -f .mfiles-protobuf-java
e4e8ba
%doc examples/AddPerson.java examples/ListPeople.java
e4e8ba
%doc java/README.md
e4e8ba
%license LICENSE
e4e8ba
e4e8ba
%files java-util -f .mfiles-protobuf-java-util
e4e8ba
e4e8ba
%files javadoc -f .mfiles-javadoc
e4e8ba
%license LICENSE
e4e8ba
e4e8ba
%files parent -f .mfiles-protobuf-parent
e4e8ba
%license LICENSE
e4e8ba
e4e8ba
%files bom -f .mfiles-protobuf-bom
e4e8ba
%license LICENSE
e4e8ba
e4e8ba
%files javalite -f .mfiles-protobuf-javalite
e4e8ba
%license LICENSE
e4e8ba
%endif
e4e8ba
e4e8ba
e4e8ba
%changelog
c8c615
* Wed Mar 23 2022 Adrian Reber <areber@redhat.com> - 3.14.0-13
c8c615
- Rebuilt for test fixes
c8c615
c8c615
* Tue Mar 22 2022 Adrian Reber <areber@redhat.com> - 3.14.0-12
c8c615
- Rebuilt for test fixes
c8c615
c8c615
* Tue Mar 08 2022 Adrian Reber <areber@redhat.com> - 3.14.0-11
c8c615
- Applied patch for for CVE-2021-22570 (#2055641)
c8c615
574caf
* Wed Feb 23 2022 Adrian Reber <areber@redhat.com> - 3.14.0-9
574caf
- Rebuilt for errata
574caf
e4e8ba
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 3.14.0-8
e4e8ba
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
e4e8ba
  Related: rhbz#1991688
e4e8ba
e4e8ba
* Mon Jul 26 2021 Adrian Reber <areber@redhat.com> - 3.14.0-7
e4e8ba
- Disabled Java subpackages
e4e8ba
e4e8ba
* Thu May 06 2021 Adrian Reber <adrian@lisas.de> - 3.14.0-6
e4e8ba
- Reintroduce the emacs subpackage to avoid file conflicts between
e4e8ba
  protobuf-compiler.x86_64 and protobuf-compiler.i686
e4e8ba
- Disable LTO to fix annobin errors
e4e8ba
e4e8ba
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 3.14.0-4
e4e8ba
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
e4e8ba
e4e8ba
* Tue Mar 30 2021 Jonathan Wakely <jwakely@redhat.com> - 3.14.0-3
e4e8ba
- Rebuilt for removed libstdc++ symbol (#1937698)
e4e8ba
e4e8ba
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.14.0-2
e4e8ba
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
e4e8ba
e4e8ba
* Mon Jan 04 2021 Adrian Reber <adrian@lisas.de> - 3.14.0-1
e4e8ba
- Update to 3.14.0
e4e8ba
e4e8ba
* Wed Aug 26 2020 Charalampos Stratakis <cstratak@redhat.com> - 3.13.0-1
e4e8ba
- Update to 3.13.0
e4e8ba
e4e8ba
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.12.3-4
e4e8ba
- Second attempt - Rebuilt for
e4e8ba
  https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
e4e8ba
e4e8ba
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.12.3-3
e4e8ba
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
e4e8ba
e4e8ba
* Sat Jul 11 2020 Jiri Vanek <jvanek@redhat.com> - 3.12.3-2
e4e8ba
- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11
e4e8ba
e4e8ba
* Fri Jun 19 2020 Adrian Reber <adrian@lisas.de> - 3.12.3-2
e4e8ba
- Update to 3.12.3
e4e8ba
e4e8ba
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 3.11.4-2
e4e8ba
- Rebuilt for Python 3.9
e4e8ba
e4e8ba
* Tue Mar 31 2020 Adrian Reber <adrian@lisas.de> - 3.11.4-1
e4e8ba
- Update to 3.11.4
e4e8ba
e4e8ba
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.11.2-2
e4e8ba
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
e4e8ba
e4e8ba
* Wed Dec 18 2019 Adrian Reber <adrian@lisas.de> - 3.11.2-1
e4e8ba
- Update to 3.11.2
e4e8ba
e4e8ba
* Tue Nov 19 2019 Miro Hrončok <mhroncok@redhat.com> - 3.6.1-9
e4e8ba
- Drop python2-protobuf (#1765879)
e4e8ba
e4e8ba
* Sat Oct 26 2019 Orion Poplawski <orion@nwra.com> - 3.6.1-8
e4e8ba
- Drop obsolete BR on python-google-apputils
e4e8ba
e4e8ba
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 3.6.1-7
e4e8ba
- Rebuilt for Python 3.8.0rc1 (#1748018)
e4e8ba
e4e8ba
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 3.6.1-6
e4e8ba
- Rebuilt for Python 3.8
e4e8ba
e4e8ba
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.6.1-5
e4e8ba
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
e4e8ba
e4e8ba
* Wed May 8 2019 Orion Poplawski <orion@nwra.com> - 3.6.1-4
e4e8ba
- Update emacs packaging to comply with guidelines
e4e8ba
e4e8ba
* Wed Feb 27 2019 Orion Poplawski <orion@nwra.com> - 3.6.1-3
e4e8ba
- Update googletest to 1.8.1 to re-enable tests
e4e8ba
e4e8ba
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.6.1-2
e4e8ba
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
e4e8ba
e4e8ba
* Tue Oct 23 2018 Felix Kaechele <heffer@fedoraproject.org> - 3.6.1-1
e4e8ba
- update to 3.6.1
e4e8ba
- obsolete javanano subpackage; discontinued upstream
e4e8ba
e4e8ba
* Fri Jul 27 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 3.5.0-8
e4e8ba
- Rebuild for new binutils
e4e8ba
e4e8ba
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.5.0-7
e4e8ba
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
e4e8ba
e4e8ba
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 3.5.0-6
e4e8ba
- Rebuilt for Python 3.7
e4e8ba
e4e8ba
* Wed Feb 21 2018 Iryna Shcherbina <ishcherb@redhat.com> - 3.5.0-5
e4e8ba
- Update Python 2 dependency declarations to new packaging standards
e4e8ba
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
e4e8ba
e4e8ba
* Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 3.5.0-4
e4e8ba
- Escape macros in %%changelog
e4e8ba
e4e8ba
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.5.0-3
e4e8ba
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
e4e8ba
e4e8ba
* Fri Feb 02 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 3.5.0-2
e4e8ba
- Switch to %%ldconfig_scriptlets
e4e8ba
e4e8ba
* Thu Nov 23 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 3.5.0-1
e4e8ba
- Update to 3.5.0
e4e8ba
e4e8ba
* Mon Nov 13 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 3.4.1-1
e4e8ba
- Update to 3.4.1
e4e8ba
e4e8ba
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.1-4
e4e8ba
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
e4e8ba
e4e8ba
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.1-3
e4e8ba
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
e4e8ba
e4e8ba
* Tue Jun 27 2017 Mat Booth <mat.booth@redhat.com> - 3.3.1-2
e4e8ba
- Make OSGi dependency on sun.misc package optional. This package is not
e4e8ba
  available in all execution environments and will not be available in Java 9.
e4e8ba
e4e8ba
* Mon Jun 12 2017 Orion Poplawski <orion@cora.nwra.com> - 3.3.1-1
e4e8ba
- Update to 3.3.1
e4e8ba
e4e8ba
* Mon May 15 2017 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.0-3
e4e8ba
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_27_Mass_Rebuild
e4e8ba
e4e8ba
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.0-2
e4e8ba
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
e4e8ba
e4e8ba
* Fri Jan 27 2017 Orion Poplawski <orion@cora.nwra.com> - 3.2.0-1
e4e8ba
- Update to 3.2.0 final
e4e8ba
e4e8ba
* Mon Jan 23 2017 Orion Poplawski <orion@cora.nwra.com> - 3.2.0-0.1.rc2
e4e8ba
- Update to 3.2.0rc2
e4e8ba
e4e8ba
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 3.1.0-6
e4e8ba
- Rebuild for Python 3.6
e4e8ba
e4e8ba
* Sat Nov 19 2016 Orion Poplawski <orion@cora.nwra.com> - 3.1.0-5
e4e8ba
- Disable slow test on arm
e4e8ba
e4e8ba
* Fri Nov 18 2016 Orion Poplawski <orion@cora.nwra.com> - 3.1.0-4
e4e8ba
- Ship python 3 module
e4e8ba
e4e8ba
* Fri Nov 18 2016 Orion Poplawski <orion@cora.nwra.com> - 3.1.0-3
e4e8ba
- Fix jar file compat symlink
e4e8ba
e4e8ba
* Fri Nov 18 2016 Orion Poplawski <orion@cora.nwra.com> - 3.1.0-2
e4e8ba
- Add needed python requirement
e4e8ba
e4e8ba
* Fri Nov 04 2016 Orion Poplawski <orion@cora.nwra.com> - 3.1.0-2
e4e8ba
- Make various sub-packages noarch
e4e8ba
e4e8ba
* Fri Nov 04 2016 gil cattaneo <puntogil@libero.it> 3.1.0-2
e4e8ba
- enable javanano
e4e8ba
- minor changes to adapt to current guidelines
e4e8ba
e4e8ba
* Fri Nov 04 2016 Orion Poplawski <orion@cora.nwra.com> - 3.1.0-1
e4e8ba
- Update to 3.1.0
e4e8ba
e4e8ba
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6.1-5
e4e8ba
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
e4e8ba
e4e8ba
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.6.1-4
e4e8ba
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
e4e8ba
e4e8ba
* Wed Jan 20 2016 Orion Poplawski <orion@cora.nwra.com> - 2.6.1-3
e4e8ba
- Tests no longer segfaulting on arm
e4e8ba
e4e8ba
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6.1-2
e4e8ba
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
e4e8ba
e4e8ba
* Mon Apr 6 2015 Orion Poplawski <orion@cora.nwra.com> - 2.6.1-1
e4e8ba
- Update to 2.6.1
e4e8ba
- New URL
e4e8ba
- Cleanup spec
e4e8ba
- Add patch to fix emacs compilation with emacs 24.4
e4e8ba
- Drop java-fixes patch, use pom macros instead
e4e8ba
- Add BR on python-google-apputils and mvn(org.easymock:easymock)
e4e8ba
- Run make check
e4e8ba
- Make -static require -devel (bug #1067475)
e4e8ba
e4e8ba
* Thu Mar 26 2015 Kalev Lember <kalevlember@gmail.com> - 2.6.0-4
e4e8ba
- Rebuilt for GCC 5 ABI change
e4e8ba
e4e8ba
* Sat Feb 21 2015 Till Maas <opensource@till.name> - 2.6.0-3
e4e8ba
- Rebuilt for Fedora 23 Change
e4e8ba
  https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
e4e8ba
e4e8ba
* Wed Dec 17 2014 Peter Lemenkov <lemenkov@gmail.com> - 2.6.0-2
e4e8ba
- Added missing Requires zlib-devel to protobuf-devel (see rhbz #1173343). See
e4e8ba
  also rhbz #732087.
e4e8ba
e4e8ba
* Sun Oct 19 2014 Conrad Meyer <cemeyer@uw.edu> - 2.6.0-1
e4e8ba
- Bump to upstream release 2.6.0 (rh# 1154474).
e4e8ba
- Rebase 'java fixes' patch on 2.6.0 pom.xml.
e4e8ba
- Drop patch #3 (fall back to generic GCC atomics if no specialized atomics
e4e8ba
  exist, e.g. AArch64 GCC); this has been upstreamed.
e4e8ba
e4e8ba
* Sun Oct 19 2014 Conrad Meyer <cemeyer@uw.edu> - 2.5.0-11
e4e8ba
- protobuf-emacs requires emacs(bin), not emacs (rh# 1154456)
e4e8ba
e4e8ba
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.0-10
e4e8ba
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
e4e8ba
e4e8ba
* Mon Jun 16 2014 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.5.0-9
e4e8ba
- Update to current Java packaging guidelines
e4e8ba
e4e8ba
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.0-8
e4e8ba
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
e4e8ba
e4e8ba
* Tue Mar 04 2014 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.5.0-7
e4e8ba
- Use Requires: java-headless rebuild (#1067528)
e4e8ba
e4e8ba
* Thu Dec 12 2013 Conrad Meyer <cemeyer@uw.edu> - 2.5.0-6
e4e8ba
- BR python-setuptools-devel -> python-setuptools
e4e8ba
e4e8ba
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.0-5
e4e8ba
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
e4e8ba
e4e8ba
* Thu May 16 2013 Dan Horák <dan[at]danny.cz> - 2.5.0-4
e4e8ba
- export the new generic atomics header (rh #926374)
e4e8ba
e4e8ba
* Mon May 6 2013 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.5.0-3
e4e8ba
- Add support for generic gcc atomic operations (rh #926374)
e4e8ba
e4e8ba
* Sat Apr 27 2013 Conrad Meyer <cemeyer@uw.edu> - 2.5.0-2
e4e8ba
- Remove changelog history from before 2010
e4e8ba
- This spec already runs autoreconf -fi during %%build, but bump build for
e4e8ba
  rhbz #926374
e4e8ba
e4e8ba
* Sat Mar 9 2013 Conrad Meyer <cemeyer@uw.edu> - 2.5.0-1
e4e8ba
- Bump to latest upstream (#883822)
e4e8ba
- Rebase gtest, maven patches on 2.5.0
e4e8ba
e4e8ba
* Tue Feb 26 2013 Conrad Meyer <cemeyer@uw.edu> - 2.4.1-12
e4e8ba
- Nuke BR on maven-doxia, maven-doxia-sitetools (#915620)
e4e8ba
e4e8ba
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.1-11
e4e8ba
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
e4e8ba
e4e8ba
* Wed Feb 06 2013 Java SIG <java-devel@lists.fedoraproject.org> - 2.4.1-10
e4e8ba
- Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild
e4e8ba
- Replace maven BuildRequires with maven-local
e4e8ba
e4e8ba
* Sun Jan 20 2013 Conrad Meyer <konrad@tylerc.org> - 2.4.1-9
e4e8ba
- Fix packaging bug, -emacs-el subpackage should depend on -emacs subpackage of
e4e8ba
  the same version (%%version), not the emacs version number...
e4e8ba
e4e8ba
* Thu Jan 17 2013 Tim Niemueller <tim@niemueller.de> - 2.4.1-8
e4e8ba
- Added sub-package for Emacs editing mode
e4e8ba
e4e8ba
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.1-7
e4e8ba
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
e4e8ba
e4e8ba
* Mon Mar 19 2012 Dan Horák <dan[at]danny.cz> - 2.4.1-6
e4e8ba
- disable test-suite until g++ 4.7 issues are resolved
e4e8ba
e4e8ba
* Mon Mar 19 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.4.1-5
e4e8ba
- Update to latest java packaging guidelines
e4e8ba
e4e8ba
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.1-4
e4e8ba
- Rebuilt for c++ ABI breakage
e4e8ba
e4e8ba
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.1-3
e4e8ba
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
e4e8ba
e4e8ba
* Tue Sep 27 2011 Pierre-Yves Chibon <pingou@pingoured.fr> - 2.4.1-2
e4e8ba
- Adding zlib-devel as BR (rhbz: #732087)
e4e8ba
e4e8ba
* Thu Jun 09 2011 BJ Dierkes <wdierkes@rackspace.com> - 2.4.1-1
e4e8ba
- Latest sources from upstream.
e4e8ba
- Rewrote Patch2 as protobuf-2.4.1-java-fixes.patch
e4e8ba
e4e8ba
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.0-7
e4e8ba
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
e4e8ba
e4e8ba
* Thu Jan 13 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 2.3.0-6
e4e8ba
- Fix java subpackage bugs #669345 and #669346
e4e8ba
- Use new maven plugin names
e4e8ba
- Use mavenpomdir macro for pom installation
e4e8ba
e4e8ba
* Mon Jul 26 2010 David Malcolm <dmalcolm@redhat.com> - 2.3.0-5
e4e8ba
- generalize hardcoded reference to 2.6 in python subpackage %%files manifest
e4e8ba
e4e8ba
* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 2.3.0-4
e4e8ba
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
e4e8ba
e4e8ba
* Thu Jul 15 2010 James Laska <jlaska@redhat.com> - 2.3.0-3
e4e8ba
- Correct use of %%bcond macros
e4e8ba
e4e8ba
* Wed Jul 14 2010 James Laska <jlaska@redhat.com> - 2.3.0-2
e4e8ba
- Enable python and java sub-packages
e4e8ba
e4e8ba
* Tue May 4 2010 Conrad Meyer <konrad@tylerc.org> - 2.3.0-1
e4e8ba
- bump to 2.3.0