[Pkg-privacy-commits] [onionshare] 27/66: Updated build instructions and script for RPM based distros
Ulrike Uhlig
u-guest at moszumanska.debian.org
Wed Apr 13 22:17:48 UTC 2016
This is an automated email from the git hooks/post-receive script.
u-guest pushed a commit to branch master
in repository onionshare.
commit fdca383d319cfaa7230a15d403516dbbc486a66a
Author: Micah Lee <micah at micahflee.com>
Date: Sat Feb 13 17:36:18 2016 -0800
Updated build instructions and script for RPM based distros
---
BUILD.md | 6 ++++--
install/build_rpm.sh | 4 ++--
2 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/BUILD.md b/BUILD.md
index e6994a5..9652442 100644
--- a/BUILD.md
+++ b/BUILD.md
@@ -23,14 +23,16 @@ Note that OnionShare uses stdeb to generate Debian packages, and `python3-stdeb`
*For .rpm-based distros (Red Hat, Fedora, CentOS):*
```sh
-sudo yum install -y rpm-build python-flask python-stem pyqt4
+sudo sudo dnf install -y rpm-build python3-flask python3-stem python3-qt5
./install/build_rpm.sh
sudo yum install -y dist/onionshare-*.rpm
```
+Depending on your distribution, you may need to use `yum` instead of `dnf`.
+
*For ArchLinux:*
-There is a PKBUILD available [here](https://aur.archlinux.org/packages/onionshare/) that can be used to install onionshare
+There is a PKBUILD available [here](https://aur.archlinux.org/packages/onionshare/) that can be used to install OnionShare.
## Mac OS X
diff --git a/install/build_rpm.sh b/install/build_rpm.sh
index 67612b5..954197b 100755
--- a/install/build_rpm.sh
+++ b/install/build_rpm.sh
@@ -9,9 +9,9 @@ VERSION=`cat version`
rm -r build dist >/dev/null 2>&1
# build binary package
-python setup.py bdist_rpm --requires="python-flask, python-stem, pyqt4"
+python3 setup.py bdist_rpm --requires="python3-flask, python3-stem, python3-qt5"
# install it
echo ""
echo "To install, run:"
-echo "sudo yum install dist/onionshare-$VERSION-1.noarch.rpm"
+echo "sudo dnf install dist/onionshare-$VERSION-1.noarch.rpm"
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/onionshare.git
More information about the Pkg-privacy-commits
mailing list