README.md

Python 3.6 based on Fedora's "flatpackage" with added Debian/Ubuntu support

This repository contains the packaging for Python 3.6 derived from Fedora's python36 package with added support for being built for Debian/Ubuntu using debbuild.

How to build the package (rpm)

On a RPM system,

  1. Install the rpm-build package
  2. Create the folder tree: mkdir -p ~/rpmbuild/{SPECS,SOURCES,BUILD,BUILDROOT,RPMS,SRPMS}
  3. Copy all the source files into ~/rpmbuild/SOURCES
  4. Download the Python 3.6 source tarball referenced in the spec and put it in ~/rpmbuild/SOURCES
  5. Copy the spec to ~/rpmbuild/SPECS
  6. Run rpmbuild: rpmbuild -ba ~/rpmbuild/SPECS/python36.spec

How to build the package (deb)

On a Debian/Ubuntu system,

  1. Install debbuild using the deb from the project releases page.
  2. Create the folder tree: mkdir -p ~/debbuild/{SPECS,SOURCES,BUILD,BUILDROOT,DEBS,SDEBS}
  3. Copy all the source files into ~/debbuild/SOURCES
  4. Download the Python 3.6 source tarball referenced in the spec and put it in ~/debbuild/SOURCES
  5. Copy the spec to ~/debbuild/SPECS
  6. Run debbuild: debbuild -ba ~/debbuild/SPECS/python36.spec