[cura-providers] Remove python parts
Roman Rakus
rrakus at fedoraproject.org
Tue Sep 18 14:38:25 UTC 2012
commit 3ce71be58aa7c9df9d12c5687cee3b9d78a97772
Author: Roman Rakus <rrakus at redhat.com>
Date: Tue Sep 18 16:37:57 2012 +0200
Remove python parts
Signed-off-by: Roman Rakus <rrakus at redhat.com>
cura-providers.spec | 15 ++++++++++++++-
1 files changed, 14 insertions(+), 1 deletions(-)
---
diff --git a/cura-providers.spec b/cura-providers.spec
index 0a49d91..a5fba06 100644
--- a/cura-providers.spec
+++ b/cura-providers.spec
@@ -1,6 +1,6 @@
Name: cura-providers
Version: 0.0.4
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Set of basic CIM providers
License: GPLv2+
@@ -23,6 +23,10 @@ Requires: python2
# sblim-sfcb or tog-pegasus
Requires: cim-server
+# XXX
+# Just because we have wired python's scripts
+# Remove in future
+BuildRequires: python-setuptools
%description
%{name} is set of (usually) small CMPI providers (agents) for basic
@@ -84,6 +88,12 @@ make %{?_smp_mflags} -C %{_target_platform}
%install
make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
+# XXX
+# Remove pythonies
+# Don't forget to remove this dirty hack in the future
+rm -rf "$RPM_BUILD_ROOT"/usr/bin/*.py
+rm -rf "$RPM_BUILD_ROOT"/usr/lib/python*
+
%files
%doc README COPYING
@@ -233,6 +243,9 @@ fi
%changelog
+* Tue Sep 18 2012 Roman Rakus <rrakus at redhat.com> - 0.0.4-2
+- Remove python scripts. There are not intended to be present here.
+
* Tue Sep 18 2012 Roman Rakus <rrakus at redhat.com> - 0.0.4-1
- Verion 0.0.4
More information about the scm-commits
mailing list