Use Pegasus root/interop instead of root/PG_Interop, Fix unversioned docdir change
This commit is contained in:
parent
b2e8294272
commit
5da9eb9f93
12
sblim-cmpi-base-1.6.2-docdir.patch
Normal file
12
sblim-cmpi-base-1.6.2-docdir.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff -up sblim-cmpi-base-1.6.2/Makefile.in.orig sblim-cmpi-base-1.6.2/Makefile.in
|
||||
--- sblim-cmpi-base-1.6.2/Makefile.in.orig 2013-08-07 17:24:23.824822914 +0200
|
||||
+++ sblim-cmpi-base-1.6.2/Makefile.in 2013-08-07 17:24:50.512965552 +0200
|
||||
@@ -370,7 +370,7 @@ datadir = @datadir@
|
||||
datarootdir = @datarootdir@
|
||||
|
||||
# docdir defines where the documentation goes
|
||||
-docdir = $(datadir)/doc/$(PACKAGE)-$(VERSION)
|
||||
+docdir = $(datadir)/doc/$(PACKAGE)
|
||||
dvidir = @dvidir@
|
||||
exec_prefix = @exec_prefix@
|
||||
host = @host@
|
||||
12
sblim-cmpi-base-1.6.2-pegasus-interop.patch
Normal file
12
sblim-cmpi-base-1.6.2-pegasus-interop.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff -up sblim-cmpi-base-1.6.2/provider-register.sh.orig sblim-cmpi-base-1.6.2/provider-register.sh
|
||||
--- sblim-cmpi-base-1.6.2/provider-register.sh.orig 2013-08-07 18:02:52.438321970 +0200
|
||||
+++ sblim-cmpi-base-1.6.2/provider-register.sh 2013-08-07 18:04:06.087746426 +0200
|
||||
@@ -216,7 +216,7 @@ pegasus_install()
|
||||
then
|
||||
chatter Registering providers with $state cimserver
|
||||
$CIMMOF -uc -I $mofpath -n $namespace $mymofs &&
|
||||
- $CIMMOF -uc -n root/PG_Interop $_REGFILENAME
|
||||
+ $CIMMOF -uc -n root/interop $_REGFILENAME
|
||||
else
|
||||
echo "Failed to build pegasus registration MOF." >&2
|
||||
return 1
|
||||
@ -1,6 +1,6 @@
|
||||
Name: sblim-cmpi-base
|
||||
Version: 1.6.2
|
||||
Release: 6%{?dist}
|
||||
Release: 7%{?dist}
|
||||
Summary: SBLIM CMPI Base Providers
|
||||
|
||||
Group: Applications/System
|
||||
@ -15,6 +15,10 @@ Patch3: sblim-cmpi-base-1.6.1-double-fclose.patch
|
||||
Patch4: sblim-cmpi-base-1.6.2-max-cpu-frequency.patch
|
||||
# Patch5: already upstream, http://sourceforge.net/p/sblim/bugs/2644/
|
||||
Patch5: sblim-cmpi-base-1.6.2-wrong-UserModeTime-and-KernelModeTime.patch
|
||||
# Patch6: removes version from docdir
|
||||
Patch6: sblim-cmpi-base-1.6.2-docdir.patch
|
||||
# Patch7: use Pegasus root/interop instead of root/PG_Interop
|
||||
Patch7: sblim-cmpi-base-1.6.2-pegasus-interop.patch
|
||||
Requires: cim-server sblim-indication_helper
|
||||
BuildRequires: sblim-cmpi-devel sblim-indication_helper-devel
|
||||
|
||||
@ -53,6 +57,8 @@ Testcase Files for the SBLIM Testsuite.
|
||||
%patch3 -p1 -b .double-fclose
|
||||
%patch4 -p1 -b .cpu-freq
|
||||
%patch5 -p1 -b .wrong-UserModeTime-and-KernelModeTime
|
||||
%patch6 -p1 -b .docdir
|
||||
%patch7 -p1 -b .pegasus-interop
|
||||
|
||||
%build
|
||||
%configure TESTSUITEDIR=%{_datadir}/sblim-testsuite --disable-static
|
||||
@ -69,8 +75,7 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/*a
|
||||
rm -f $RPM_BUILD_ROOT/%{_libdir}/cmpi/*a
|
||||
|
||||
%files
|
||||
%docdir %{_datadir}/doc/%{name}-%{version}
|
||||
%{_datadir}/doc/%{name}-%{version}
|
||||
%doc AUTHORS COPYING DEBUG README README.INDICATION README.TEST README.tog-pegasus
|
||||
%{_datadir}/%{name}
|
||||
%{_libdir}/*.so.*
|
||||
%{_libdir}/cmpi/*.so*
|
||||
@ -182,6 +187,11 @@ fi
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%changelog
|
||||
* Wed Aug 07 2013 Vitezslav Crhonek <vcrhonek@redhat.com> - 1.6.2-7
|
||||
- Use Pegasus root/interop instead of root/PG_Interop
|
||||
- Fix unversioned docdir change
|
||||
Resolves: #994073
|
||||
|
||||
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.2-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user