Skip to content

Commit 3331ec9

Browse files
committed
Update RPM spec file template
1 parent 19a9f01 commit 3331ec9

File tree

1 file changed

+12
-20
lines changed

1 file changed

+12
-20
lines changed

javapackages-bootstrap.spec

Lines changed: 12 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,16 @@
11
# Exclude automatically generated requires on java interpreter which is not
22
# owned by any package
3-
%global __requires_exclude ^%{_jvmdir}/jre
4-
3+
%global __requires_exclude ^%{_jvmdir}/jre
54
# Generated list of bundled packages
6-
%global _local_file_attrs local_generator
7-
%global __local_generator_provides cat %{_builddir}/%{buildsubdir}/bundled-provides.txt
8-
%global __local_generator_path ^%{metadataPath}/.*$
9-
10-
%global debug_package %{nil}
11-
12-
%global javaHomePath %{_jvmdir}/jre-21-openjdk
13-
%global mavenHomePath %{_datadir}/%{name}
14-
%global metadataPath %{mavenHomePath}/maven-metadata
15-
%global artifactsPath %{_prefix}/lib
16-
%global launchersPath %{_libexecdir}/%{name}
5+
%global _local_file_attrs local_generator
6+
%global __local_generator_provides cat %{_builddir}/%{buildsubdir}/bundled-provides.txt
7+
%global __local_generator_path ^%{metadataPath}/.*$
8+
%global debug_package %{nil}
9+
%global javaHomePath %{_jvmdir}/jre-21-openjdk
10+
%global mavenHomePath %{_datadir}/%{name}
11+
%global metadataPath %{mavenHomePath}/maven-metadata
12+
%global artifactsPath %{_prefix}/lib
13+
%global launchersPath %{_libexecdir}/%{name}
1714

1815
Name: javapackages-bootstrap
1916
Version: [...]
@@ -25,10 +22,8 @@ URL: https://github.com/fedora-java/javapackages-bootstrap
2522
ExclusiveArch: %{java_arches}
2623

2724
Source: https://github.com/fedora-java/javapackages-bootstrap/releases/download/%{version}/javapackages-bootstrap-%{version}.tar.zst
28-
2925
# License breakdown
3026
Source: javapackages-bootstrap-PACKAGE-LICENSING
31-
3227
# To obtain the following sources:
3328
# tar -xf ${name}-${version}.tar.zst
3429
# pushd ${name}-${version}
@@ -37,20 +32,17 @@ Source: javapackages-bootstrap-PACKAGE-LICENSING
3732
# ./downstream.sh archive
3833
# The results are in the archive directory
3934
Source: [...]
40-
4135
BuildRequires: byaccj
4236
BuildRequires: gcc
4337
BuildRequires: java-21-openjdk-devel
4438
BuildRequires: jurand
4539
BuildRequires: rpm-devel
46-
4740
Requires: bash
4841
Requires: coreutils
4942
Requires: java-21-openjdk-devel
50-
Requires: procps-ng
51-
Requires: lujavrite%{?_isa}
52-
5343
Requires: javapackages-common
44+
Requires: lujavrite%{?_isa}
45+
Requires: procps-ng
5446

5547
%description
5648
In a nutshell, Java Packages Bootstrap (JPB) is a standalone build of all Java

0 commit comments

Comments
 (0)