Discussion:
[Freeipa-devel] [freeipa PR#596][opened] spec file: support client-only build
HonzaCholasta
2017-03-15 08:14:24 UTC
Permalink
URL: https://github.com/freeipa/freeipa/pull/596
Author: HonzaCholasta
Title: #596: spec file: support client-only build
Action: opened

PR body:
"""
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
"""

To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/596/head:pr596
git checkout pr596
HonzaCholasta
2017-03-15 09:03:27 UTC
Permalink
URL: https://github.com/freeipa/freeipa/pull/596
Author: HonzaCholasta
Title: #596: spec file: support client-only build
Action: synchronized

To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/596/head:pr596
git checkout pr596
lslebodn
2017-03-15 09:14:08 UTC
Permalink
URL: https://github.com/freeipa/freeipa/pull/596
Title: #596: spec file: support client-only build

lslebodn commented:
"""
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

"""

See the full comment at https://github.com/freeipa/freeipa/pull/596#issuecomment-286683090
tiran
2017-03-15 09:32:32 UTC
Permalink
URL: https://github.com/freeipa/freeipa/pull/596
Title: #596: spec file: support client-only build

tiran commented:
"""
```ipa-getkeytab``` uses ```libini_config``` and ```libsasl2```.
"""

See the full comment at https://github.com/freeipa/freeipa/pull/596#issuecomment-286687873
HonzaCholasta
2017-03-15 09:32:27 UTC
Permalink
URL: https://github.com/freeipa/freeipa/pull/596
Title: #596: spec file: support client-only build

HonzaCholasta commented:
"""
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.
"""

See the full comment at https://github.com/freeipa/freeipa/pull/596#issuecomment-286687860
pvomacka
2017-03-15 09:51:17 UTC
Permalink
URL: https://github.com/freeipa/freeipa/pull/596
Title: #596: spec file: support client-only build

pvomacka commented:
"""
Client only build does not work on Fedora. So NACK.
"""

See the full comment at https://github.com/freeipa/freeipa/pull/596#issuecomment-286692657
lslebodn
2017-03-15 09:56:44 UTC
Permalink
URL: https://github.com/freeipa/freeipa/pull/596
Title: #596: spec file: support client-only build

lslebodn commented:
"""
Post by HonzaCholasta
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

"""

See the full comment at https://github.com/freeipa/freeipa/pull/596#issuecomment-286694086
HonzaCholasta
2017-03-15 10:59:02 UTC
Permalink
URL: https://github.com/freeipa/freeipa/pull/596
Author: HonzaCholasta
Title: #596: spec file: support client-only build
Action: synchronized

To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/596/head:pr596
git checkout pr596
HonzaCholasta
2017-03-15 11:30:42 UTC
Permalink
URL: https://github.com/freeipa/freeipa/pull/596
Author: HonzaCholasta
Title: #596: spec file: support client-only build
Action: synchronized

To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/596/head:pr596
git checkout pr596
HonzaCholasta
2017-03-15 11:31:15 UTC
Permalink
URL: https://github.com/freeipa/freeipa/pull/596
Title: #596: spec file: support client-only build

HonzaCholasta commented:
"""
This PR now depends on PR #597.
"""

See the full comment at https://github.com/freeipa/freeipa/pull/596#issuecomment-286715408
HonzaCholasta
2017-03-15 11:32:04 UTC
Permalink
URL: https://github.com/freeipa/freeipa/pull/596
Author: HonzaCholasta
Title: #596: spec file: support client-only build
Action: synchronized

To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/596/head:pr596
git checkout pr596
HonzaCholasta
2017-03-15 11:42:56 UTC
Permalink
URL: https://github.com/freeipa/freeipa/pull/596
Author: HonzaCholasta
Title: #596: spec file: support client-only build
Action: synchronized

To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/596/head:pr596
git checkout pr596
pvomacka
2017-03-15 11:56:10 UTC
Permalink
URL: https://github.com/freeipa/freeipa/pull/596
Title: #596: spec file: support client-only build

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

See the full comment at https://github.com/freeipa/freeipa/pull/596#issuecomment-286720580
pvomacka
2017-03-15 12:34:26 UTC
Permalink
URL: https://github.com/freeipa/freeipa/pull/596
Title: #596: spec file: support client-only build

pvomacka commented:
"""
ipa server build without tests does not work, so NACK
"""

See the full comment at https://github.com/freeipa/freeipa/pull/596#issuecomment-286728170
HonzaCholasta
2017-03-15 12:39:50 UTC
Permalink
URL: https://github.com/freeipa/freeipa/pull/596
Author: HonzaCholasta
Title: #596: spec file: support client-only build
Action: synchronized

To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/596/head:pr596
git checkout pr596
HonzaCholasta
2017-03-15 12:40:14 UTC
Permalink
URL: https://github.com/freeipa/freeipa/pull/596
Title: #596: spec file: support client-only build

HonzaCholasta commented:
"""
Now that PR #502 was pushed this should finally work.
"""

See the full comment at https://github.com/freeipa/freeipa/pull/596#issuecomment-286729368
pvomacka
2017-03-15 13:29:02 UTC
Permalink
URL: https://github.com/freeipa/freeipa/pull/596
Title: #596: spec file: support client-only build

Label: +ack
HonzaCholasta
2017-03-15 13:36:16 UTC
Permalink
URL: https://github.com/freeipa/freeipa/pull/596
Title: #596: spec file: support client-only build

HonzaCholasta commented:
"""
master:

* 417f1926c48b426b34b18edb28869f4f06824873 spec file: support client-only build
"""

See the full comment at https://github.com/freeipa/freeipa/pull/596#issuecomment-286742894
HonzaCholasta
2017-03-15 13:36:15 UTC
Permalink
URL: https://github.com/freeipa/freeipa/pull/596
Title: #596: spec file: support client-only build

Label: +pushed
HonzaCholasta
2017-03-15 13:35:46 UTC
Permalink
URL: https://github.com/freeipa/freeipa/pull/596
Author: HonzaCholasta
Title: #596: spec file: support client-only build
Action: synchronized

To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/596/head:pr596
git checkout pr596
HonzaCholasta
2017-03-15 13:36:18 UTC
Permalink
URL: https://github.com/freeipa/freeipa/pull/596
Author: HonzaCholasta
Title: #596: spec file: support client-only build
Action: closed

To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/596/head:pr596
git checkout pr596

Loading...