diff options
author | Donatas Abraitis <donatas.abraitis@gmail.com> | 2019-12-27 10:04:35 +0100 |
---|---|---|
committer | Donatas Abraitis <donatas.abraitis@gmail.com> | 2019-12-27 13:03:00 +0100 |
commit | ca3260476e3bfcdc05f0e1493066105442708065 (patch) | |
tree | 9e8decde02e73f1102be3895f28ded2393e86652 /doc | |
parent | doc: Add a section in `Building FRR` for CentOS 8 (diff) | |
download | frr-ca3260476e3bfcdc05f0e1493066105442708065.tar.xz frr-ca3260476e3bfcdc05f0e1493066105442708065.zip |
doc: Use proper numbering for `packaging-redhat.rst`
Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/developer/packaging-redhat.rst | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/developer/packaging-redhat.rst b/doc/developer/packaging-redhat.rst index 7bc6b6e2a..d9c4c5bf0 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 |