Overview#

Tomcat 8.5 source code is available at apache/tomcat85.

Prerequisites#

To install build dependencies:

$ dnf builddep tomcat

Building Upstream Tomcat#

To get upstream Tomcat 8.5 source code:

$ git clone https://github.com/apache/tomcat85.git
$ cd tomcat85

To build binaries:

$ ant

To create source tarball:

$ ant package-src-tgz

Fedora Development#

csutherl’s Repository#

To create a COPR build:

  • Source Type: Build from an SCM repository

  • SCM type: git

  • Clone URL: csutherl/tomcat-dev-rpm

  • Committish: tomcat-8.5.x

  • Build SRPM with: tito_test

To create a local build:

$ git clone https://github.com/csutherl/tomcat-dev-rpm.git
$ cd tomcat-dev-rpm
$ fedpkg --release f25 local

Getting Source Package#

To get the source package:

$ fedpkg clone tomcat
$ cd tomcat
$ git checkout -b f28 origin/f28

To update source tarball:

$ sha512sum --tag apache-tomcat-8.5.32-src.tar.gz > sources

Creating Local Build#

To create a local build:

$ fedpkg local

To install the local build:

$ dnf install noarch/*

Creating COPR Build#

To create a COPR build:

$ fedpkg copr-build pki-10.6

References#