[cura-providers/f18] updated to version 0.0.9
Michal Minar
miminar at fedoraproject.org
Sat Oct 13 20:11:27 UTC 2012
commit d72d09421fe6f27dcfc8efce4f4969fb5629b832
Author: Michal Minar <miminar at redhat.com>
Date: Sat Oct 13 22:10:47 2012 +0200
updated to version 0.0.9
subpackage cura-yum renamed to cura-software
.gitignore | 1 +
cura-providers.spec | 50 +++++++++++++++++++++++++++-----------------------
sources | 2 +-
3 files changed, 29 insertions(+), 24 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 918cfa3..91705ad 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,3 +5,4 @@
/cura-providers-0.0.5.tar.gz
/cura-providers-0.0.7.tar.gz
/cura-providers-0.0.8.tar.gz
+/cura-providers-0.0.9.tar.gz
diff --git a/cura-providers.spec b/cura-providers.spec
index 53db4e2..86e41cb 100644
--- a/cura-providers.spec
+++ b/cura-providers.spec
@@ -1,5 +1,5 @@
Name: cura-providers
-Version: 0.0.8
+Version: 0.0.9
Release: 1%{?dist}
Summary: Set of basic CIM providers
@@ -72,7 +72,7 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
%description -n cura-account
%{summary}.
-%package -n cura-yum
+%package -n cura-software
Summary: CIM providers for software management
BuildArch: noarch
Requires: cmpi-bindings-pywbem
@@ -82,8 +82,8 @@ Requires: sblim-cmpi-base
# For reg2pegasus.py and register.sh script:
Requires: cura-providers
-%description -n cura-yum
-The cura-yum package contains CMPI providers for management of software
+%description -n cura-software
+The cura-software package contains CMPI providers for management of software
through yum package manager with Common Information Managemen (CIM) protocol.
The providers can be registered in any CMPI-aware CIMOM, both OpenPegasus and
@@ -101,10 +101,10 @@ popd
make %{?_smp_mflags} -C %{_target_platform}
-# for yum providers
-pushd src/yum
+# for software providers
+pushd src/software
%{__python} setup.py build
-popd # src/yum
+popd # src/software
%install
make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
@@ -115,11 +115,11 @@ make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
rm -rf "$RPM_BUILD_ROOT"/usr/bin/*.py
rm -rf "$RPM_BUILD_ROOT"/usr/lib/python*
-# for yum providers
-pushd src/yum
+# for software providers
+pushd src/software
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
-popd # src/yum
-cp mof/LMI_Yum.reg $RPM_BUILD_ROOT/%{_datadir}/%{name}/
+popd # src/software
+cp mof/LMI_Software.reg $RPM_BUILD_ROOT/%{_datadir}/%{name}/
%files
@@ -162,11 +162,11 @@ cp mof/LMI_Yum.reg $RPM_BUILD_ROOT/%{_datadir}/%{name}/
%{_datadir}/%{name}/LMI_Account.mof
%{_datadir}/%{name}/LMI_Account.reg
-%files -n cura-yum
+%files -n cura-software
%doc README COPYING
%{python_sitelib}/*
-%{_datadir}/%{name}/LMI_Yum.mof
-%{_datadir}/%{name}/LMI_Yum.reg
+%{_datadir}/%{name}/LMI_Software.mof
+%{_datadir}/%{name}/LMI_Software.reg
%post -p /sbin/ldconfig
@@ -206,11 +206,11 @@ if [ "$1" -gt 1 ]; then
> /dev/null 2>&1 || :;
fi
-%pre -n cura-yum
+%pre -n cura-software
if [ "$1" -gt 1 ]; then
%{_datadir}/cura-providers/register.sh unregister \
- %{_datadir}/%{name}/LMI_Yum.mof \
- %{_datadir}/%{name}/LMI_Yum.reg \
+ %{_datadir}/%{name}/LMI_Software.mof \
+ %{_datadir}/%{name}/LMI_Software.reg \
> /dev/null 2>&1 || :;
fi
@@ -248,11 +248,11 @@ if [ "$1" -ge 1 ]; then
> /dev/null 2>&1 || :;
fi
-%post -n cura-yum
+%post -n cura-software
if [ "$1" -ge 1 ]; then
%{_datadir}/cura-providers/register.sh register \
- %{_datadir}/%{name}/LMI_Yum.mof \
- %{_datadir}/%{name}/LMI_Yum.reg \
+ %{_datadir}/%{name}/LMI_Software.mof \
+ %{_datadir}/%{name}/LMI_Software.reg \
> /dev/null 2>&1 || :;
fi
@@ -290,16 +290,20 @@ if [ "$1" -eq 0 ]; then
> /dev/null 2>&1 || :;
fi
-%preun -n cura-yum
+%preun -n cura-software
if [ "$1" -eq 0 ]; then
%{_datadir}/cura-providers/register.sh unregister \
- %{_datadir}/%{name}/LMI_Yum.mof \
- %{_datadir}/%{name}/LMI_Yum.reg \
+ %{_datadir}/%{name}/LMI_Software.mof \
+ %{_datadir}/%{name}/LMI_Software.reg \
> /dev/null 2>&1 || :;
fi
%changelog
+* Sat Oct 13 2012 Michal Minar <miminar at redhat.com> - 0.0.9-1
+- Version 0.0.9
+- Renamed cura-yum subpackage to cura-software
+
* Sun Oct 07 2012 Michal Minar <miminar at redhat.com> - 0.0.8-1
- Version 0.0.8
diff --git a/sources b/sources
index 424d492..9b1b635 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-44c36ae987632eae1a70b8c590260c22 cura-providers-0.0.8.tar.gz
+90279f75037ccf9be1688fe669fe21b4 cura-providers-0.0.9.tar.gz
More information about the scm-commits
mailing list