File: 0006-Exclude-docs-and-config-files-from-jar.patch

package info (click to toggle)
puppetdb 8.4.1-4
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 19,624 kB
  • sloc: javascript: 23,285; ruby: 5,605; sh: 3,455; python: 389; xml: 114; makefile: 38
file content (25 lines) | stat: -rw-r--r-- 857 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From: =?utf-8?b?SsOpcsO0bWUgQ2hhcmFvdWk=?= <jerome@riseup.net>
Date: Thu, 26 Jan 2023 18:53:54 -0500
Subject: Exclude docs and config files from jar

Forwarded: not-needed
---
 project.clj | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Index: puppetdb/project.clj
===================================================================
--- puppetdb.orig/project.clj
+++ puppetdb/project.clj
@@ -300,9 +300,9 @@
              :uberjar {:dependencies [[org.bouncycastle/bcpkix-jdk18on]]
                        :aot ~pdb-aot-namespaces}}
 
-  :jar-exclusions [#"leiningen/"]
+  :jar-exclusions [#"leiningen/" #"^benchmark/" #"^ext/"]
 
-  :resource-paths ["resources" "puppet/lib" "resources/puppetlabs/puppetdb" "resources/ext/docs"]
+  :resource-paths ["resources" "puppet/lib" "resources/puppetlabs/puppetdb"]
 
   :main puppetlabs.puppetdb.core