Skip to content

Instantly share code, notes, and snippets.

@benhosmer
Created June 18, 2013 18:24
Show Gist options
  • Save benhosmer/5807937 to your computer and use it in GitHub Desktop.
Save benhosmer/5807937 to your computer and use it in GitHub Desktop.
Extract SPEC file from and RPM.
#!/bin/bash
rpm2cpio my-rpm-file-name.rpm | cpio -idmv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment