diff options
| author | ruki <[email protected]> | 2020-09-27 09:30:03 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-09-27 09:30:03 +0800 |
| commit | 34e395ad9281d17382b1d1c5a4e7828a259720f0 (patch) | |
| tree | f140a80eb68917d7749e4bf9555b805ed1b018ad | |
| parent | f3d155b4d305142157f17a6b15c29b88f3d525b8 (diff) | |
remove xmake root for xmake.spec
| -rw-r--r-- | .github/workflows/fedora.yml | 1 | ||||
| -rw-r--r-- | scripts/rpmbuild/SPECS/xmake.spec | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/.github/workflows/fedora.yml b/.github/workflows/fedora.yml index ed6dc1bc9..64df01833 100644 --- a/.github/workflows/fedora.yml +++ b/.github/workflows/fedora.yml @@ -34,6 +34,7 @@ jobs: # build artifacts - name: artifact run: | + export XMAKE_ROOT=y dnf -y install ncurses-devel readline-devel rpmbuild -ba ./scripts/rpmbuild/SPECS/xmake.spec cp ~/rpmbuild/SRPMS/xmake-*.fc32.src.rpm ./scripts/xmake-latest.fc32.src.rpm diff --git a/scripts/rpmbuild/SPECS/xmake.spec b/scripts/rpmbuild/SPECS/xmake.spec index 51c27a9c2..7771bfb10 100644 --- a/scripts/rpmbuild/SPECS/xmake.spec +++ b/scripts/rpmbuild/SPECS/xmake.spec @@ -1,4 +1,4 @@ -%define xmake_revision efcbfbb854270cb212c39bfd377846e59c65c951 +%define xmake_revision dev %define tbox_revision f4970bcd0fcc05b09742452a4b3b3d2d1055569d %define sv_revision 9a3cf7c8e589de4f70378824329882c4a047fffc %define lua_cjson_revision 515bab6d6d80b164b94db73af69609ea02f3a798 @@ -68,7 +68,7 @@ cp -p README.md %{buildroot}%{_datadir} cp -p LICENSE.md %{buildroot}%{_datadir} %check -XMAKE_ROOT=y %{buildroot}%{_bindir}/%{name} --version +%{buildroot}%{_bindir}/%{name} --version %files %{_bindir}/%{name} |
