Merge pull request #10783 from akallabeth/rpm-fix

[ci,nightly] fix missing files in RPM spec
This commit is contained in:
akallabeth 2024-10-25 14:11:37 +02:00 committed by GitHub
commit 0a6679b793
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 12 additions and 4 deletions

View File

@ -214,16 +214,13 @@ export NO_BRP_CHECK_RPATH true
%dir %{INSTALL_PREFIX}/share/man/man1
%dir %{INSTALL_PREFIX}/share/man/man7
%dir %{INSTALL_PREFIX}/share/FreeRDP/FreeRDP3
%dir %{INSTALL_PREFIX}/share/FreeRDP/FreeRDP3/fonts
%dir %{INSTALL_PREFIX}/share/FreeRDP/FreeRDP3/images
%dir %{INSTALL_PREFIX}/%{_lib}/freerdp3/proxy/
%{INSTALL_PREFIX}/%{_lib}/*.so.*
%{INSTALL_PREFIX}/%{_lib}/freerdp3/proxy/*.so
%{INSTALL_PREFIX}/bin/*
%{INSTALL_PREFIX}/share/man/man1/*
%{INSTALL_PREFIX}/share/man/man7/*
%{INSTALL_PREFIX}/share/FreeRDP/FreeRDP3/fonts/*
%{INSTALL_PREFIX}/share/FreeRDP/FreeRDP3/images/*
%{INSTALL_PREFIX}/share/FreeRDP/FreeRDP3/*
%files devel
%defattr(-,root,root)

11
packaging/scripts/create_rpm.sh Executable file
View File

@ -0,0 +1,11 @@
#!/bin/bash -xe
#
# Create a RPM package
SCRIPT_PATH=$(dirname "${BASH_SOURCE[0]}")
SCRIPT_PATH=$(realpath "$SCRIPT_PATH")
mkdir -p ~/rpmbuild/SOURCES/
git archive --format=tar HEAD --output ~/rpmbuild/SOURCES/freerdp-nightly-3.0.tar.bz2 --prefix=freerdp-nightly-3.0/
$SCRIPT_PATH/prepare_rpm_freerdp-nightly.sh
cp source_version ~/rpmbuild/SOURCES/
rpmbuild -ba "$SCRIPT_PATH/../rpm/freerdp-nightly.spec"