Skip to content

Commit

Permalink
Update spec file
Browse files Browse the repository at this point in the history
  • Loading branch information
ingvagabund committed Aug 21, 2015
1 parent a7ec85b commit 72f0f92
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions gofed.spec
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
%define copying() \
%if 0%{?fedora} >= 21 || 0%{?rhel} >= 7 \
%license %{*} \
%else \
%doc %{*} \
%endif

%global _dwz_low_mem_die_limit 0
%global provider github
%global provider_tld com
Expand Down Expand Up @@ -98,9 +105,10 @@ install -m 0755 -d %{buildroot}%{_sharedstatedir}/%{name}/packages
%pre
getent group gofed >/dev/null || groupadd -r gofed
getent passwd gofed >/dev/null || useradd -r -g gofed -d / -s /sbin/nologin \
-c "Gofed user" kube
-c "Gofed user" gofed
%files
%doc README.md LICENSE
%copying LICENSE
%doc *.md
%config(noreplace) /etc/gofed.conf
%{_sysconfdir}/bash_completion.d/%{name}
%{_sysconfdir}/bash_completion.d/gofed-base_bash_completion
Expand Down

0 comments on commit 72f0f92

Please sign in to comment.