spec: Fix rpmlint warnings

- Switched spaces to tabs
- Added quiet switch to setup
This commit is contained in:
Steve Milner
2017-01-30 10:40:10 +01:00
parent 5cbb0ceb80
commit 6ba7422c3b
2 changed files with 4 additions and 4 deletions

View File

@@ -183,7 +183,7 @@ $(SRPM): $(SPEC) $(SOURCE)
# #
$(SPEC): rpmbuild/ spec.in $(SPEC): rpmbuild/ spec.in
@echo Running templater... @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) 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 # 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) git log --format="* %cd %aN <%aE>%n- (%h) %s%d%n" --date=local | sed -r 's/[0-9]+:[0-9]+:[0-9]+ //' >> $(SPEC)

View File

@@ -24,7 +24,7 @@ ExclusiveArch: %{go_arches}
A next generation config management prototype! A next generation config management prototype!
%prep %prep
%setup %setup -q
%build %build
# FIXME: in the future, these could be vendor-ed in # FIXME: in the future, these could be vendor-ed in