Skip to content

Commit

Permalink
Merge pull request #75 from simaishi/add_webpack_manifest
Browse files Browse the repository at this point in the history
Add webpack manifest

(cherry picked from commit 93e52a5)
  • Loading branch information
Fryguy authored and simaishi committed Jul 17, 2020
1 parent 96e1df2 commit a7ed302
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
4 changes: 3 additions & 1 deletion rpm_spec/manageiq.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,9 @@ install -m644 %{gemset_builddir}/enable %{buildroot}%{gemset_root}
%{__mkdir} -p %{buildroot}%{manifest_root}
%{__cp} -r %{manifest_builddir}/* %{buildroot}%{manifest_root}

# Move webpack manifest
%{__mv} %{buildroot}%{app_root}/public/packs/webpack-modules-manifest.json %{buildroot}%{manifest_root}/webpack_manifest.json

# workaround
%{__rm} -rf %{buildroot}/%{gemset_root}/gems/ffi-*/ext

Expand Down Expand Up @@ -126,7 +129,6 @@ popd
#copy all files/directories below COPY
%{__cp} -r ./%{appliance_builddir}/COPY/* %{buildroot}/


%clean
rm -rf $RPM_BUILD_ROOT

1 change: 1 addition & 0 deletions rpm_spec/subpackages/manageiq-gemset
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,4 @@ Requires: network-scripts
%{gemset_root}/specifications
%{gemset_root}/vmdb
%{gemset_root}/enable
%{manifest_root}/gem_manifest.csv
2 changes: 1 addition & 1 deletion rpm_spec/subpackages/manageiq-system
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Requires: openldap-clients
/root/.ansible.cfg
%{appliance_root}
%{app_root}/log/apache
%{manifest_root}
%dir %{manifest_root}
%{_bindir}/cloud_ds_check.sh
%{_bindir}/cockpit-auth-miq
%{_bindir}/evm*
Expand Down
2 changes: 2 additions & 0 deletions rpm_spec/subpackages/manageiq-ui
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,6 @@ Requires: httpd
%{app_root}/public/assets
%{app_root}/public/packs
%{app_root}/public/ui
%{manifest_root}/npm_manifest.csv
%{manifest_root}/webpack_manifest.json
%config(noreplace) %{app_root}/public/custom.css

0 comments on commit a7ed302

Please sign in to comment.