Skip to content

Commit

Permalink
auto get files in rpm
Browse files Browse the repository at this point in the history
  • Loading branch information
waruqi committed Dec 18, 2023
1 parent e554da0 commit 496c749
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions xmake/scripts/xpack/srpm/srpm.spec
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 496c749

Please sign in to comment.