mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fix Redhat installation directory permission.
This commit is contained in:
parent
31a91409a0
commit
2b45a1f7d5
@ -80,6 +80,8 @@ fi
|
|||||||
cp -rfa %{pga_build_root}/server/* \${RPM_BUILD_ROOT}
|
cp -rfa %{pga_build_root}/server/* \${RPM_BUILD_ROOT}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
|
%defattr(755,root,root,755)
|
||||||
|
%dir /usr/pgadmin4
|
||||||
/usr/pgadmin4/*
|
/usr/pgadmin4/*
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
@ -121,6 +123,7 @@ cp -rfa %{pga_build_root}/desktop/* \${RPM_BUILD_ROOT}
|
|||||||
/bin/xdg-icon-resource forceupdate
|
/bin/xdg-icon-resource forceupdate
|
||||||
|
|
||||||
%files
|
%files
|
||||||
|
%defattr(755,root,root,755)
|
||||||
/usr/pgadmin4/bin/*
|
/usr/pgadmin4/bin/*
|
||||||
/usr/share/icons/hicolor/128x128/apps/*
|
/usr/share/icons/hicolor/128x128/apps/*
|
||||||
/usr/share/icons/hicolor/64x64/apps/*
|
/usr/share/icons/hicolor/64x64/apps/*
|
||||||
@ -131,7 +134,9 @@ cp -rfa %{pga_build_root}/desktop/* \${RPM_BUILD_ROOT}
|
|||||||
/usr/pgadmin4/sbom-desktop.json
|
/usr/pgadmin4/sbom-desktop.json
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
# Build the Redhat package for the server
|
|
||||||
|
|
||||||
|
# Build the Redhat package for the desktop
|
||||||
rpmbuild --define "pga_build_root ${BUILDROOT}" -bb "${BUILDROOT}/desktop.spec"
|
rpmbuild --define "pga_build_root ${BUILDROOT}" -bb "${BUILDROOT}/desktop.spec"
|
||||||
|
|
||||||
|
|
||||||
@ -168,6 +173,7 @@ The web interface for pgAdmin, hosted under Apache HTTPD. pgAdmin is the most po
|
|||||||
cp -rfa %{pga_build_root}/web/* \${RPM_BUILD_ROOT}
|
cp -rfa %{pga_build_root}/web/* \${RPM_BUILD_ROOT}
|
||||||
|
|
||||||
%files
|
%files
|
||||||
|
%defattr(755,root,root,755)
|
||||||
/usr/pgadmin4/bin/*
|
/usr/pgadmin4/bin/*
|
||||||
%config(noreplace) /etc/httpd/conf.d/*
|
%config(noreplace) /etc/httpd/conf.d/*
|
||||||
/usr/pgadmin4/sbom-web.json
|
/usr/pgadmin4/sbom-web.json
|
||||||
|
Loading…
Reference in New Issue
Block a user