[sblim-cmpi-rpm] Fix FTBFS (documentation path change)

vcrhonek vcrhonek at fedoraproject.org
Wed Nov 6 14:29:00 UTC 2013


commit a83b12afc927129a0641345d2ee94a08b8771410
Author: Vitezslav Crhonek <vcrhonek at redhat.com>
Date:   Wed Nov 6 15:29:05 2013 +0100

    Fix FTBFS (documentation path change)

 sblim-cmpi-rpm-1.0.1-docdir.patch |   12 ++++++++++++
 sblim-cmpi-rpm.spec               |    8 +++++++-
 2 files changed, 19 insertions(+), 1 deletions(-)
---
diff --git a/sblim-cmpi-rpm-1.0.1-docdir.patch b/sblim-cmpi-rpm-1.0.1-docdir.patch
new file mode 100644
index 0000000..8624c48
--- /dev/null
+++ b/sblim-cmpi-rpm-1.0.1-docdir.patch
@@ -0,0 +1,12 @@
+diff -up sblim-cmpi-rpm-1.0.1/Makefile.in.orig sblim-cmpi-rpm-1.0.1/Makefile.in
+--- sblim-cmpi-rpm-1.0.1/Makefile.in.orig	2013-11-06 15:13:08.000000000 +0100
++++ sblim-cmpi-rpm-1.0.1/Makefile.in	2013-11-06 15:13:24.315946906 +0100
+@@ -263,7 +263,7 @@ sblimincdir = $(includedir)/sblim
+ EXTRA_DIST = $(PACKAGE).spec $(PACKAGE).rh.spec mof $(pkgdata_SCRIPTS)
+ 
+ # docdir defines where the documentation goes
+-docdir = $(datadir)/doc/$(PACKAGE)-$(VERSION)
++docdir = $(datadir)/doc/$(PACKAGE)
+ 
+ #
+ # Automake instructions for documentation
diff --git a/sblim-cmpi-rpm.spec b/sblim-cmpi-rpm.spec
index 5e60bd1..ffc520a 100644
--- a/sblim-cmpi-rpm.spec
+++ b/sblim-cmpi-rpm.spec
@@ -1,6 +1,6 @@
 Name:           sblim-cmpi-rpm
 Version:        1.0.1
-Release:        10%{?dist}
+Release:        11%{?dist}
 Summary:        CIM access to installed software packages (currently RPMs)
 
 Group:          Applications/System
@@ -9,6 +9,7 @@ URL:            http://sblim.wiki.sourceforge.net/ProviderCmpiRpm
 Source0:        http://downloads.sourceforge.net/sblim/%{name}-%{version}.tar.bz2
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 Patch0:         sblim_cmpi_rpm_ldl_library.patch
+Patch1:         sblim-cmpi-rpm-1.0.1-docdir.patch
 BuildRequires:  sblim-cmpi-base-devel sblim-cmpi-devel rpm-devel
 Requires:       sblim-cmpi-base
 Requires:       cim-server
@@ -23,6 +24,7 @@ and provide some more details about them.
 
 # Patch added to fix the missing definitions of dlopen, dlsym, dlerror.
 %patch0
+%patch1 -p1 -b .docdir
 
 
 %build
@@ -162,6 +164,10 @@ fi
 
 
 %changelog
+* Wed Nov 06 2013 Vitezslav Crhonek <vcrhonek at redhat.com> - 1.0.1-11
+- Fix FTBFS (documentation path change)
+  Resolves: #993228
+
 * Sun Aug 04 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.0.1-10
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
 


More information about the scm-commits mailing list