[libosinfo] Partial sync of .spec with upstream

Christophe Fergeau teuf at fedoraproject.org
Wed Mar 6 09:30:26 UTC 2013


commit 4a07f8ec1fe675f1ae30881b6517402af8e362b2
Author: Christophe Fergeau <cfergeau at redhat.com>
Date:   Wed Mar 6 10:17:18 2013 +0100

    Partial sync of .spec with upstream
    
    BuildRequires /usr/bin/pod2man that will automatically pick the right
    package rather than conditionally requiring a package that is only
    available in f19+
    Do not Requires: udev when building libosinfo without its udev rule
    (which is done on f19+)

 libosinfo.spec |   15 +++++++++++----
 1 files changed, 11 insertions(+), 4 deletions(-)
---
diff --git a/libosinfo.spec b/libosinfo.spec
index 9a0e053..9409689 100644
--- a/libosinfo.spec
+++ b/libosinfo.spec
@@ -18,7 +18,7 @@
 Summary: A library for managing OS information for virtualization
 Name: libosinfo
 Version: 0.2.5
-Release: 1%{?dist}%{?extra_release}
+Release: 2%{?dist}%{?extra_release}
 License: LGPLv2+
 Group: Development/Libraries
 Source: https://fedorahosted.org/releases/l/i/%{name}/%{name}-%{version}.tar.gz
@@ -32,13 +32,13 @@ BuildRequires: libxslt-devel >= 1.0.0
 BuildRequires: vala
 BuildRequires: vala-tools
 BuildRequires: libsoup-devel
-%if 0%{?fedora} >= 19
-BuildRequires: perl-podlators
-%endif
+BuildRequires: /usr/bin/pod2man
 %if %{with_gir}
 BuildRequires: gobject-introspection-devel
 %endif
+%if %{with_udev}
 Requires: udev
+%endif
 
 %description
 libosinfo is a library that allows virtualization provisioning tools to
@@ -159,6 +159,13 @@ rm -fr %{buildroot}
 %{_datadir}/vala/vapi/libosinfo-1.0.vapi
 
 %changelog
+* Wed Mar 06 2013 Christophe Fergeau <cfergeau at redhat.com> - 0.2.5-2
+- BuildRequires /usr/bin/pod2man as this will automatically pick the right
+  package rather than conditionally requiring a package that is only
+  available in f19+
+- Do not Requires: udev when building libosinfo without its udev rule
+  (which is done on f19+)
+
 * Tue Mar 05 2013 Christophe Fergeau <cfergeau at redhat.com> 0.2.5-1
 - New upstream release 0.2.5
 - Disable udev rule as it's no longer required with newer


More information about the scm-commits mailing list