From 54b36295e2cb408b9a831624d9488038c5e63a48 Mon Sep 17 00:00:00 2001 From: Otto Urpelainen Date: May 23 2022 07:24:01 +0000 Subject: Fix broken Creating RPM Packages links The Packaging Tutorial referred to Quick Docs page Creating RPM Packages. That page has been removed, and actually there is a redirect pointing back to Packaging Tutorial. Since Creating RPM Packages only contained generic information about RPM and specfile format, the links are replaced with links to upstream RPM Reference Manual. It is a better place to document RPM material that is not Fedora specific. Resolves #78 --- diff --git a/modules/ROOT/pages/Packaging_Tutorial_GNU_Hello.adoc b/modules/ROOT/pages/Packaging_Tutorial_GNU_Hello.adoc index 24fe0f8..52a4750 100644 --- a/modules/ROOT/pages/Packaging_Tutorial_GNU_Hello.adoc +++ b/modules/ROOT/pages/Packaging_Tutorial_GNU_Hello.adoc @@ -15,8 +15,7 @@ However, it does not include RPM packaging information, therefore it is a reasonable vehicle to practice building RPMs on. For comprehensive information on how to create RPM files, -including more detailed tips, -refer to https://docs.fedoraproject.org/en-US/quick-docs/creating-rpm-packages/[Creating RPM Packages]. +refer to https://rpm-software-management.github.io/rpm/manual/[RPM Reference Manual]. If you plan to create an RPM package for the Fedora repository, follow the process for xref:Joining_the_Package_Maintainers.adoc[Joining the Package Maintainers], including following the various Fedora guidance. @@ -56,7 +55,7 @@ $ rpmdev-newspec hello == Inside a Spec File The fields in our `.spec` file need slight editing. -Please follow https://docs.fedoraproject.org/en-US/quick-docs/creating-rpm-packages/[Creating RPM Packages] for these fields. +Please follow RPM Reference Manual's section https://rpm-software-management.github.io/rpm/manual/spec.html[Spec file format] for these fields. In our case, the file might start as follows: [source, rpm-spec] @@ -543,8 +542,6 @@ $ sudo dnf -C -y history undo last * https://rpm-software-management.github.io/rpm/manual/[RPM Reference Manual] -* https://docs.fedoraproject.org/en-US/quick-docs/creating-rpm-packages/[Creating RPM packages] - * https://fedoraproject.org/wiki/Using_Mock_to_test_package_builds[Using Mock to test package builds] * xref:Using_the_Koji_Build_System.adoc[Using the Koji build system]