Merge pull request #10783 from akallabeth/rpm-fix
[ci,nightly] fix missing files in RPM spec
This commit is contained in:
commit
0a6679b793
@ -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
11
packaging/scripts/create_rpm.sh
Executable 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"
|
Loading…
Reference in New Issue
Block a user