From f7e7bee334af5afc171bb63d01797ccc5a83d813 Mon Sep 17 00:00:00 2001 From: Lokesh Mandvekar Date: May 02 2018 20:49:23 +0000 Subject: formatting changes for autobuilder script Signed-off-by: Lokesh Mandvekar --- diff --git a/container-storage-setup.spec b/container-storage-setup.spec index 52194b9..8f9b57f 100644 --- a/container-storage-setup.spec +++ b/container-storage-setup.spec @@ -1,20 +1,20 @@ %global git0 https://github.com/projectatomic/%{name} %global csslibdir %{_datadir}/%{name} -%global commit0 1d27ecf705a964b4d96ec815120359eeec1fea50 -%global shortcommit0 %(c=%{commit0}; echo ${c:0:7}) - -Name: container-storage-setup -Version: 0.8.0 -Release: 3.git%{shortcommit0}%{?dist} -Summary: A simple service to setup container storage devices - -License: ASL 2.0 -URL: http://github.com/projectatomic/%{name}/ +%global commit0 1d27ecf705a964b4d96ec815120359eeec1fea50 +%global shortcommit0 %(c=%{commit0}; echo ${c:0:7}) + +Name: container-storage-setup +Version: 0.8.0 +Release: 3.git%{shortcommit0}%{?dist} +Summary: A simple service to setup container storage devices +License: ASL 2.0 +URL: %{git0} Source0: %{git0}/archive/%{commit0}/%{name}-%{shortcommit0}.tar.gz BuildArch: noarch -Requires: lvm2 -Requires: xfsprogs -Requires: parted +BuildRequires: git +Requires: lvm2 +Requires: xfsprogs +Requires: parted %description This is a simple service to configure Container Runtimes to use an LVM-managed @@ -22,7 +22,7 @@ thin pool. It also supports auto-growing both the pool as well as the root logical volume and partition table. %prep -%setup -q -n %{name}-%{commit0} +%autosetup -Sgit -n %{name}-%{commit0} %build