Update to 2.0.5.

epel9
Thomas Moschny 8 years ago
parent 6e7e770af7
commit b807064960

@ -1,12 +0,0 @@
diff -up lxc-2.0.0/configure.ac.orig lxc-2.0.0/configure.ac
--- lxc-2.0.0/configure.ac.orig 2016-04-06 19:59:42.000000000 +0200
+++ lxc-2.0.0/configure.ac 2016-04-21 07:46:29.936382133 +0200
@@ -626,7 +626,7 @@ AC_PROG_SED
LXC_CHECK_TLS
if test "x$GCC" = "xyes"; then
- CFLAGS="$CFLAGS -Wall -Werror"
+ CFLAGS="$CFLAGS -Wall"
fi
# Files requiring some variable expansion

@ -30,7 +30,7 @@
%global shortcommit %(c=%{commit}; echo ${c:0:7}) %global shortcommit %(c=%{commit}; echo ${c:0:7})
Name: lxc Name: lxc
Version: 2.0.4 Version: 2.0.5
Release: %{?prerel:0.}1%{?prerel:.%{prerel}}%{?dist} Release: %{?prerel:0.}1%{?prerel:.%{prerel}}%{?dist}
Summary: Linux Resource Containers Summary: Linux Resource Containers
Group: Applications/System Group: Applications/System
@ -42,7 +42,6 @@ Source0: https://github.com/lxc/lxc/archive/%{commit}/%{name}-%{commit}.t
Source0: http://linuxcontainers.org/downloads/%{name}-%{version}.tar.gz Source0: http://linuxcontainers.org/downloads/%{name}-%{version}.tar.gz
%endif %endif
Patch0: lxc-2.0.1-fix-init.patch Patch0: lxc-2.0.1-fix-init.patch
Patch2: lxc-2.0.0-remove-werror.patch
BuildRequires: docbook2X BuildRequires: docbook2X
BuildRequires: doxygen BuildRequires: doxygen
BuildRequires: kernel-headers BuildRequires: kernel-headers
@ -63,10 +62,9 @@ BuildRequires: systemd
# C and does not depend on the Python3 binding anymore # C and does not depend on the Python3 binding anymore
Provides: lxc-extra = %{version}-%{release} Provides: lxc-extra = %{version}-%{release}
Obsoletes: lxc-extra < 1.1.5-3 Obsoletes: lxc-extra < 1.1.5-3
#if 0%{?prerel:1} %if 0%{?prerel:1}
# we patch configure.ac
BuildRequires: autoconf automake BuildRequires: autoconf automake
#endif %endif
%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}} %{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}}
@ -174,14 +172,12 @@ This package contains documentation for %{name}.
%prep %prep
%setup -q -n %{name}-%{?!prerel:%{version}}%{?prerel:%{commit}} %setup -q -n %{name}-%{?!prerel:%{version}}%{?prerel:%{commit}}
%patch0 -p1 %patch0 -p1
# -Wall with -Werror doesn't work well
%patch2 -p1
%build %build
#if 0%{?prerel:1} %if 0%{?prerel:1}
./autogen.sh ./autogen.sh
#endif %endif
%configure --with-distro=fedora \ %configure --with-distro=fedora \
--enable-doc \ --enable-doc \
--enable-api-docs \ --enable-api-docs \
@ -205,6 +201,7 @@ This package contains documentation for %{name}.
%else %else
--with-init-script=sysvinit \ --with-init-script=sysvinit \
%endif # with_systemd %endif # with_systemd
--disable-werror \
# intentionally blank line # intentionally blank line
%{make_build} %{make_build}
@ -373,6 +370,9 @@ fi
%changelog %changelog
* Wed Oct 5 2016 Thomas Moschny <thomas.moschny@gmx.de> - 2.0.5-1
- Update to 2.0.5.
* Tue Aug 16 2016 Thomas Moschny <thomas.moschny@gmx.de> - 2.0.4-1 * Tue Aug 16 2016 Thomas Moschny <thomas.moschny@gmx.de> - 2.0.4-1
- Update to 2.0.4. - Update to 2.0.4.
- Remove conditional for eol'ed Fedora releases. - Remove conditional for eol'ed Fedora releases.

@ -1 +1 @@
28db4dbacf860ae742138c0ed8dbf14c lxc-2.0.4.tar.gz 59792f085be451b8cf336d86ac335123 lxc-2.0.5.tar.gz

Loading…
Cancel
Save