Skip to content

Commit

Permalink
Fixed rpmbuild spec file
Browse files Browse the repository at this point in the history
Signed-off-by: Nguyen Van Nguyen <[email protected]>
  • Loading branch information
nguyennv committed Apr 20, 2023
1 parent ebe0eff commit dd3254b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rpms/zm-sso.spec
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ mvn clean package

%install
mkdir -p $RPM_BUILD_ROOT/opt/zimbra/lib/ext/zm-sso
mkdir -p $RPM_BUILD_ROOT/opt/zimbra/jetty_base/common/lib
mkdir -p $RPM_BUILD_ROOT/opt/zimbra/conf
cp -R target/*.jar $RPM_BUILD_ROOT/opt/zimbra/lib/ext/zm-sso
cp -R target/dependencies/*.jar $RPM_BUILD_ROOT/opt/zimbra/jetty_base/common/lib
Expand All @@ -38,6 +39,7 @@ su - zimbra -c "zmprov fc all"

%files
/opt/zimbra/lib/ext/zm-sso/*.jar
/opt/zimbra/jetty_base/common/lib/*.jar
/opt/zimbra/conf/zm.sso.properties

%changelog
Expand Down

0 comments on commit dd3254b

Please sign in to comment.