Skip to content

Commit

Permalink
Merge pull request #409 from xsuchy/pull-req-buildroot2
Browse files Browse the repository at this point in the history
buildroot and %clean section is not needed
  • Loading branch information
lzap committed Aug 2, 2012
2 parents 0091868 + c67ae50 commit 7ce0664
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions katello.spec
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ Group: Applications/Internet
License: GPLv2
URL: http://www.katello.org
Source0: https://fedorahosted.org/releases/k/a/katello/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

Requires: %{name}-common
Requires: %{name}-glue-pulp
Expand Down Expand Up @@ -214,7 +213,6 @@ ruby -e 'require "rubygems"; require "gettext/tools"; GetText.create_mofiles(:po
a2x -d manpage -f manpage man/katello-service.8.asciidoc

%install
rm -rf %{buildroot}
#prepare dir structure
install -d -m0755 %{buildroot}%{homedir}
install -d -m0755 %{buildroot}%{datadir}
Expand Down Expand Up @@ -312,9 +310,6 @@ chmod a+r %{buildroot}%{homedir}/ca/redhat-uep.pem
# install man page
install -m 644 man/katello-service.8 %{buildroot}/%{_mandir}/man8

%clean
rm -rf %{buildroot}

%post common
#Add /etc/rc*.d links for the script
/sbin/chkconfig --add %{name}
Expand Down

0 comments on commit 7ce0664

Please sign in to comment.