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.
This commit is contained in:
parent
9eb13c7fab
commit
5267acd60b
@ -12,7 +12,7 @@
|
|||||||
Summary: Protocol Buffers - Google's data interchange format
|
Summary: Protocol Buffers - Google's data interchange format
|
||||||
Name: protobuf
|
Name: protobuf
|
||||||
Version: 3.3.1
|
Version: 3.3.1
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
License: BSD
|
License: BSD
|
||||||
URL: https://github.com/google/protobuf
|
URL: https://github.com/google/protobuf
|
||||||
Source: https://github.com/google/protobuf/archive/v%{version}%{?rcver}/%{name}-%{version}%{?rcver}.tar.gz
|
Source: https://github.com/google/protobuf/archive/v%{version}%{?rcver}/%{name}-%{version}%{?rcver}.tar.gz
|
||||||
@ -239,6 +239,9 @@ rm java/core/src/test/java/com/google/protobuf/ServiceTest.java
|
|||||||
%pom_remove_parent javanano
|
%pom_remove_parent javanano
|
||||||
%pom_remove_dep org.easymock:easymockclassextension javanano
|
%pom_remove_dep org.easymock:easymockclassextension javanano
|
||||||
|
|
||||||
|
# Make OSGi dependency on sun.misc package optional
|
||||||
|
%pom_xpath_inject "pom:configuration/pom:instructions" "<Import-Package>sun.misc;resolution:=optional,*</Import-Package>" java/core
|
||||||
|
|
||||||
# Backward compatibility symlink
|
# Backward compatibility symlink
|
||||||
%mvn_file :protobuf-java:jar: %{name}/%{name}-java %{name}
|
%mvn_file :protobuf-java:jar: %{name}/%{name}-java %{name}
|
||||||
|
|
||||||
@ -397,6 +400,10 @@ install -p -m 0644 %{SOURCE2} $RPM_BUILD_ROOT%{emacs_startdir}
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jun 27 2017 Mat Booth <mat.booth@redhat.com> - 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 <orion@cora.nwra.com> - 3.3.1-1
|
* Mon Jun 12 2017 Orion Poplawski <orion@cora.nwra.com> - 3.3.1-1
|
||||||
- Update to 3.3.1
|
- Update to 3.3.1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user