[node-patches] Change in ovirt-node-iso[node-3.1]: build: Rework build stuff

fabiand at fedoraproject.org fabiand at fedoraproject.org
Mon Jun 30 15:49:28 UTC 2014


Fabian Deutsch has uploaded a new change for review.

Change subject: build: Rework build stuff
......................................................................

build: Rework build stuff

… to better align with other packages.

Change-Id: Iaf40e6899cd50bb46749dd4c77f6d0c4751f5396
Signed-off-by: Fabian Deutsch <fabiand at fedoraproject.org>
---
M configure.ac
1 file changed, 33 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node-iso refs/changes/27/29427/1

diff --git a/configure.ac b/configure.ac
index 378d188..1f4df4e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,4 +1,36 @@
-AC_INIT([ovirt-node-base-iso], [3.1.0], [node-devel at ovirt.org])
+dnl
+dnl Licensed to the Apache Software Foundation (ASF) under one or more
+dnl contributor license agreements.  See the NOTICE file distributed with
+dnl this work for additional information regarding copyright ownership.
+dnl The ASF licenses this file to You under the Apache License, Version 2.0
+dnl (the "License"); you may not use this file except in compliance with
+dnl the License.  You may obtain a copy of the License at
+dnl
+dnl     http://www.apache.org/licenses/LICENSE-2.0
+dnl
+dnl Unless required by applicable law or agreed to in writing, software
+dnl distributed under the License is distributed on an "AS IS" BASIS,
+dnl WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+dnl See the License for the specific language governing permissions and
+dnl limitations under the License.
+dnl
+
+AC_PREREQ(2.60)
+
+define([VERSION_MAJOR], [3])
+define([VERSION_MINOR], [1])
+define([VERSION_FIX], [0])
+define([VERSION_NUMBER], VERSION_MAJOR[.]VERSION_MINOR[.]VERSION_FIX)
+define([VERSION_SUFFIX], [_master])
+
+AC_INIT([ovirt-node-iso], VERSION_NUMBER[]VERSION_SUFFIX, [devel at ovirt.org])
+PACKAGE_RPM_VERSION="VERSION_NUMBER"
+PACKAGE_RPM_RELEASE="0.0.$(echo VERSION_SUFFIX | sed 's/^_//')"
+AC_SUBST([PACKAGE_RPM_VERSION])
+AC_SUBST([PACKAGE_RPM_RELEASE])
+
+
+
 AM_INIT_AUTOMAKE([-Wall -Werror foreign -Wno-portability tar-pax])
 
 AC_SUBST([FEDORA],[[`rpm --eval '%{fedora}'|sed 's/[^0-9]//g'`]])


-- 
To view, visit http://gerrit.ovirt.org/29427
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Iaf40e6899cd50bb46749dd4c77f6d0c4751f5396
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node-iso
Gerrit-Branch: node-3.1
Gerrit-Owner: Fabian Deutsch <fabiand at fedoraproject.org>



More information about the node-patches mailing list