Skip to content

Instantly share code, notes, and snippets.

/rpmdevtools.sh
Created Nov 15, 2014

Embed
What would you like to do?
Opening up RPM's with the rpmdevtools package
<tbielawa>@(crockpot)[/tmp/tmp.IneT4M3a6N] 15:11:08
$ yumdownloader rpmdevtools; yumdownloader --source rpmdevtools
base | 3.6 kB 00:00:00
centosplus | 3.4 kB 00:00:00
epel/x86_64/metalink | 14 kB 00:00:00
epel | 4.4 kB 00:00:00
extras | 3.4 kB 00:00:00
updates | 3.4 kB 00:00:00
...
rpmdevtools-8.3-5.el7.src.rpm | 125 kB 00:00:00
<tbielawa>@(crockpot)[/tmp/tmp.IneT4M3a6N] 15:11:37
$ ls
rpmdevtools-8.3-5.el7.noarch.rpm rpmdevtools-8.3-5.el7.src.rpm
<tbielawa>@(crockpot)[/tmp/tmp.IneT4M3a6N] 16:15:11
$ rpmdev-extract rpmdevtools-8.3-5.el7.noarch.rpm
rpmdevtools-8.3-5.el7.noarch/etc/bash_completion.d
rpmdevtools-8.3-5.el7.noarch/etc/bash_completion.d/rpmdevtools.bash-completion
rpmdevtools-8.3-5.el7.noarch/etc/rpmdevtools
...
<tbielawa>@(crockpot)[/tmp/tmp.IneT4M3a6N] 16:15:13
$ rpmdev-extract rpmdevtools-8.3-5.el7.src.rpm
rpmdevtools-8.3-5.el7.src/rpmdevtools-8.3-no_qa_robot.patch
rpmdevtools-8.3-5.el7.src/rpmdevtools-8.3.tar.xz
rpmdevtools-8.3-5.el7.src/rpmdevtools.spec
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.