Skip to content

Instantly share code, notes, and snippets.

@brk3
Last active November 28, 2018 12:32
Show Gist options
  • Save brk3/f9d58a524c0eb433a05abf7fdd29896f to your computer and use it in GitHub Desktop.
Save brk3/f9d58a524c0eb433a05abf7fdd29896f to your computer and use it in GitHub Desktop.
Name: Hello-World
Version: 1.0
Release: 1%{?dist}
Summary: My first repository on GitHub!
License: blah
URL: https://github.com/octocat/Hello-World
BuildRequires: git
%define my_key my_value
%description
Hello World spec
%prep
%build
git clone https://github.com/octocat/Hello-World
%install
mkdir -p %{buildroot}/%{_prefix}/lib/hello-world
install -p -m 755 Hello-World/README %{buildroot}/%{_prefix}/lib/hello-world
%files
%{_prefix}/lib/hello-world/README
%changelog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment