Skip to content

Commit 04fa8e2

Browse files
committed
adding script to make this easier to consume
1 parent cf49329 commit 04fa8e2

2 files changed

Lines changed: 24 additions & 2 deletions

File tree

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
#!/bin/bash
2+
3+
# Licensed to the Apache Software Foundation (ASF) under one
4+
# or more contributor license agreements. See the NOTICE file
5+
# distributed with this work for additional information#
6+
# regarding copyright ownership. The ASF licenses this file
7+
# to you under the Apache License, Version 2.0 (the
8+
# "License"); you may not use this file except in compliance
9+
# with the License. You may obtain a copy of the License at
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
# Unless required by applicable law or agreed to in writing,
13+
# software distributed under the License is distributed on an
14+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15+
# KIND, either express or implied. See the License for the
16+
# specific language governing permissions and limitations
17+
# under the License.
18+
19+
cd ../
20+
tar -czf ~/rpmbuild/SOURCES/publican-cloudstack.tgz publican-cloudstack
21+
cp -a publican-cloudstack/publican-cloudstack.spec ~/rpmbuild/SPECS/
22+
rpmbuild -ba ~/rpmbuild/SPECS/publican-cloudstack.spec

docs/publican-cloudstack/publican-cloudstack.spec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22

33
Name: publican-cloudstack
44
Summary: Common documentation files for Apache %{brand}
5-
Version: 0.3
5+
Version: 0.4
66
Release: 1%{?dist}
77
License: ASLv2
88
Group: Applications/Text
99
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
1010
Buildarch: noarch
11-
Source: %{name}-%{version}.tgz
11+
Source: %{name}.tgz
1212
Requires: publican >= 1.99
1313
BuildRequires: publican >= 1.99
1414
URL: http://cloudstack.org

0 commit comments

Comments
 (0)