README take 3README take 3
This commit is contained in:
parent
f948bbc974
commit
bd51a307e8
@ -415,8 +415,8 @@ fi
|
|||||||
cd $GITFiles/$RepoName
|
cd $GITFiles/$RepoName
|
||||||
|
|
||||||
# Add the BuildRequires now needed by el8(Rocky 8)
|
# Add the BuildRequires now needed by el8(Rocky 8)
|
||||||
sed -i -e '/BuildRequires/{a\BuildRequires: perl(inc::Module::Install)' -e ':a;n;ba}' "$SPECFILE"
|
sed -i -e '/BuildRequires/{a\BuildRequires: perl(inc::Module::Install)' -e ':a;n;ba}' "$SPECFILE"
|
||||||
sed -i -e '/BuildRequires/{a\BuildRequires: perl(ExtUtils::Manifest)' -e ':a;n;ba}' "$SPECFILE"
|
sed -i -e '/BuildRequires/{a\BuildRequires: perl(ExtUtils::Manifest)' -e ':a;n;ba}' "$SPECFILE"
|
||||||
|
|
||||||
# Re-factor the Common directory so that it is outside the repo being created.
|
# Re-factor the Common directory so that it is outside the repo being created.
|
||||||
# one Common directory for each Organisation
|
# one Common directory for each Organisation
|
||||||
@ -436,11 +436,13 @@ else
|
|||||||
git pull $QUIET
|
git pull $QUIET
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Edit the Readme.md - try to add a link to the wiki for this package - only if it is an SME package
|
# Edit the Readme.md - try to add the description from the spec file for this package
|
||||||
cd $GITFiles/$RepoName
|
cd $GITFiles/$RepoName
|
||||||
DESCRIPTION=`rpm --queryformat '%{description}\n' --specfile $SPECFILE`
|
DESCRIPTION=`rpm --queryformat '%{description}\n' --specfile $SPECFILE`
|
||||||
|
|
||||||
|
# create the README.md
|
||||||
cat > README.md <<- _EOT
|
cat > README.md <<- _EOT
|
||||||
# $RepoName
|
# $RepoName ($MODULENAME)
|
||||||
|
|
||||||
SMEServer Koozali local git repo for $RepoName
|
SMEServer Koozali local git repo for $RepoName
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user