Modify stdeb settings so that .deb that gets built will run in Ubuntu 14.04

This commit is contained in:
Micah Lee 2016-02-13 17:10:43 -08:00
parent deac54db92
commit 42696cde91
2 changed files with 4 additions and 2 deletions

View file

@ -18,6 +18,7 @@ sudo apt-get install -y build-essential fakeroot python3-all python3-stdeb pytho
./install/build_deb.sh
sudo dpkg -i deb_dist/onionshare_*.deb
```
Note that OnionShare uses stdeb to generate Debian packages, and `python3-stdeb` is not available in Ubuntu 14.04 (Trusty). Because of this, you can't use the `build_install.sh` script to build the .deb file in versions of Ubuntu 14.04 and earlier. However, .deb files you build in later versions of Ubuntu will install and work fine in 14.04.
*For .rpm-based distros (Red Hat, Fedora, CentOS):*

View file

@ -1,5 +1,6 @@
[DEFAULT]
Package3: onionshare
Depends3: python3-flask, python3-stem, python3-pyqt5
Build-Depends3: python3-stdeb, python3-nose
Suite: trusty
Build-Depends3: python3-nose
Suite: trusty utopic vivid wily xenial jessie
X-Python3-Version: >= 3.2