Update redhat.rst

This commit is contained in:
Andrew Bauer 2017-04-14 12:40:32 -05:00 committed by GitHub
parent 09d8d7e40f
commit 48e2c5f6ec
1 changed files with 2 additions and 3 deletions

View File

@ -178,12 +178,11 @@ We want to turn this into a tarball, but first we need to figure out what to nam
ls ~/rpmbuild/SOURCES
The tarball from the previsouly installed SRPM should be there. This is the name we will use. For this example, the name is ZoneMinder-1.28.1.tar.gz. From the local ZoneMinder git repository, execute the following:
The tarball from the previsouly installed SRPM should be there. This is the name we will use. For this example, the name is ZoneMinder-1.28.1.tar.gz. From the root folder of the local ZoneMinder git repository, execute the following:
::
git archive --prefix=ZoneMinder-1.28.1/ -o zoneminder-1.28.1.tar.gz HEAD
mv zoneminder-1.28.1.tar.gz ~/rpmbuld/SOURCES/
git archive --prefix=ZoneMinder-1.28.1/ -o ~/rpmbuld/SOURCES/zoneminder-1.28.1.tar.gz HEAD
Note that we are overwriting the original tarball. If you wish to keep the original tarball then create a copy prior to creating the new tarball.