From nobody Sun May 5 09:19:34 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; envelope-from=libvir-list-bounces@redhat.com; helo=mx1.redhat.com; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 152207124065358.084889372232055; Mon, 26 Mar 2018 06:34:00 -0700 (PDT) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 3C97397841; Mon, 26 Mar 2018 13:33:59 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id DA0E25C543; Mon, 26 Mar 2018 13:33:58 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 6D5964CA99; Mon, 26 Mar 2018 13:33:58 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id w2QDXt4c014222 for ; Mon, 26 Mar 2018 09:33:55 -0400 Received: by smtp.corp.redhat.com (Postfix) id 651B7215CDB5; Mon, 26 Mar 2018 13:33:55 +0000 (UTC) Received: from antique-work.brq.redhat.com (unknown [10.43.2.152]) by smtp.corp.redhat.com (Postfix) with ESMTP id 0B161215CDAE for ; Mon, 26 Mar 2018 13:33:54 +0000 (UTC) From: Pavel Hrdina To: libvir-list@redhat.com Date: Mon, 26 Mar 2018 15:33:50 +0200 Message-Id: <883cce5a5d201d10336e37b660409deaeda8c6e6.1522071186.git.phrdina@redhat.com> In-Reply-To: References: In-Reply-To: References: X-Scanned-By: MIMEDefang 2.78 on 10.11.54.6 X-loop: libvir-list@redhat.com Subject: [libvirt] [dbus PATCH 1/4] maint: remove AUTHORS from repository X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.39]); Mon, 26 Mar 2018 13:33:59 +0000 (UTC) X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" This is tracked by git itself. Suggested during fedora package review. Signed-off-by: Pavel Hrdina --- AUTHORS.in | 13 ------------- Makefile.am | 14 -------------- libvirt-dbus.spec.in | 2 +- 3 files changed, 1 insertion(+), 28 deletions(-) delete mode 100644 AUTHORS.in diff --git a/AUTHORS.in b/AUTHORS.in deleted file mode 100644 index 988dd6a..0000000 --- a/AUTHORS.in +++ /dev/null @@ -1,13 +0,0 @@ - libvirt-dbus Authors - =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D - -The primary maintainers of libvirt-dbus are: - - Lars Karlitski - Pavel Hrdina - -Patches have been received from: - -#authorslist# - - ... send patches to get your name added ... diff --git a/Makefile.am b/Makefile.am index a890ff1..0c792c1 100644 --- a/Makefile.am +++ b/Makefile.am @@ -6,7 +6,6 @@ ACLOCAL_AMFLAGS =3D -I m4 EXTRA_DIST =3D \ $(PACKAGE).spec \ $(PACKAGE).spec.in \ - AUTHORS.in \ HACKING.md \ README.md \ $(NULL) @@ -15,16 +14,3 @@ DISTCLEAN_FILES =3D $(PACKAGE).spec =20 rpm: clean @(unset CDPATH ; $(MAKE) dist && rpmbuild -ta $(distdir).tar.gz) - -dist-hook: gen-AUTHORS - -# Generate the AUTHORS file (with all entries since the switch to git) -# and insert it into the directory we're about to use to create a tarball. -.PHONY: gen-AUTHORS -gen-AUTHORS: - $(AM_V_GEN)if test -d $(srcdir)/.git; then \ - out=3D"`cd $(srcdir) && git log --pretty=3Dformat:'%aN <%aE>' | sort -u= `" && \ - perl -p -e "s/#authorslist#// and print '$$out'" \ - < $(srcdir)/AUTHORS.in > $(distdir)/AUTHORS-tmp && \ - mv -f $(distdir)/AUTHORS-tmp $(distdir)/AUTHORS ; \ - fi diff --git a/libvirt-dbus.spec.in b/libvirt-dbus.spec.in index 1cf5922..3a04ad6 100644 --- a/libvirt-dbus.spec.in +++ b/libvirt-dbus.spec.in @@ -52,7 +52,7 @@ exit 0 =20 %files %defattr(-,root,root,-) -%doc README.md HACKING.md COPYING AUTHORS NEWS +%doc README.md HACKING.md COPYING NEWS %{_sysconfdir}/polkit-1/rules.d/libvirt-dbus.rules %{_bindir}/libvirt-dbus %{_datadir}/dbus-1/services/org.libvirt.service --=20 2.14.3 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list From nobody Sun May 5 09:19:34 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; envelope-from=libvir-list-bounces@redhat.com; helo=mx1.redhat.com; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1522071251474212.1301495716923; Mon, 26 Mar 2018 06:34:11 -0700 (PDT) Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 096FC7F7A5; Mon, 26 Mar 2018 13:34:10 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 9FC5F5E9D0; Mon, 26 Mar 2018 13:34:09 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 32095181BA05; Mon, 26 Mar 2018 13:34:09 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id w2QDXuYO014232 for ; Mon, 26 Mar 2018 09:33:56 -0400 Received: by smtp.corp.redhat.com (Postfix) id 09739215CDB5; Mon, 26 Mar 2018 13:33:56 +0000 (UTC) Received: from antique-work.brq.redhat.com (unknown [10.43.2.152]) by smtp.corp.redhat.com (Postfix) with ESMTP id A3FF0215CDAE for ; Mon, 26 Mar 2018 13:33:55 +0000 (UTC) From: Pavel Hrdina To: libvir-list@redhat.com Date: Mon, 26 Mar 2018 15:33:51 +0200 Message-Id: <3c2b77c3571d5efcab98240d89c4d2edda597e04.1522071186.git.phrdina@redhat.com> In-Reply-To: References: In-Reply-To: References: X-Scanned-By: MIMEDefang 2.78 on 10.11.54.6 X-loop: libvir-list@redhat.com Subject: [libvirt] [dbus PATCH 2/4] spec: cleanup spec file based on fedora package review X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.28]); Mon, 26 Mar 2018 13:34:10 +0000 (UTC) X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" All of these changes are simple enough so I've put the into single commit: - remove obsolete tags and commands - %global macro is preferred over %define macro - use %autosetup, %make_build and %make_install macros - COPYING file should be listed using %license macro Signed-off-by: Pavel Hrdina --- libvirt-dbus.spec.in | 26 ++++++++++---------------- 1 file changed, 10 insertions(+), 16 deletions(-) diff --git a/libvirt-dbus.spec.in b/libvirt-dbus.spec.in index 3a04ad6..4b8e752 100644 --- a/libvirt-dbus.spec.in +++ b/libvirt-dbus.spec.in @@ -1,19 +1,17 @@ # -*- rpm-spec -*- =20 -%define glib2_version @GLIB2_REQUIRED@ -%define libvirt_version @LIBVIRT_REQUIRED@ -%define libvirt_glib_version @LIBVIRT_GLIB_REQUIRED@ -%define system_user @SYSTEM_USER@ +%global glib2_version @GLIB2_REQUIRED@ +%global libvirt_version @LIBVIRT_REQUIRED@ +%global libvirt_glib_version @LIBVIRT_GLIB_REQUIRED@ +%global system_user @SYSTEM_USER@ =20 Name: @PACKAGE@ Version: @VERSION@ -Release: 1%{?dist}%{?extra_release} +Release: 1%{?dist} Summary: libvirt dbus API binding -Group: Development/Libraries License: LGPLv2+ URL: https://libvirt.org/ Source0: https://libvirt.org/sources/dbus/%{name}-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) =20 BuildRequires: gcc BuildRequires: glib2-devel >=3D %{glib2_version} @@ -30,18 +28,14 @@ Requires(pre): shadow-utils This package provides integration between libvirt and the DBus =20 %prep -%setup -q +%autosetup =20 %build %configure -%__make %{?_smp_mflags} +%make_build =20 %install -rm -rf $RPM_BUILD_ROOT -%__make install DESTDIR=3D$RPM_BUILD_ROOT - -%clean -rm -rf $RPM_BUILD_ROOT +%make_install =20 %pre getent group %{system_user} >/dev/null || groupadd -r %{system_user} @@ -51,8 +45,8 @@ getent passwd %{system_user} >/dev/null || \ exit 0 =20 %files -%defattr(-,root,root,-) -%doc README.md HACKING.md COPYING NEWS +%doc README.md HACKING.md NEWS +%license COPYING %{_sysconfdir}/polkit-1/rules.d/libvirt-dbus.rules %{_bindir}/libvirt-dbus %{_datadir}/dbus-1/services/org.libvirt.service --=20 2.14.3 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list From nobody Sun May 5 09:19:34 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; envelope-from=libvir-list-bounces@redhat.com; helo=mx1.redhat.com; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1522071251301394.41331912682097; Mon, 26 Mar 2018 06:34:11 -0700 (PDT) Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id C75457F6B2; Mon, 26 Mar 2018 13:34:09 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 8C997A5A99; Mon, 26 Mar 2018 13:34:09 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 2DDA54CA9C; Mon, 26 Mar 2018 13:34:09 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id w2QDXuMr014238 for ; Mon, 26 Mar 2018 09:33:56 -0400 Received: by smtp.corp.redhat.com (Postfix) id A1AAD215CDB5; Mon, 26 Mar 2018 13:33:56 +0000 (UTC) Received: from antique-work.brq.redhat.com (unknown [10.43.2.152]) by smtp.corp.redhat.com (Postfix) with ESMTP id 47F55215CDAE for ; Mon, 26 Mar 2018 13:33:56 +0000 (UTC) From: Pavel Hrdina To: libvir-list@redhat.com Date: Mon, 26 Mar 2018 15:33:52 +0200 Message-Id: <10f85b0eae62677325c8b24c55becb9e1a39f74b.1522071186.git.phrdina@redhat.com> In-Reply-To: References: In-Reply-To: References: X-Scanned-By: MIMEDefang 2.78 on 10.11.54.6 X-loop: libvir-list@redhat.com Subject: [libvirt] [dbus PATCH 3/4] spec: Require dbus and polkit X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.25]); Mon, 26 Mar 2018 13:34:10 +0000 (UTC) X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" libvirt-dbus installs configuration files for these packages therefore it should depend on it. Signed-off-by: Pavel Hrdina --- libvirt-dbus.spec.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libvirt-dbus.spec.in b/libvirt-dbus.spec.in index 4b8e752..f0e63b5 100644 --- a/libvirt-dbus.spec.in +++ b/libvirt-dbus.spec.in @@ -18,9 +18,11 @@ BuildRequires: glib2-devel >=3D %{glib2_version} BuildRequires: libvirt-devel >=3D %{libvirt_version} BuildRequires: libvirt-glib-devel >=3D %{libvirt_glib_version} =20 +Requires: dbus Requires: glib2 >=3D %{glib2_version} Requires: libvirt-libs >=3D %{libvirt_version} Requires: libvirt-glib >=3D %{libvirt_glib_version} +Requires: polkit =20 Requires(pre): shadow-utils =20 --=20 2.14.3 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list From nobody Sun May 5 09:19:34 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; envelope-from=libvir-list-bounces@redhat.com; helo=mx1.redhat.com; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 152207125727518.34235339497718; Mon, 26 Mar 2018 06:34:17 -0700 (PDT) Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id BC307C01BD3B; Mon, 26 Mar 2018 13:34:15 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 75C5E5E9D1; Mon, 26 Mar 2018 13:34:15 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id B194D4CAA2; Mon, 26 Mar 2018 13:34:14 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id w2QDXvXA014245 for ; Mon, 26 Mar 2018 09:33:57 -0400 Received: by smtp.corp.redhat.com (Postfix) id 419FF215CDB5; Mon, 26 Mar 2018 13:33:57 +0000 (UTC) Received: from antique-work.brq.redhat.com (unknown [10.43.2.152]) by smtp.corp.redhat.com (Postfix) with ESMTP id DC23B215CDAE for ; Mon, 26 Mar 2018 13:33:56 +0000 (UTC) From: Pavel Hrdina To: libvir-list@redhat.com Date: Mon, 26 Mar 2018 15:33:53 +0200 Message-Id: <5a042b7e64889b87b319eeb43dd3513b71a3e76c.1522071186.git.phrdina@redhat.com> In-Reply-To: References: In-Reply-To: References: X-Scanned-By: MIMEDefang 2.78 on 10.11.54.6 X-loop: libvir-list@redhat.com Subject: [libvirt] [dbus PATCH 4/4] spec: fix D-Bus spelling and improve description X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.32]); Mon, 26 Mar 2018 13:34:16 +0000 (UTC) X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" Signed-off-by: Pavel Hrdina --- libvirt-dbus.spec.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libvirt-dbus.spec.in b/libvirt-dbus.spec.in index f0e63b5..675f463 100644 --- a/libvirt-dbus.spec.in +++ b/libvirt-dbus.spec.in @@ -8,7 +8,7 @@ Name: @PACKAGE@ Version: @VERSION@ Release: 1%{?dist} -Summary: libvirt dbus API binding +Summary: libvirt D-Bus API binding License: LGPLv2+ URL: https://libvirt.org/ Source0: https://libvirt.org/sources/dbus/%{name}-%{version}.tar.gz @@ -27,7 +27,7 @@ Requires: polkit Requires(pre): shadow-utils =20 %description -This package provides integration between libvirt and the DBus +This package provides D-Bus API for libvirt =20 %prep %autosetup @@ -43,7 +43,7 @@ This package provides integration between libvirt and the= DBus getent group %{system_user} >/dev/null || groupadd -r %{system_user} getent passwd %{system_user} >/dev/null || \ useradd -r -g %{system_user} -d / -s /sbin/nologin \ - -c "Libvirt DBus bridge" %{system_user} + -c "Libvirt D-Bus bridge" %{system_user} exit 0 =20 %files --=20 2.14.3 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list