diff options
| author | ruki <[email protected]> | 2023-12-18 23:58:42 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2023-12-18 23:58:42 +0800 |
| commit | 496c749bc97222b3c2607540407f4b617d02de38 (patch) | |
| tree | a8306728cb7674fa8ff6a3842bc5aba5dda38e11 /xmake/scripts/xpack | |
| parent | e554da0ac38789803a6cd85a4d85053c3e290021 (diff) | |
auto get files in rpm
Diffstat (limited to 'xmake/scripts/xpack')
| -rw-r--r-- | xmake/scripts/xpack/srpm/srpm.spec | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xmake/scripts/xpack/srpm/srpm.spec b/xmake/scripts/xpack/srpm/srpm.spec index b9bf7d8f9..7c85eed34 100644 --- a/xmake/scripts/xpack/srpm/srpm.spec +++ b/xmake/scripts/xpack/srpm/srpm.spec @@ -26,12 +26,12 @@ ${PACKAGE_DESCRIPTION} %install ${PACKAGE_INSTALLCMDS} +cd %{buildroot} +find . -type f | sed 's!^\./!/!' > %{_builddir}/_installedfiles.txt %check -%files -%{_exec_prefix}/resources/assets/file1.txt -%{_exec_prefix}/resources/assets/file2.txt +%files -f %{_builddir}/_installedfiles.txt %changelog * ${PACKAGE_DATE} ${PACKAGE_MAINTAINER} - ${PACKAGE_VERSION}-1 |
