Install docs into the correct directory

epel9
Maxwell G 3 years ago
parent 04762bd86e
commit d656182575
No known key found for this signature in database
GPG Key ID: F79E4E25E8C661F8

@ -11,7 +11,7 @@
Name: go-rpm-macros-epel Name: go-rpm-macros-epel
Version: 1 Version: 1
Release: 6%{?dist} Release: 7%{?dist}
Summary: Backport of certain Fedora Go RPM macros to EPEL Summary: Backport of certain Fedora Go RPM macros to EPEL
License: GPL-3.0-or-later License: GPL-3.0-or-later
@ -88,7 +88,7 @@ ln -s %{_libexecdir}/go-rpm-macros/golist %{buildroot}%{_bindir}/golist
# Install REAMDE and licenses to a single directory for both subpackages. # Install REAMDE and licenses to a single directory for both subpackages.
install -Dpm 0644 README.md README.upstream.md \ install -Dpm 0644 README.md README.upstream.md \
-t %{buildroot}%{_docdir}/%{name}/README.fedora.md -t %{buildroot}%{_docdir}/%{name}
install -Dpm 0644 LICENSE.txt -t %{buildroot}%{_defaultlicensedir}/%{name} install -Dpm 0644 LICENSE.txt -t %{buildroot}%{_defaultlicensedir}/%{name}
%ifarch %{go_arches} %ifarch %{go_arches}
@ -110,6 +110,9 @@ install -Dpm 0644 LICENSE.txt -t %{buildroot}%{_defaultlicensedir}/%{name}
%changelog %changelog
* Thu Sep 08 2022 Maxwell G <gotmax@e.email> - 1-7
- Install docs into the correct directory
* Wed Sep 07 2022 Maxwell G <gotmax@e.email> - 1-6 * Wed Sep 07 2022 Maxwell G <gotmax@e.email> - 1-6
- Move go_mod_vendor generator from -srpm-macros to -rpm-macros subpackage - Move go_mod_vendor generator from -srpm-macros to -rpm-macros subpackage

Loading…
Cancel
Save