Last active
December 19, 2015 09:39
Revisions
-
mcrmfc revised this gist
Oct 22, 2014 . 1 changed file with 6 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -6,6 +6,12 @@ cp ~/rpmbuild/RPMS/<myrpm>.noarch.rpm ~/localrepo createrepo --update ~/localrepo yum --enablerepo=localrepo clean all sudo createrepo --update /home/vagrant/localrepo sudo yum --enablerepo=localrepo install <<rpm name>> #show all packages in remote repo that have dependency on ruby repoquery --whatrequires --alldeps -s "ruby(abi)" | sort -u -
mcrmfc revised this gist
Oct 8, 2013 . 2 changed files with 19 additions and 7 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,7 +0,0 @@ This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,19 @@ rpmbuild -bs <myrpm>.spec mock -r epel-6-x86_64 --resultdir /home/vagrant/rpmbuild/RPMS --no-clean --no-cleanup-after --rebuild ~/rpmbuild/SRPMS/<myrpm>.src.rpm cp ~/rpmbuild/RPMS/<myrpm>.noarch.rpm ~/localrepo createrepo --update ~/localrepo #show all packages in remote repo that have dependency on ruby repoquery --whatrequires --alldeps -s "ruby(abi)" | sort -u #what dependencies does a package have rpm -qR ruby #contents of installed rpm rpm -ql #contents of rpm in repo repoquery --list <packagename> -
mcrmfc created this gist
Jul 5, 2013 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,7 @@ rpmbuild -bs <myrpm>.spec mock -r epel-6-x86_64 --resultdir /home/vagrant/rpmbuild/RPMS --no-clean --no-cleanup-after --rebuild ~/rpmbuild/SRPMS/<myrpm>.src.rpm cp ~/rpmbuild/RPMS/<myrpm>.noarch.rpm ~/localrepo createrepo --update ~/localrepo