Commit 18f4a3d9 authored by Ritesh Sarraf's avatar Ritesh Sarraf

Don't delete uml_util.spec in clean target

The clean target is called in the build workflow. THis leads to the
repository being in an inconsistent state.

Also, uml_util.spec is something generated during the build
parent f8c102f6
......@@ -28,7 +28,6 @@ tarball : clean spec
clean:
rm -rf *~
rm -f uml_util.spec
set -e ; for dir in $(SUBDIRS); do $(MAKE) -C $$dir $@; done
spec:
......
# Generated by RPM Workshop. v0.1
# Macro definitions
%define ver 20070815
%define rel 1
Name: uml_utilities
Version: %{ver}
Release: %{rel}
Copyright: GPL
Packager: Someone
URL: http://user-mode-linux.sourceforge.net/index.html
Source: http://prdownloads.sourceforge.net/user-mode-linux/uml_utilities_%{ver}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{ver}-root
Group: System
Summary: Utilities for user-mode linux kernel
%description
This package contains the utilities for user-mode linux for networking,
COW, etc.
%prep
%setup -n tools
%build
make CFLAGS="-g -Wall -O2" DESTDIR=$RPM_BUILD_ROOT
%install
make install DESTDIR=$RPM_BUILD_ROOT
%files
%attr(755,root,root) %{_bindir}/jailtest
#%attr(755,root,root) %{_bindir}/mkrootfs
%attr(755,root,root) %{_bindir}/tunctl
%attr(755,root,root) %{_bindir}/uml_mconsole
%attr(755,root,root) %{_bindir}/uml_moo
%attr(4755,root,root) %{_bindir}/uml_net
%attr(755,root,root) %{_bindir}/uml_switch
%attr(755,root,root) %dir %{_libdir}/uml
%attr(755,root,root) %{_bindir}/uml_mkcow
%attr(755,root,root) %{_bindir}/uml_watchdog
#%attr(755,root,root) %{_libdir}/uml/functions
%attr(755,root,root) %{_libdir}/uml/port-helper
%clean
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment