Fixing rpmlint from review
This commit is contained in:
parent
6a468beba6
commit
3474aa8cb2
2 changed files with 20 additions and 15 deletions
|
|
@ -1,3 +1,7 @@
|
|||
# adoptium-temurin-java-repository
|
||||
|
||||
The adoptium-temurin-java-repository package
|
||||
|
||||
This package adds Eclipse Adoptium JDKs as a replacement for JDKs which are no longer included in Fedora
|
||||
|
||||
https://adoptium.net/installation/linux/
|
||||
|
|
|
|||
|
|
@ -4,20 +4,21 @@
|
|||
# 0/1 may vary in time, and is always enabled to 1 per FESCO exception
|
||||
%global enabled_by_default 0
|
||||
|
||||
Name: adoptium-temurin-java-repository
|
||||
Version: 1
|
||||
Release: %autorelease
|
||||
Summary: Fedora package repository files for yum and dnf along with gpg public keys.
|
||||
Name: adoptium-temurin-java-repository
|
||||
Version: 1
|
||||
Release: %autorelease
|
||||
Summary: Fedora package repository files for yum and dnf along with gpg public keys
|
||||
|
||||
License: EPL-2.0
|
||||
URL: https://adoptium.net/installation/linux/#_centosrhelfedora_instructions
|
||||
Source0: LICENSE
|
||||
Source1: %{name}.conf
|
||||
Source2: %{reponame}
|
||||
License: EPL-2.0
|
||||
URL: https://adoptium.net/installation/linux/#_centosrhelfedora_instructions
|
||||
Source0: LICENSE
|
||||
Source1: %{name}.conf
|
||||
Source2: %{reponame}
|
||||
Source3: README.md
|
||||
|
||||
BuildArch: noarch
|
||||
BuildArch: noarch
|
||||
# fedora-third-party contains tools to work with 3rd party repos and owns fedora-third-party/conf.d/ directory
|
||||
Requires: fedora-third-party
|
||||
Requires: fedora-third-party
|
||||
|
||||
|
||||
%description
|
||||
|
|
@ -36,13 +37,13 @@ cat %{SOURCE2} | sed "s/^enabled=0/enabled=%{enabled_by_default}/" > %{reponame
|
|||
install -D -m0644 %{SOURCE0} %{buildroot}%{_datadir}/licenses/%{name}/LICENSE
|
||||
install -D -m0644 %{SOURCE1} -t %{buildroot}%{thirdparty}/
|
||||
install -D -m0644 %{reponame} -t %{buildroot}%{repodir}/
|
||||
install -D -m0644 %{SOURCE3} -t %{buildroot}%{_docdir}/%{name}/
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
%{thirdparty}/*
|
||||
%{repodir}/*
|
||||
%config %{repodir}/%{reponame}
|
||||
%doc README.md
|
||||
|
||||
%changelog
|
||||
* Wed Sep 18 2024 Jiri Vanek <jvanek@redhat.com> - 1-1
|
||||
- intial load
|
||||
- replace by %%autochangelog once there is gitrepo
|
||||
%autochangelog
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue