From 6ba7422c3b8941a855216688cf3e8fd928069f85 Mon Sep 17 00:00:00 2001 From: Steve Milner Date: Mon, 30 Jan 2017 10:40:10 +0100 Subject: [PATCH] spec: Fix rpmlint warnings - Switched spaces to tabs - Added quiet switch to setup --- Makefile | 2 +- spec.in | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index dee074be..d40e1298 100644 --- a/Makefile +++ b/Makefile @@ -183,7 +183,7 @@ $(SRPM): $(SPEC) $(SOURCE) # $(SPEC): rpmbuild/ spec.in @echo Running templater... - #cat spec.in > $(SPEC) + cat spec.in > $(SPEC) sed -e s/__PROGRAM__/$(PROGRAM)/g -e s/__VERSION__/$(VERSION)/g -e s/__RELEASE__/$(RELEASE)/g < spec.in > $(SPEC) # append a changelog to the .spec file git log --format="* %cd %aN <%aE>%n- (%h) %s%d%n" --date=local | sed -r 's/[0-9]+:[0-9]+:[0-9]+ //' >> $(SPEC) diff --git a/spec.in b/spec.in index 3d7a413e..465bad19 100644 --- a/spec.in +++ b/spec.in @@ -13,18 +13,18 @@ Source0: https://dl.fedoraproject.org/pub/alt/purpleidea/__PROGRAM__/SOURCES/__P Requires: graphviz # If go_compiler is not set to 1, there is no virtual provide. Use golang instead. -BuildRequires: %{?go_compiler:compiler(go-compiler)}%{!?go_compiler:golang} +BuildRequires: %{?go_compiler:compiler(go-compiler)}%{!?go_compiler:golang} BuildRequires: golang-googlecode-tools-stringer BuildRequires: git-core BuildRequires: mercurial -ExclusiveArch: %{go_arches} +ExclusiveArch: %{go_arches} %description A next generation config management prototype! %prep -%setup +%setup -q %build # FIXME: in the future, these could be vendor-ed in