Tweak subpackage naming and descriptions

epel9
Maxwell G 3 years ago
parent a7fd284dc5
commit 4d469d2654
No known key found for this signature in database
GPG Key ID: F79E4E25E8C661F8

@ -4,7 +4,6 @@
# SPDX-FileCopyrightText: 2022 Maxwell G <gotmax@e.email> # SPDX-FileCopyrightText: 2022 Maxwell G <gotmax@e.email>
# SPDX-FileCopyrightText: Fedora Project Authors # SPDX-FileCopyrightText: Fedora Project Authors
%global _docdir_fmt %{name}
# Pagure does not support downloading raw files of tags. # Pagure does not support downloading raw files of tags.
# Referencing the commit hash is necessary # Referencing the commit hash is necessary
%dnl %global upstream_version 3.2.0 %dnl %global upstream_version 3.2.0
@ -37,7 +36,7 @@ Requires: go-srpm-macros-epel = %{version}-%{release}
Requires: /usr/bin/golist Requires: /usr/bin/golist
%description %description
This package contains backports of certain Go RPM macros from Fedora. go-rpm-macros-epel contains backports of certain Go RPM macros from Fedora.
%package -n go-srpm-macros-epel %package -n go-srpm-macros-epel
@ -45,21 +44,22 @@ Summary: Backport of certain Go SRPM macros from Fedora
BuildArch: noarch BuildArch: noarch
%description -n go-srpm-macros-epel %description -n go-srpm-macros-epel
This package contains backports of certain Go SRPM macros from Fedora. go-srpm-macros-epel contains backports of certain Go SRPM macros from Fedora.
%package golist-symlink %package -n go-rpm-macros-golist-symlink
Summary: Provides symlink to the bundled golist in go-rpm-macros Summary: Provides symlink to the bundled golist in go-rpm-macros
# The package just provides a symlink. # The package just provides a symlink.
License: Unlicense License: Unlicense
# Conflict with standard golist in case that gets packaged.
Conflicts: golist
Requires: go-rpm-macros Requires: go-rpm-macros
%description golist-symlink %description -n go-rpm-macros-golist-symlink
This package provides symlink to the bundled golist in go-rpm-macros go-rpm-macros-golist-symlink provides a symlink from /usr/bin to
go-rpm-macros's bundled golist, which is installed in
RHEL's go-rpm-macros package bundled a modified golist and installs it to /usr/libexec/go-rpm-macros. This allows the macros that expect to find golist
%{_libexecdir}/go-rpm-macros. However, the macros expect it to be installed in in $PATH to work properly.
%{_bindir}.
This package is split out and namespaced to allow the upstream golist to be This package is split out and namespaced to allow the upstream golist to be
packaged as golist. packaged as golist.

Loading…
Cancel
Save