-
Notifications
You must be signed in to change notification settings - Fork 4
/
ovirt-dependencies.spec.in
95 lines (73 loc) · 4.65 KB
/
ovirt-dependencies.spec.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
%global __jar_repack 0
Summary: oVirt 3rd party dependencies
Name: @PACKAGE_NAME@
Version: @PACKAGE_RPM_VERSION@
Release: @PACKAGE_RPM_RELEASE@%{?release_suffix}%{?dist}
License: @PACKAGE_LICENSE@
URL: http://www.ovirt.org
Source: @PACKAGE_NAME@-@PACKAGE_VERSION@-@PACKAGE_RPM_RELEASE@.tar.gz
BuildArch: noarch
BuildRequires: java-11-openjdk-devel
BuildRequires: javapackages-tools
BuildRequires: javapackages-local
BuildRequires: make
BuildRequires: maven >= 3.5.0
BuildRequires: maven-local
BuildRequires: maven-dependency-plugin
BuildRequires: tar
Provides: bundled(gwt-servlet) = @GWT_VERSION@
Provides: bundled(spring-aop) = @SPRING_VERSION@
Provides: bundled(spring-beans) = @SPRING_VERSION@
Provides: bundled(spring-context) = @SPRING_VERSION@
Provides: bundled(spring-core) = @SPRING_VERSION@
Provides: bundled(spring-jcl) = @SPRING_VERSION@
Provides: bundled(spring-expression) = @SPRING_VERSION@
Provides: bundled(spring-instrument) = @SPRING_VERSION@
Provides: bundled(spring-jdbc) = @SPRING_VERSION@
Provides: bundled(spring-test) = @SPRING_VERSION@
Provides: bundled(spring-tx) = @SPRING_VERSION@
# Required due to upgrade issues around moving from rhvm-dependencies to ovirt-dependencies
Provides: rhvm-dependencies
Obsoletes: rhvm-dependencies < 4.5.0
%description
oVirt 3rd party dependencies
%prep
%setup -q -n %{name}-@PACKAGE_VERSION@
%build
# Necessary to override the default for xmvn, which is JDK 8
export JAVA_HOME="/usr/lib/jvm/java-11-openjdk"
%mvn_build -j -- -C
%install
%pom_remove_parent dependencies/com/google/gwt/gwt/@GWT_VERSION@/gwt-@GWT_VERSION@.pom
%mvn_artifact dependencies/com/google/gwt/gwt/@GWT_VERSION@/gwt-@GWT_VERSION@.pom
%mvn_artifact dependencies/com/google/gwt/gwt-servlet/@GWT_VERSION@/gwt-servlet-@GWT_VERSION@.pom dependencies/com/google/gwt/gwt-servlet/@GWT_VERSION@/gwt-servlet-@GWT_VERSION@.jar
%mvn_artifact dependencies/org/springframework/spring-aop/@SPRING_VERSION@/spring-aop-@SPRING_VERSION@.pom dependencies/org/springframework/spring-aop/@SPRING_VERSION@/spring-aop-@SPRING_VERSION@.jar
%mvn_artifact dependencies/org/springframework/spring-beans/@SPRING_VERSION@/spring-beans-@SPRING_VERSION@.pom dependencies/org/springframework/spring-beans/@SPRING_VERSION@/spring-beans-@SPRING_VERSION@.jar
%mvn_artifact dependencies/org/springframework/spring-context/@SPRING_VERSION@/spring-context-@SPRING_VERSION@.pom dependencies/org/springframework/spring-context/@SPRING_VERSION@/spring-context-@SPRING_VERSION@.jar
%mvn_artifact dependencies/org/springframework/spring-core/@SPRING_VERSION@/spring-core-@SPRING_VERSION@.pom dependencies/org/springframework/spring-core/@SPRING_VERSION@/spring-core-@SPRING_VERSION@.jar
%mvn_artifact dependencies/org/springframework/spring-jcl/@SPRING_VERSION@/spring-jcl-@SPRING_VERSION@.pom dependencies/org/springframework/spring-jcl/@SPRING_VERSION@/spring-jcl-@SPRING_VERSION@.jar
%mvn_artifact dependencies/org/springframework/spring-expression/@SPRING_VERSION@/spring-expression-@SPRING_VERSION@.pom dependencies/org/springframework/spring-expression/@SPRING_VERSION@/spring-expression-@SPRING_VERSION@.jar
%mvn_artifact dependencies/org/springframework/spring-instrument/@SPRING_VERSION@/spring-instrument-@SPRING_VERSION@.pom dependencies/org/springframework/spring-instrument/@SPRING_VERSION@/spring-instrument-@SPRING_VERSION@.jar
%mvn_artifact dependencies/org/springframework/spring-jdbc/@SPRING_VERSION@/spring-jdbc-@SPRING_VERSION@.pom dependencies/org/springframework/spring-jdbc/@SPRING_VERSION@/spring-jdbc-@SPRING_VERSION@.jar
%mvn_artifact dependencies/org/springframework/spring-test/@SPRING_VERSION@/spring-test-@SPRING_VERSION@.pom dependencies/org/springframework/spring-test/@SPRING_VERSION@/spring-test-@SPRING_VERSION@.jar
%mvn_artifact dependencies/org/springframework/spring-tx/@SPRING_VERSION@/spring-tx-@SPRING_VERSION@.pom dependencies/org/springframework/spring-tx/@SPRING_VERSION@/spring-tx-@SPRING_VERSION@.jar
%mvn_install
%files -f .mfiles
%dir %{_jnidir}/%{name}
%dir %{_javadir}/%{name}
%doc ChangeLog
%license COPYING
%license COPYING.csv
%changelog
* Fri Jun 02 2023 Martin Perina <mperina@redhat.com> - 4.5.3-1
- Bump SpringFramework to 5.3.27
* Tue May 10 2022 Martin Perina <mperina@redhat.com> - 4.5.2-1
- Bump SpringFramework to 5.3.19
* Mon Jan 03 2022 Martin Perina <mperina@redhat.com> - 4.5.1-1
- Fix issues around moving from rhvm-dependencies package
* Sun Dec 26 2021 Martin Perina <mperina@redhat.com> - 4.5.0-1
- packaging: use maven to download jars
- packaging: drop checksum verification
- packaging: remove artifacts urls from conf.d/*
* Thu Mar 26 2020 Sandro Bonazzola <sbonazzo@redhat.com> - 4.4.2-1
- Initial packaging