incubator-cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rohit Yadav <bhais...@apache.org>
Subject Packaging: Version changes and path fixes
Date Wed, 20 Feb 2013 11:18:03 GMT
Hi Hugo/Wido et al!

I changed the package version to 4.2.0-SNAPSHOT, just wanted to inform
in case it affects anything. I had to fix paths in sped and debian
file so client is copied from a wildcard path as version may change,
pl. see and fix as needed:

commit 1121977513ce2f911b489e7b4e89cbaaa142abe9
diff --git a/debian/rules b/debian/rules
index 36b611d..69fba7a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -60,7 +60,7 @@ install:
        cp -r client/target/utilities/scripts/db/*
debian/tmp/usr/share/cloud/setup/
-       cp -r client/target/cloud-client-ui-4.1.0-SNAPSHOT/*
debian/tmp/usr/share/cloud/management/webapps/client/
+       cp -r client/target/cloud-client-ui-*-SNAPSHOT/*
debian/tmp/usr/share/cloud/management/webapps/client/

diff --git a/packaging/centos63/cloud.spec b/packaging/centos63/cloud.spec
index 5a15ce4..1267f47 100644
--- a/packaging/centos63/cloud.spec
+++ b/packaging/centos63/cloud.spec
@@ -215,7 +215,7 @@ install -D
client/target/utilities/bin/cloud-sysvmadm ${RPM_BUILD_ROOT}%{_bindir
-cp -r client/target/cloud-client-ui-4.1.0-SNAPSHOT/*
${RPM_BUILD_ROOT}%{_datadir}/%{name}-management/webapps/client
+cp -r client/target/cloud-client-ui-*-SNAPSHOT/*
${RPM_BUILD_ROOT}%{_datadir}/%{name}-management/webapps/client


Regards.

Mime
View raw message