From ca3260476e3bfcdc05f0e1493066105442708065 Mon Sep 17 00:00:00 2001 From: Donatas Abraitis Date: Fri, 27 Dec 2019 11:04:35 +0200 Subject: [PATCH] doc: Use proper numbering for `packaging-redhat.rst` Signed-off-by: Donatas Abraitis --- doc/developer/packaging-redhat.rst | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/developer/packaging-redhat.rst b/doc/developer/packaging-redhat.rst index 7bc6b6e2a8..d9c4c5bf0c 100644 --- a/doc/developer/packaging-redhat.rst +++ b/doc/developer/packaging-redhat.rst @@ -42,11 +42,11 @@ Tested on CentOS 6, CentOS 7, CentOS 8 and Fedora 24. You should enable ``PowerTools`` repo if using CentOS 8 which is disabled by default. -3. Checkout FRR:: +4. Checkout FRR:: git clone https://github.com/frrouting/frr.git frr -4. Run Bootstrap and make distribution tar.gz:: +5. Run Bootstrap and make distribution tar.gz:: cd frr ./bootstrap.sh @@ -58,7 +58,7 @@ Tested on CentOS 6, CentOS 7, CentOS 8 and Fedora 24. The only ``configure`` option respected when building RPMs is ``--with-pkg-extra-version``. -5. Create RPM directory structure and populate with sources:: +6. Create RPM directory structure and populate with sources:: mkdir rpmbuild mkdir rpmbuild/SOURCES @@ -66,7 +66,7 @@ Tested on CentOS 6, CentOS 7, CentOS 8 and Fedora 24. cp redhat/*.spec rpmbuild/SPECS/ cp frr*.tar.gz rpmbuild/SOURCES/ -6. Edit :file:`rpm/SPECS/frr.spec` with configuration as needed. +7. Edit :file:`rpm/SPECS/frr.spec` with configuration as needed. Look at the beginning of the file and adjust the following parameters to enable or disable features as required:: @@ -91,7 +91,7 @@ Tested on CentOS 6, CentOS 7, CentOS 8 and Fedora 24. %{!?with_pimd: %global with_pimd 1 } %{!?with_rpki: %global with_rpki 0 } -7. Build the RPM:: +8. Build the RPM:: rpmbuild --define "_topdir `pwd`/rpmbuild" -ba rpmbuild/SPECS/frr.spec -- 2.39.5