diff options
author | Endi Sukma Dewata <edewata@redhat.com> | 2012-12-06 13:06:14 -0500 |
---|---|---|
committer | Endi Sukma Dewata <edewata@redhat.com> | 2012-12-06 13:06:14 -0500 |
commit | 145114f713a58ed5ce896e2192e50eeb382a3c74 (patch) | |
tree | 381a6f98d29ba699ef3c9aac4c54014804a5aa29 /specs/pki-core.spec | |
parent | 79ff01ef76f2a4ca44d02bceb7173541328bef3b (diff) | |
download | pki-145114f713a58ed5ce896e2192e50eeb382a3c74.tar.gz pki-145114f713a58ed5ce896e2192e50eeb382a3c74.tar.xz pki-145114f713a58ed5ce896e2192e50eeb382a3c74.zip |
Added RESTEASY_LIB.ticket-422
Diffstat (limited to 'specs/pki-core.spec')
-rw-r--r-- | specs/pki-core.spec | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/specs/pki-core.spec b/specs/pki-core.spec index 8c3c7913e..4051ad732 100644 --- a/specs/pki-core.spec +++ b/specs/pki-core.spec @@ -462,7 +462,6 @@ This package is a part of the PKI Core used by the Certificate System. %clean %{__rm} -rf %{buildroot} - %build %{__mkdir_p} build cd build @@ -471,6 +470,11 @@ cd build -DBUILD_PKI_CORE:BOOL=ON \ -DJAVA_LIB_INSTALL_DIR=%{_jnidir} \ -DSYSTEMD_LIB_INSTALL_DIR=%{_unitdir} \ +%if 0%{?rhel} + -DRESTEASY_LIB=/usr/share/java/resteasy-base \ +%else + -DRESTEASY_LIB=/usr/share/java/resteasy \ +%endif %{?_without_javadoc:-DWITH_JAVADOC:BOOL=OFF} \ %if ! 0%{?rhel} && 0%{?fedora} <= 17 -DBUILD_PKI_SELINUX:BOOL=ON \ |