This is an automated email from the ASF dual-hosted git repository.

tuhaihe pushed a commit to branch REL_2_STABLE
in repository https://gitbox.apache.org/repos/asf/cloudberry-pxf.git

commit dd5d67029d0e3620b6d11c454a3e3683a3cae324
Author: Dianjin Wang <[email protected]>
AuthorDate: Thu Apr 2 17:25:50 2026 +0800

    Include license files in all package distributions
    
    Add NOTICE, DISCLAIMER, and LICENSE files to the stage target
    in Makefile to ensure they are included in all package formats
    (tar, rpm, and deb). This ensures proper license attribution and
    compliance with Apache Software Foundation requirements for all
    distribution methods.
    
    Previously, these files were not copied during the packaging
    process, which could lead to incomplete license information in
    distributed packages.
---
 Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Makefile b/Makefile
index 00079649..8a7ca06e 100644
--- a/Makefile
+++ b/Makefile
@@ -115,6 +115,7 @@ endif
        cp -a server/build/stage/* build/stage/$${PXF_PACKAGE_NAME} ;\
        echo $$(git rev-parse --verify HEAD) > 
build/stage/$${PXF_PACKAGE_NAME}/commit.sha ;\
        cp package/install_binary 
build/stage/$${PXF_PACKAGE_NAME}/install_component ;\
+       cp NOTICE DISCLAIMER LICENSE build/stage/$${PXF_PACKAGE_NAME}/ ;\
        echo "===> PXF staging is complete <==="
 
 tar: stage


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to