Skip to content

Commit

Permalink
add depedencys to spec file
Browse files Browse the repository at this point in the history
* fix ci
* rpm need fixing in %build and %install
  • Loading branch information
MrDuartePT committed Aug 28, 2023
1 parent 783ac5a commit fc42d9d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion deploy/python_install_installer_pkg.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
set -ex
DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
REPODIR="${DIR}"
REPODIR="${DIR}/.."
TAG="1.0.0"

cd ${REPODIR}/python/legion_linux
Expand Down
4 changes: 2 additions & 2 deletions deploy/python_install_pip_pkg.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#!/bin/bash
set -ex
DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
REPODIR="${DIR}"
REPODIR="${DIR}/.."
TAG="1.0.0"

cd ${REPODIR}/../python/legion_linux
cd ${REPODIR}/python/legion_linux
sed -i "s/version = _VERSION/version = ${TAG}/g" setup.cfg

# Build and install python package
Expand Down
7 changes: 7 additions & 0 deletions python/legion_linux/lenovolegionlinux.spec
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,13 @@ Vendor: johnfan <johnfan@example.org>
Packager: Gonçalo Negrier Duarte <gonegrier.duarte@gamil.com>
Url: https://github.com/johnfanv2/LenovoLegionLinux

Requires: python-build
Requires: python-setuptools
Requires: PyQt5
Requires: python3-darkdetect
Requires: python-pyyaml
Requires: python-argcomplete

%description
See documenation of LenovoLegionLinux

Expand Down

0 comments on commit fc42d9d

Please sign in to comment.