-
Notifications
You must be signed in to change notification settings - Fork 8
/
ovirt-engine-extension-aaa-jdbc.spec.in
166 lines (124 loc) · 4.78 KB
/
ovirt-engine-extension-aaa-jdbc.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
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
%global make_common_opts \\\
PREFIX=%{_prefix} \\\
SYSCONF_DIR=%{_sysconfdir} \\\
DATAROOT_DIR=%{_datadir} \\\
DESTDIR=%{buildroot} \\\
%{nil}
Name: ovirt-engine-extension-aaa-jdbc
Version: @VERSION@
Release: @RELEASE@%{?dist}
Summary: oVirt Engine Local Users Management Extension
Group: %{ovirt_product_group}
License: ASL 2.0
URL: http://www.ovirt.org
Source0: %{name}-%{version}.tar.gz
# We need to disable automatic generation of "Requires: java-headless >= 1:11"
# by xmvn, becase JDK 11 doesn't provide java-headless artifact, but it
# provides java-11-headless.
AutoReq: no
BuildArch: noarch
BuildRequires: java-11-openjdk-devel
BuildRequires: maven-local
BuildRequires: make
BuildRequires: mvn(org.apache.maven.plugins:maven-compiler-plugin)
BuildRequires: mvn(org.apache.maven.plugins:maven-source-plugin)
BuildRequires: mvn(commons-codec:commons-codec)
BuildRequires: mvn(com.fasterxml.jackson.core:jackson-core)
BuildRequires: mvn(com.fasterxml.jackson.core:jackson-databind)
BuildRequires: mvn(org.apache.commons:commons-lang)
BuildRequires: mvn(org.ovirt.engine.api:ovirt-engine-extensions-api)
BuildRequires: mvn(org.slf4j:slf4j-jdk14)
# Required because of old xmvn version in COPR
BuildRequires: maven
Requires: java-11-openjdk-headless >= 1:11.0.0
Requires: javapackages-filesystem
Requires: apache-commons-codec
Requires: apache-commons-lang
Requires: jackson-core
Requires: jackson-databind
Requires: ovirt-engine-extensions-api
Requires: slf4j-jdk14
%description
This package contains the oVirt Engine Local Users Management Extension
to manage users stored in PostgreSQL database.
%prep
%setup -c -q
%build
# Necessary to override the default for xmvn, which is JDK 8
export JAVA_HOME="/usr/lib/jvm/java-11-openjdk"
%mvn_build -j -f
%install
make %{make_common_opts} install
%mvn_install
%files -f .mfiles
%license LICENSE
%dir %{_javadir}/%{name}
%doc README.admin
%doc README.developer
%{_datadir}/%{name}/
%{_sysconfdir}/ovirt-engine/engine.conf.d/50-%{name}.conf
%{_bindir}/ovirt-aaa-jdbc-tool
%changelog
* Mon Oct 03 2022 Martin Perina <[email protected]> 1.3.0-1
- core: Upgrade to Jackson 2.10.3
- fix README.developer to use install-dev
- improve ovirt-engine-extension-aaa-jdbc readme
- automation: build: require https on maven central
- copr: enable copr builds
- core: Upgrade to Jackson 2.12.1
- Add CI based on GH actions
- Add make to build dependencies and skip unit tests
- Finish moving project to Github
- Update scm section in pom.xml to use GitHub URLs
- Mark temp repo directory as safe for COPR
- Remove dependency on slf4j
- Require maven package due to old xmvn in COPR
* Fri Feb 14 2020 Martin Perina <[email protected]> 1.2.0-1
- Use maven to build the project
- Use OpenJDK 11 to build the project
- Use ovirt-engine-extensions-api >= 1.0.1
* Fri Nov 22 2019 Martin Perina <[email protected]> 1.1.90-1
- Fixed bug 1714633
- Allow aaa-jdbc-tool to be executed with OpenJDK 11
* Wed Mar 06 2019 Martin Perina <[email protected]> 1.1.10-1
- Fixed bug 1685968
* Mon Mar 04 2019 Martin Perina <[email protected]> 1.1.9-1
- Fixed bug 1619391
* Fri Nov 23 2018 Martin Perina <[email protected]> 1.1.8-1
- Fix Fedora build issues
* Wed Feb 14 2018 Martin Perina <[email protected]> 1.1.7-1
- Add missing indexes
- Use NativePRNG instead of SHA1PRNG
* Wed Jul 12 2017 Martin Perina <[email protected]> 1.1.6-1
- Contains fix for last minute issue found when verifying bug 1389673
* Thu May 19 2017 Martin Perina <[email protected]> 1.1.5-1
- Fixed bug 1389673
* Thu Feb 09 2017 Martin Perina <[email protected]> 1.1.4-1
- Fixed bug 1415704
* Mon Jan 30 2017 Martin Perina <[email protected]> 1.1.3-1
- Fixed bug 1416935
* Fri Nov 18 2016 Martin Perina <[email protected]> 1.1.2-1
- Fixed bug 1391154
- Newly required OpenJDK 1.8 to support new langiage features
* Tue Oct 11 2016 Martin Perina <[email protected]> 1.1.1-1
- Fixed bug 1373111
- Fixed wrong return state when add group failed after group was added to db
* Thu May 26 2016 Martin Perina <[email protected]> 1.1.0-1
- Removes EL6 support
- Fixed classloading issue in WildFly 10
* Fri Apr 15 2016 Martin Perina <[email protected]> 1.0.7-1
- Fixed bug 1304368
* Thu Jan 28 2016 Martin Perina <[email protected]> 1.0.6-1
- Fixed bugs 1299773, 1299793
* Tue Jan 05 2016 Martin Perina <[email protected]> 1.0.5-1
- Fixes documentation about upgrading aaa-jdbc (bug 1293338)
* Fri Nov 27 2015 Martin Perina <[email protected]> 1.0.4-1
- Finally fixed bug 1241879
* Mon Nov 23 2015 Martin Perina <[email protected]> 1.0.3-1
- Fixed bug 1283936
* Fri Nov 06 2015 Martin Perina <[email protected]> 1.0.2-1
- Fixed bugs 1277398, 1241883, 1241879, 1275667
* Mon Oct 19 2015 Martin Perina <[email protected]> 1.0.1-1
- Fixed bugs 1269870, 1270821, 1241851
* Tue Oct 06 2015 Martin Perina <[email protected]> 1.0.0-1
- Initial release