From bd51a307e88f6359b38cca767f9b8d35fd43b947 Mon Sep 17 00:00:00 2001 From: Trevor Batley Date: Wed, 27 Mar 2024 17:34:16 +1100 Subject: [PATCH] README take 3README take 3 --- git-getperl.sh | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/git-getperl.sh b/git-getperl.sh index d5e4ee0..e2ecdb5 100755 --- a/git-getperl.sh +++ b/git-getperl.sh @@ -415,8 +415,8 @@ fi cd $GITFiles/$RepoName # 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(ExtUtils::Manifest)' -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" # Re-factor the Common directory so that it is outside the repo being created. # one Common directory for each Organisation @@ -436,11 +436,13 @@ else git pull $QUIET 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 DESCRIPTION=`rpm --queryformat '%{description}\n' --specfile $SPECFILE` + +# create the README.md cat > README.md <<- _EOT -# $RepoName +# $RepoName ($MODULENAME) SMEServer Koozali local git repo for $RepoName