Remove %clean section

None of currently supported distributions need that.
Last one was EL5 which is EOL for a while.

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2018-02-14 07:20:57 +01:00
parent 2ce345832d
commit a734577217
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

View File

@ -52,9 +52,6 @@ mkdir -p %{buildroot}%{_unitdir}
install -m644 %{SOURCE1} %{buildroot}%{_unitdir} install -m644 %{SOURCE1} %{buildroot}%{_unitdir}
rm -rf %{buildroot}/%{_sysconfdir}/rc.d/init.d/mcstrans rm -rf %{buildroot}/%{_sysconfdir}/rc.d/init.d/mcstrans
%clean
rm -rf %{buildroot}
%post %post
if [ $1 -eq 1 ] ; then if [ $1 -eq 1 ] ; then
/usr/bin/systemctl daemon-reload >/dev/null 2>&1 || : /usr/bin/systemctl daemon-reload >/dev/null 2>&1 || :