New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
spec file: support client-only build #596
Conversation
|
You can also move few dependencies to server only build Check spec file changes in rejected PR https://github.com/freeipa/freeipa/pull/494/files otherwise LGTM |
|
I can't, both are required to build client components ( |
|
|
|
Client only build does not work on Fedora. So NACK. |
|
On (15/03/17 02:32), Jan Cholasta wrote:
I can't, both are required to build client components (`ipa-getkeytab` specifically), moving them to the server section would break client-only RPM build.
Sorry for confusion. I misinterpreted changes in diff.
The real change was moving following part to server only build
```
# %{_unitdir}, %{_tmpfilesdir}
BuildRequires: systemd
# systemd-tmpfiles which is executed from make install requires apache user
BuildRequires: httpd
```
But git diff decided to show moving of other lines
LS
|
|
This PR now depends on PR #597. |
|
@HonzaCholasta Thank you for update - only client build on Fedora now works. So ACK once the travis pass. |
|
ipa server build without tests does not work, so NACK |
|
Now that PR #502 was pushed this should finally work. |
|
master:
|
nspr-devel, nss-devel and openssl-devel are required for client-only build,
move their respective BuildRequires from the server-specific BuildRequires
section to the main BuildRequires section.
Pass --enable-server or --disable-server to ./configure based on the value
of %{ONLY_CLIENT}.
Remove the `make client-check` call from %check, as the client-check target
does not exist anymore. Always call `make check` instead.
Do not package the /usr/share/ipa directory in freeipa-client-common, as it
is not created in client-only build.
https://pagure.io/freeipa/issue/6517
nspr-devel, nss-devel and openssl-devel are required for client-only build,
move their respective BuildRequires from the server-specific BuildRequires
section to the main BuildRequires section.
Pass --enable-server or --disable-server to ./configure based on the value
of %{ONLY_CLIENT}.
Remove the
make client-checkcall from %check, as the client-check targetdoes not exist anymore. Always call
make checkinstead.Do not package the /usr/share/ipa directory in freeipa-client-common, as it
is not created in client-only build.
https://pagure.io/freeipa/issue/6517