[packages/libvirt-glib] - updated to 0.1.7 - removed obsolete am patch

qboosh qboosh at pld-linux.org
Thu Jul 11 17:34:49 CEST 2013


commit 3a81d2205640f873575943c26958a7301fefae1d
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Thu Jul 11 17:34:34 2013 +0200

    - updated to 0.1.7
    - removed obsolete am patch

 libvirt-glib-am.patch | 11 -----------
 libvirt-glib.spec     | 15 +++++++--------
 2 files changed, 7 insertions(+), 19 deletions(-)
---
diff --git a/libvirt-glib.spec b/libvirt-glib.spec
index 2ca539e..f460042 100644
--- a/libvirt-glib.spec
+++ b/libvirt-glib.spec
@@ -7,14 +7,13 @@
 Summary:	GLib wrapper for libvirt library
 Summary(pl.UTF-8):	Wrapper GLib dla biblioteki libvirt
 Name:		libvirt-glib
-Version:	0.1.6
+Version:	0.1.7
 Release:	1
 License:	LGPL v2+
 Group:		Libraries
 Source0:	ftp://libvirt.org/libvirt/glib/%{name}-%{version}.tar.gz
-# Source0-md5:	85e09b6dcf5ee0438eeed8f2f2648242
+# Source0-md5:	75a43b85e19aa711f04c1c7acbe1d777
 Patch0:		%{name}-pc.patch
-Patch1:		%{name}-am.patch
 URL:		http://www.libvirt.org/
 BuildRequires:	autoconf >= 2.50
 BuildRequires:	automake >= 1:1.11
@@ -103,7 +102,6 @@ API libvirt-glib dla języka Vala.
 %prep
 %setup -q
 %patch0 -p1
-%patch1 -p1
 
 %build
 %{__libtoolize}
@@ -112,10 +110,10 @@ API libvirt-glib dla języka Vala.
 %{__autoheader}
 %{__automake}
 %configure \
-	--disable-silent-rules \
-	--with-html-dir=%{_gtkdocdir} \
 	%{__enable_disable apidocs gtk-doc} \
-	%{!?with_static_libs:--disable-static}
+	--disable-silent-rules \
+	%{?with_static_libs:--enable-static} \
+	--with-html-dir=%{_gtkdocdir}
 %{__make}
 
 %install
@@ -128,7 +126,8 @@ rm -rf $RPM_BUILD_ROOT
 %py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
 
 %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
-%{__rm} $RPM_BUILD_ROOT%{py_sitedir}/*.{a,la}
+%{__rm} $RPM_BUILD_ROOT%{py_sitedir}/*.la \
+	%{?with_static_libs:$RPM_BUILD_ROOT%{py_sitedir}/*.a}
 
 %py_postclean
 
diff --git a/libvirt-glib-am.patch b/libvirt-glib-am.patch
deleted file mode 100644
index 4e546d6..0000000
--- a/libvirt-glib-am.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- libvirt-glib-0.1.5/configure.ac.orig	2013-01-14 17:52:03.000000000 +0100
-+++ libvirt-glib-0.1.5/configure.ac	2013-01-18 21:16:15.405873548 +0100
-@@ -1,7 +1,7 @@
- AC_INIT(libvirt-glib, 0.1.5)
- AC_CONFIG_SRCDIR(libvirt-glib/libvirt-glib-main.c)
- AC_CONFIG_AUX_DIR([build-aux])
--AM_CONFIG_HEADER(config.h)
-+AC_CONFIG_HEADERS(config.h)
- AC_CONFIG_MACRO_DIR([m4])
- dnl Make automake keep quiet about wildcards & other GNUmake-isms
- AM_INIT_AUTOMAKE([-Wno-portability])
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libvirt-glib.git/commitdiff/3a81d2205640f873575943c26958a7301fefae1d



More information about the pld-cvs-commit mailing list