adding script to make this easier to consume
Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/04fa8e2d Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/04fa8e2d Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/04fa8e2d Branch: refs/heads/4.0 Commit: 04fa8e2d49a54bb76f9bfad1ed63e6a32dec45ce Parents: cf49329 Author: David Nalley <[email protected]> Authored: Sun Sep 9 16:44:44 2012 -0400 Committer: David Nalley <[email protected]> Committed: Sun Sep 9 16:44:44 2012 -0400 ---------------------------------------------------------------------- docs/publican-cloudstack/gen_rpm.sh | 22 ++++++++++++++++ docs/publican-cloudstack/publican-cloudstack.spec | 4 +- 2 files changed, 24 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/04fa8e2d/docs/publican-cloudstack/gen_rpm.sh ---------------------------------------------------------------------- diff --git a/docs/publican-cloudstack/gen_rpm.sh b/docs/publican-cloudstack/gen_rpm.sh new file mode 100755 index 0000000..6c87141 --- /dev/null +++ b/docs/publican-cloudstack/gen_rpm.sh @@ -0,0 +1,22 @@ +#!/bin/bash + +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information# +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + +cd ../ +tar -czf ~/rpmbuild/SOURCES/publican-cloudstack.tgz publican-cloudstack +cp -a publican-cloudstack/publican-cloudstack.spec ~/rpmbuild/SPECS/ +rpmbuild -ba ~/rpmbuild/SPECS/publican-cloudstack.spec http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/04fa8e2d/docs/publican-cloudstack/publican-cloudstack.spec ---------------------------------------------------------------------- diff --git a/docs/publican-cloudstack/publican-cloudstack.spec b/docs/publican-cloudstack/publican-cloudstack.spec index 9dec600..0321863 100644 --- a/docs/publican-cloudstack/publican-cloudstack.spec +++ b/docs/publican-cloudstack/publican-cloudstack.spec @@ -2,13 +2,13 @@ Name: publican-cloudstack Summary: Common documentation files for Apache %{brand} -Version: 0.3 +Version: 0.4 Release: 1%{?dist} License: ASLv2 Group: Applications/Text Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Buildarch: noarch -Source: %{name}-%{version}.tgz +Source: %{name}.tgz Requires: publican >= 1.99 BuildRequires: publican >= 1.99 URL: http://cloudstack.org
