Skip to content

Commit

Permalink
fix error in package build for fedora and ubuntu
Browse files Browse the repository at this point in the history
Signed-off-by: Gonçalo Negrier Duarte <gonegrier.duarte@gmail.com>
  • Loading branch information
MrDuartePT committed Mar 12, 2024
1 parent 4ac0e6c commit 326513d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion deploy/build_packages/build_deb_LLL.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ cd deb_dist/legion-linux-${TAG}

##Add to debial install
sudo cp -R ${REPODIR}/extra/service/legiond.service .
sudo cp -R ${REPODIR}/extra/service/legiond-onresume.path .
sudo cp -R ${REPODIR}/extra/service/legiond-onresume.service .
sudo cp -R ${REPODIR}/extra/service/legiond/legiond .
sudo cp -R ${REPODIR}/extra/service/legiond/legiond-cli .
echo "legiond.service /etc/systemd/system/" | sudo tee -a debian/install
Expand Down
3 changes: 2 additions & 1 deletion deploy/build_packages/lenovolegionlinux.spec
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-wheel
BuildRequires: python3-pip
BuildRequires: systemd-rpm-macros
Vendor: johnfan <johnfan@example.org>
Packager: Gonçalo Negrier Duarte <gonegrier.duarte@gamil.com>
Url: https://github.com/johnfanv2/LenovoLegionLinux
Expand Down Expand Up @@ -44,7 +45,7 @@ make
%pyproject_save_files legion_linux

install -D -m 0644 %{_builddir}/%{srcname}-%{version}-prerelease/python/legion_linux/legion_linux/extra/service/legiond.service %{_unitdir}/legiond.service
install -D -m 0644 %{_builddir}/%{srcname}-%{version}-prerelease/python/legion_linux/legion_linux/extra/service/legion-onresume.service %{_unitdir}/legiond-onresume.service
install -D -m 0644 %{_builddir}/%{srcname}-%{version}-prerelease/python/legion_linux/legion_linux/extra/service/legiond-onresume.service %{_unitdir}/legiond-onresume.service
install -D -m 0755 %{_builddir}/%{srcname}-%{version}-prerelease/python/legion_linux/legion_linux/extra/service/legiond/legiond-cli %{_bindir}/legiond_cli
install -D -m 0755 %{_builddir}/%{srcname}-%{version}-prerelease/python/legion_linux/legion_linux/extra/service/legiond/legiond %{_bindir}/legiond
%files -n python-%{srcname}
Expand Down

0 comments on commit 326513d

Please sign in to comment.