Skip to content
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

Closed
wants to merge 1 commit into from
Closed

spec file: support client-only build #596

wants to merge 1 commit into from

Conversation

HonzaCholasta
Copy link
Contributor

@HonzaCholasta HonzaCholasta commented Mar 15, 2017

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

@lslebodn
Copy link
Contributor

You can also move few dependencies to server only build

BuildRequires:  libini_config-devel
BuildRequires:  cyrus-sasl-devel

Check spec file changes in rejected PR https://github.com/freeipa/freeipa/pull/494/files

otherwise LGTM

@HonzaCholasta
Copy link
Contributor Author

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.

@tiran
Copy link
Member

tiran commented Mar 15, 2017

ipa-getkeytab uses libini_config and libsasl2.

@pvomacka
Copy link

Client only build does not work on Fedora. So NACK.

@lslebodn
Copy link
Contributor

lslebodn commented Mar 15, 2017 via email

@HonzaCholasta
Copy link
Contributor Author

This PR now depends on PR #597.

@pvomacka
Copy link

@HonzaCholasta Thank you for update - only client build on Fedora now works. So ACK once the travis pass.

@pvomacka
Copy link

ipa server build without tests does not work, so NACK

@HonzaCholasta
Copy link
Contributor Author

Now that PR #502 was pushed this should finally work.

@pvomacka pvomacka added the ack Pull Request approved, can be merged label Mar 15, 2017
@HonzaCholasta HonzaCholasta added the pushed Pull Request has already been pushed label Mar 15, 2017
@HonzaCholasta
Copy link
Contributor Author

master:

  • 417f192 spec file: support client-only build

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ack Pull Request approved, can be merged pushed Pull Request has already been pushed
Projects
None yet
4 participants