diff options
author | Thomas Moschny <thm@fedoraproject.org> | 2012-03-26 17:23:35 +0200 |
---|---|---|
committer | Thomas Moschny <thm@fedoraproject.org> | 2012-03-26 17:30:16 +0200 |
commit | cdfe863a5e828c3bdba423a5e1825a3f4a5c35fb (patch) | |
tree | 717231f8ca2ca510f073ce05040944d17214afb7 /lxc.spec | |
parent | b6b0609aa7dcabdf817446113aa2928fc0b272f3 (diff) | |
download | lxc-cdfe863a5e828c3bdba423a5e1825a3f4a5c35fb.tar.gz lxc-cdfe863a5e828c3bdba423a5e1825a3f4a5c35fb.tar.xz lxc-cdfe863a5e828c3bdba423a5e1825a3f4a5c35fb.zip |
Update to upstream 0.7.5f16
- No need to run autogen.sh
- Fix: kernel header asm/unistd.h was not found
- Specfile cleanups
Diffstat (limited to 'lxc.spec')
-rw-r--r-- | lxc.spec | 28 |
1 files changed, 17 insertions, 11 deletions
@@ -1,6 +1,6 @@ Name: lxc -Version: 0.7.4.2 -Release: 2%{?dist} +Version: 0.7.5 +Release: 1%{?dist} Summary: Linux Resource Containers Group: Applications/System @@ -9,7 +9,6 @@ URL: http://lxc.sourceforge.net Source0: http://lxc.sourceforge.net/download/lxc/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -BuildRequires: automake BuildRequires: docbook-utils BuildRequires: kernel-headers BuildRequires: libcap-devel @@ -67,20 +66,21 @@ This package contains documentation for %{name}. %setup -q %build -./autogen.sh -%configure F77=no # Fix binary-or-shlib-defines-rpath error -%{__sed} -i '/AM_LDFLAGS = -Wl,-E -Wl,-rpath -Wl,$(libdir)/d' src/lxc/Makefile.in -%{__make} %{?_smp_mflags} +sed -i '/AM_LDFLAGS = -Wl,-E -Wl,-rpath -Wl,$(libdir)/d' src/lxc/Makefile.in +# We know the exact location of asm/unistd.h +sed -i 's,\$(LINUX_DIR)/arch/\$(LINUX_SRCARCH),/usr,' src/lxc/Makefile.in +%configure --disable-rpath F77=no +make %{?_smp_mflags} %check -%{__make} check +make check %install rm -rf %{buildroot} -%{__make} DESTDIR=%{buildroot} install +make DESTDIR=%{buildroot} install find %{buildroot} -name '*.la' -delete -%{__mkdir} -p %{buildroot}%{_sharedstatedir}/%{name} +mkdir -p %{buildroot}%{_sharedstatedir}/%{name} find %{buildroot}%{_libdir}/lxc/templates \ -type f \ @@ -89,7 +89,7 @@ find %{buildroot}%{_libdir}/lxc/templates \ -delete %clean -%{__rm} -rf %{buildroot} +rm -rf %{buildroot} %post libs -p /sbin/ldconfig @@ -126,6 +126,12 @@ find %{buildroot}%{_libdir}/lxc/templates \ %{_docdir}/%{name} %changelog +* Mon Mar 26 2012 Thomas Moschny <thomas.moschny@gmx.de> - 0.7.5-1 +- Update to upstream 0.7.5 +- No need to run autogen.sh +- Fix: kernel header asm/unistd.h was not found +- Specfile cleanups + * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.4.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |