summaryrefslogtreecommitdiffstats
path: root/redhat/buildenv.sh
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2013-07-25 18:25:26 +0200
committerFrançois Andriot <albator78@libertysurf.fr>2013-07-25 18:25:26 +0200
commit920f06f2b0fb1547c39b4c63391e3c2a44979621 (patch)
tree08149ebb8228400a8a3b4b2274a26dc24b23f67a /redhat/buildenv.sh
parentf75675f1198669c809cbe7acaea85e05f8018b45 (diff)
downloadtde-packaging-920f06f2b0fb1547c39b4c63391e3c2a44979621.tar.gz
tde-packaging-920f06f2b0fb1547c39b4c63391e3c2a44979621.zip
RPM Packaging: update metapackage
Diffstat (limited to 'redhat/buildenv.sh')
-rw-r--r--redhat/buildenv.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/redhat/buildenv.sh b/redhat/buildenv.sh
index da59a2953..408f33759 100644
--- a/redhat/buildenv.sh
+++ b/redhat/buildenv.sh
@@ -53,3 +53,6 @@ checknew() {
# Build local repository metadata (Mageia)
alias cru='(cdrpm; genhdlist2 noarch; genhdlist2 $(uname -i); sudo urpmi.update rpmbuild.$(uname -i) rpmbuild.noarch)'
alias cruc='(cdrpm; genhdlist2 --clean noarch; genhdlist2 --clean $(uname -i); sudo urpmi.update rpmbuild.$(uname -i) rpmbuild.noarch)'
+
+# Build local repository (RHEL)
+alias cry='(cdrpm; createrepo $(uname -i); createrepo noarch; sudo yum clean all --disablerepo="*" --enablerepo="rpmbuild*")'