Skip to content

Commit

Permalink
Introduce Packit config and upstream some spec updates
Browse files Browse the repository at this point in the history
  • Loading branch information
ckelleyRH committed Jun 16, 2023
1 parent d7656b8 commit 7ce96c1
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .packit.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
---
# See the documentation for more information:
# https://packit.dev/docs/configuration/
specfile_path: pki.spec

# add or remove files that should be synced
files_to_sync:
- jss.spec
- .packit.yaml

# Allow dist git reactions on packit and ckelley commits and PRs
allowed_pr_authors:
- packit
- ckelleyRH
allowed_committers:
- packit
- ckelleyRH

upstream_package_name: pki
# downstream (Fedora/CentOS) RPM package name
downstream_package_name: dogtag-pki
# see: https://packit.dev/docs/configuration/#upstream_tag_template
upstream_tag_template: "v{version}"

jobs:
- job: propose_downstream
trigger: release
dist_git_branches:
- fedora-development
# - centos-stream-9-x86_64 # When Packit integration with CentOS is avaiable, enable this
6 changes: 6 additions & 0 deletions pki.spec
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,12 @@ BuildRequires: python3-sphinx

BuildRequires: systemd-units

%if 0%{?rhel} && ! 0%{?eln}
BuildRequires: pki-servlet-engine >= 9.0.31
%else
BuildRequires: tomcat >= 1:9.0.31
%endif

# additional build requirements needed to build native 'tpsclient'
# REMINDER: Revisit these once 'tpsclient' is rewritten as a Java app
BuildRequires: apr-devel
Expand Down

0 comments on commit 7ce96c1

Please sign in to comment.