Update to 0.7.4.1
This commit is contained in:
parent
b88450e084
commit
c94275e825
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +1,2 @@
|
||||
lxc-0.7.2.tar.gz
|
||||
/lxc-0.7.4.1.tar.gz
|
||||
|
37
lxc.spec
37
lxc.spec
@ -1,5 +1,5 @@
|
||||
Name: lxc
|
||||
Version: 0.7.2
|
||||
Version: 0.7.4.1
|
||||
Release: 1%{?dist}
|
||||
Summary: Linux Resource Containers
|
||||
|
||||
@ -30,6 +30,18 @@ overhead of full virtualization.
|
||||
|
||||
The %{name}-libs package contains libraries for running %{name} applications.
|
||||
|
||||
%package templates
|
||||
Summary: Templates for %{name}
|
||||
Group: System Environment/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: debootstrap
|
||||
|
||||
%description templates
|
||||
Linux Resource Containers provide process and resource isolation without the
|
||||
overhead of full virtualization.
|
||||
|
||||
The %{name}-template package contains templates for creating containers.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
Group: Development/Libraries
|
||||
@ -69,8 +81,12 @@ rm -rf %{buildroot}
|
||||
%{__make} DESTDIR=%{buildroot} install
|
||||
find %{buildroot} -name '*.la' -delete
|
||||
%{__mkdir} -p %{buildroot}%{_sharedstatedir}/%{name}
|
||||
# Remove templates
|
||||
rm -f %{buildroot}%{_libdir}/lxc/templates/lxc-*
|
||||
|
||||
find %{buildroot}%{_libdir}/lxc/templates \
|
||||
-type f \
|
||||
-not -name lxc-maverick \
|
||||
-not -name lxc-sshd \
|
||||
-delete
|
||||
|
||||
%clean
|
||||
%{__rm} -rf %{buildroot}
|
||||
@ -88,13 +104,19 @@ rm -f %{buildroot}%{_libdir}/lxc/templates/lxc-*
|
||||
|
||||
%files libs
|
||||
%defattr(-,root,root,-)
|
||||
%doc COPYING
|
||||
%doc AUTHORS COPYING
|
||||
%dir %{_libdir}/lxc
|
||||
%dir %{_libdir}/lxc/templates
|
||||
%{_libdir}/liblxc.so.*
|
||||
%{_libdir}/lxc
|
||||
%{_libdir}/lxc/lxc-init
|
||||
%{_libdir}/lxc/rootfs
|
||||
|
||||
%files templates
|
||||
%defattr(-,root,root,-)
|
||||
%{_libdir}/lxc/templates/lxc-*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%doc COPYING
|
||||
%{_datadir}/pkgconfig/%{name}.pc
|
||||
%{_includedir}/*
|
||||
%{_libdir}/liblxc.so
|
||||
@ -104,6 +126,9 @@ rm -f %{buildroot}%{_libdir}/lxc/templates/lxc-*
|
||||
%{_docdir}/%{name}
|
||||
|
||||
%changelog
|
||||
* Fri Mar 25 2011 Silas Sewell <silas@sewell.ch> - 0.7.4.1-1
|
||||
- Update to 0.7.4.1
|
||||
|
||||
* Mon Jul 26 2010 Silas Sewell <silas@sewell.ch> - 0.7.2-1
|
||||
- Update to 0.7.2
|
||||
- Remove templates
|
||||
|
Loading…
Reference in New Issue
Block a user