-
Notifications
You must be signed in to change notification settings - Fork 3
/
ovirt-engine-wildfly.spec.in
137 lines (100 loc) · 4.14 KB
/
ovirt-engine-wildfly.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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
%global __jar_repack 0
Name: ovirt-engine-wildfly
Version: @VERSION@
Release: @RELEASE@%{?dist}
Summary: WildFly Application Server for oVirt Engine
Group: Virtualization/Management
License: ASL 2.0
URL: http://wildfly.org
Source: @SRC@
BuildRequires: unzip
BuildRequires: chrpath
# Prevent breaking packages that require e.g. libapr-1.so
AutoReqProv: no
%description
WildFly Application Server for oVirt Engine.
%install
mkdir -p %{buildroot}%{_datadir}
unzip -d %{buildroot}%{_datadir} %{SOURCE0}
mv %{buildroot}%{_datadir}/wildfly-%{version}.@QUALIFIER@ %{buildroot}%{_datadir}/%{name}
# Remove the shared objects that aren't suitable for the architecture
# that the package is being built for:
function remove_shared_objects () {
find \
%{buildroot}%{_datadir}/%{name}/modules/system/layers/base \
-depth \
-type d \
-name "$1" \
-exec rm -rf {} \;
}
remove_shared_objects solaris-x86_64
remove_shared_objects solaris-sparcv9
remove_shared_objects linux-s390x
%ifarch x86_64
remove_shared_objects linux-i686
%endif
%ifarch %{ix86}
remove_shared_objects linux-x86_64
%endif
# Delete the "rpath" of the remaining shared objects:
find \
%{buildroot}%{_datadir}/%{name}/modules/system/layers/base \
-type f \
-name '*.so' \
-exec chrpath --delete {} \;
%files
%{_datadir}/%{name}
%changelog
* Mon Oct 11 2021 Artur Socha <asocha@redhat.com> 24.0.1-1
- Update to upstream version 24.0.1.Final
* Wed May 19 2021 Artur Socha <asocha@redhat.coim> 23.0.2-1
- Update to upstream version 23.0.2.Final
* Fri Jan 15 2021 Artur Socha <asocha@redhat.com> 22.0.0-1
- Update to upstream version 22.0.0.Final
* Tue Dec 1 2020 Martin Perina <mperina@redhat.com> 21.0.2-1
- Update to upstream version 21.0.2.Final
* Wed Jul 15 2020 Martin Perina <mperina@redhat.com> 19.1.0-2
- Update to httpclient-4.5.12.jar and httpcore-4.4.13.jar to fix
https://issues.apache.org/jira/browse/HTTPCLIENT-2047
* Fri Jun 12 2020 Martin Perina <mperina@redhat.com> - 19.1.0-1
- Update to upstream version 19.1.0.Final
* Sat Jan 25 2020 Martin Perina <mperina@redhat.com> - 18.0.1-1
- Update to upstream version 18.0.1.Final
* Fri Nov 1 2019 Martin Perina <mperina@redhat.com> - 18.0.0-1
- Update to upstream version 18.0.0.Final
* Tue Jul 23 2019 Martin Perina <mperina@redhat.com> - 17.0.1-1
- Update to upstream version 17.0.1.Final
* Fri Jun 14 2019 Martin Perina <mperina@redhat.com> - 17.0.0-1
- Update to upstream version 17.0.0.Final
* Mon Apr 29 2019 Martin Perina <mperina@redhat.com> - 16.0.0-1
- Update to upstream version 16.0.0.Final
* Fri Feb 1 2019 Martin Perina <mperina@redhat.com> - 15.0.1-1
- Update to upstream version 15.0.1.Final
* Sat Oct 6 2018 Martin Perina <mperina@redhat.com> - 13.0.0-3
- Removes 'Provides: ovirt-engine-wildfly-13'
* Fri Sep 21 2018 Martin Perina <mperina@redhat.com> - 13.0.0-2
- Add 'Provides: ovirt-engine-wildfly-13' to simplify dependency issues in CI
during upgrade of WildFly
* Mon Jun 18 2018 Martin Perina <mperina@redhat.com> - 13.0.0-1
- Update to upstream version 13.0.0.Final
* Tue Oct 24 2017 Martin Perina <mperina@redhat.com> - 11.0.0-1
- Update to upstream version 11.0.0.Final.
- Removed Solaris binaries from the package.
* Mon Aug 28 2017 Martin Perina <mperina@redhat.com> - 11.0.0-0.2
- Update to upstream version 11.0.0.CR1.
* Thu Aug 17 2017 Martin Perina <mperina@redhat.com> - 11.0.0-0.1
- Update to upstream version 11.0.0.Beta1.
* Fri Sep 09 2016 Martin Perina <mperina@redhat.com> - 10.1.0-1
- Update to upstream version 10.1.0.Final.
* Mon Feb 22 2016 Martin Perina <mperina@redhat.com> - 10.0.0-1
- Update to upstream version 10.0.0.Final.
* Thu Jan 07 2016 Martin Perina <mperina@redhat.com> - 10.0.0-0.4
- Update to upstream version 10.0.0.CR5.
* Wed Nov 04 2015 Martin Perina <mperina@redhat.com> - 10.0.0-0.3
- Update to upstream version 10.0.0.CR4.
* Thu Sep 17 2015 Juan Hernandez <juan.hernandez@redhat.com> - 10.0.0-0.1
- Update to upstream version 10.0.0.
* Tue Feb 17 2015 Juan Hernandez <juan.hernandez@redhat.com> - 8.2.0-1
- Update to upstream version 8.2.0.
* Thu Jul 17 2014 Juan Hernandez <juan.hernandez@redhat.com> - 8.1.0-1
- Initial release based on existing jboss-as spec file.