|
|
|
@ -1,15 +1,14 @@
|
|
|
|
|
%global _eclipsedir %{_prefix}/lib/eclipse
|
|
|
|
|
|
|
|
|
|
%global emf_tag R2_22_0
|
|
|
|
|
%global xsd_tag R2_22_0
|
|
|
|
|
%global emf_tag 063937d66a94e688eaa530b0ee8a8c751f2bb362
|
|
|
|
|
%global xsd_tag 8b09198c9d654e41049b7fc9654a1b62b9638b8b
|
|
|
|
|
|
|
|
|
|
# Set this flag to avoid building everything except for the core bundles
|
|
|
|
|
# Allows building into a brand new buildroot before Eclipse is even built
|
|
|
|
|
%bcond_with bootstrap
|
|
|
|
|
|
|
|
|
|
Epoch: 1
|
|
|
|
|
Name: eclipse-emf
|
|
|
|
|
Version: 2.22.0
|
|
|
|
|
Version: 2.18.0
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: EMF and XSD Eclipse plug-ins
|
|
|
|
|
|
|
|
|
@ -19,9 +18,9 @@ Source0: https://git.eclipse.org/c/emf/org.eclipse.emf.git/snapshot/org.eclips
|
|
|
|
|
Source1: https://git.eclipse.org/c/xsd/org.eclipse.xsd.git/snapshot/org.eclipse.xsd-%{xsd_tag}.tar.xz
|
|
|
|
|
|
|
|
|
|
# Avoid hard build-time dep on nebula (not in Fedora)
|
|
|
|
|
Patch0: 0001-Remove-dependency-on-nebula.patch
|
|
|
|
|
Patch0: remove-nebula-dep.patch
|
|
|
|
|
# Remove test that requires internet connection
|
|
|
|
|
Patch1: 0002-Remove-test-that-requires-talking-to-the-internet.patch
|
|
|
|
|
Patch1: remove-network-tests.patch
|
|
|
|
|
|
|
|
|
|
BuildRequires: tycho
|
|
|
|
|
BuildRequires: tycho-extras
|
|
|
|
@ -31,20 +30,19 @@ BuildRequires: eclipse-pde
|
|
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
# Upstream Eclipse no longer supports non-64bit arches
|
|
|
|
|
ExclusiveArch: x86_64
|
|
|
|
|
ExclusiveArch: x86_64
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
The Eclipse Modeling Framework (EMF) and XML Schema Definition (XSD) plug-ins.
|
|
|
|
|
|
|
|
|
|
%package core
|
|
|
|
|
Epoch: 1
|
|
|
|
|
Summary: Eclipse EMF Core Bundles
|
|
|
|
|
|
|
|
|
|
%description core
|
|
|
|
|
Core EMF bundles required by the Eclipse platform.
|
|
|
|
|
|
|
|
|
|
%if %{without bootstrap}
|
|
|
|
|
|
|
|
|
|
%package runtime
|
|
|
|
|
Summary: Eclipse Modeling Framework (EMF) Eclipse plug-in
|
|
|
|
|
|
|
|
|
@ -87,8 +85,8 @@ Documentation and developer resources for the Eclipse Modeling Framework
|
|
|
|
|
mv org.eclipse.emf-%{emf_tag}/ org.eclipse.emf/
|
|
|
|
|
mv org.eclipse.xsd-%{xsd_tag}/ org.eclipse.xsd/
|
|
|
|
|
|
|
|
|
|
%patch0 -p1
|
|
|
|
|
%patch1 -p1
|
|
|
|
|
%patch0
|
|
|
|
|
%patch1
|
|
|
|
|
|
|
|
|
|
pushd org.eclipse.emf
|
|
|
|
|
|
|
|
|
@ -108,6 +106,7 @@ sed -i -e '/<module>.*examples/d' releng/org.eclipse.emf.parent/plugins/pom.xml
|
|
|
|
|
%pom_xpath_remove "plugin[@id='org.eclipse.emf.test.examples']" tests/org.eclipse.emf.tests-feature/feature.xml
|
|
|
|
|
|
|
|
|
|
# Disable modules unneeded for tycho build
|
|
|
|
|
|
|
|
|
|
%pom_disable_module "tp" releng/org.eclipse.emf.parent
|
|
|
|
|
%pom_disable_module "../org.eclipse.emf.site" releng/org.eclipse.emf.parent
|
|
|
|
|
%pom_disable_module '../../../features/org.eclipse.emf.all-feature' releng/org.eclipse.emf.parent/features
|
|
|
|
@ -142,7 +141,6 @@ popd
|
|
|
|
|
# Don't install poms or license features
|
|
|
|
|
%mvn_package "::pom::" __noinstall
|
|
|
|
|
%mvn_package ":org.eclipse.{emf,xsd}.license" __noinstall
|
|
|
|
|
%mvn_package ":org.eclipse.emf.base" __noinstall
|
|
|
|
|
|
|
|
|
|
# No need to ship tests as they are run at buildtime
|
|
|
|
|
%mvn_package ":org.eclipse.emf.tests" __noinstall
|
|
|
|
@ -190,7 +188,6 @@ done
|
|
|
|
|
%license org.eclipse.emf/features/org.eclipse.emf.license-feature/*.html
|
|
|
|
|
|
|
|
|
|
%if %{without bootstrap}
|
|
|
|
|
|
|
|
|
|
%files runtime -f .mfiles-runtime
|
|
|
|
|
|
|
|
|
|
%files xsd -f .mfiles-xsd
|
|
|
|
@ -199,31 +196,6 @@ done
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu Jun 18 2020 Mat Booth <mat.booth@redhat.com> - 1:2.22.0-1
|
|
|
|
|
- Update to latest upstream release
|
|
|
|
|
|
|
|
|
|
* Fri Mar 20 2020 Mat Booth <mat.booth@redhat.com> - 1:2.21.0-1
|
|
|
|
|
- Update to latest upstream release
|
|
|
|
|
|
|
|
|
|
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.20.0-5
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Jan 14 2020 Mat Booth <mat.booth@redhat.com> - 1:2.20.0-4
|
|
|
|
|
- Use Epoch for all subpackages to avoid repo sanity check failures
|
|
|
|
|
|
|
|
|
|
* Thu Dec 19 2019 Mat Booth <mat.booth@redhat.com> - 2.20.0-3
|
|
|
|
|
- Full build
|
|
|
|
|
|
|
|
|
|
* Wed Dec 18 2019 Mat Booth <mat.booth@redhat.com> - 2.20.0-2
|
|
|
|
|
- Enable bootstrap mode
|
|
|
|
|
|
|
|
|
|
* Wed Dec 18 2019 Mat Booth <mat.booth@redhat.com> - 2.20.0-1
|
|
|
|
|
- Update to latest upstream release
|
|
|
|
|
|
|
|
|
|
* Fri Sep 13 2019 Mat Booth <mat.booth@redhat.com> - 2.19.0-1
|
|
|
|
|
- Update to latest upstream release
|
|
|
|
|
- Don't ship base feature
|
|
|
|
|
|
|
|
|
|
* Sat Jun 15 2019 Mat Booth <mat.booth@redhat.com> - 2.18.0-1
|
|
|
|
|
- Update to latest upstream release
|
|
|
|
|
|
|
|
|
@ -527,4 +499,4 @@ done
|
|
|
|
|
|
|
|
|
|
* Fri Dec 12 2008 Mat Booth <fedora@matbooth.co.uk> 2.4.1-1
|
|
|
|
|
- Initial release, based on eclipse-gef spec file, but with disabled AOT
|
|
|
|
|
compiled bits because of RHBZ #477707.
|
|
|
|
|
compiled bits because of RHBZ #477707.
|
|
|
|
|