Blame SOURCES/0009-Remove-sclbuild-as-it-s-not-that-useful.patch

1ea029
From fdf5b1e5582acae15d485a4c2e2af2ff2819a8c6 Mon Sep 17 00:00:00 2001
1ea029
From: Jan Zeleny <jzeleny@redhat.com>
1ea029
Date: Tue, 29 Jul 2014 15:36:16 +0200
1ea029
Subject: [PATCH] Remove sclbuild, as it's not that useful
1ea029
1ea029
---
1ea029
 Makefile | 5 ++---
1ea029
 sclbuild | 8 --------
1ea029
 2 files changed, 2 insertions(+), 11 deletions(-)
1ea029
 delete mode 100755 sclbuild
1ea029
1ea029
diff --git a/Makefile b/Makefile
1ea029
index f050285c1ca85537f30bcfc7bf2cd0a38dd75821..a2d368926638c13ba3b230f02f17e27229046445 100644
1ea029
--- a/Makefile
1ea029
+++ b/Makefile
1ea029
@@ -3,7 +3,7 @@ VERSION=`date +%Y%m%d`
1ea029
 WARNINGS?=-Wall -Wshadow -Wcast-align -Winline -Wextra -Wmissing-noreturn
1ea029
 CFLAGS?=-O2
1ea029
 CFILES=scl.c
1ea029
-OTHERFILES=Makefile scl_enabled macros.scl scl.1 scldeps.sh scl.attr brp-scl-compress brp-scl-python-bytecompile scl.bash sclbuild
1ea029
+OTHERFILES=Makefile scl_enabled macros.scl scl.1 scldeps.sh scl.attr brp-scl-compress brp-scl-python-bytecompile scl.bash
1ea029
 SOURCES=$(CFILES) $(OTHERFILES)
1ea029
 
1ea029
 BINDIR?=/usr/bin
1ea029
@@ -37,7 +37,6 @@ install: all
1ea029
 	mkdir -p $(DESTDIR)/$(RPMCONFDIR)/fileattrs
1ea029
 	cp macros.scl $(DESTDIR)/$(CNFDIR)/rpm
1ea029
 	cp scl $(DESTDIR)/$(BINDIR)
1ea029
-	cp sclbuild $(DESTDIR)/$(BINDIR)
1ea029
 	cp scl_enabled $(DESTDIR)/$(BINDIR)
1ea029
 	cp scl.1 $(DESTDIR)/$(MANDIR)/man1
1ea029
 	cp scl.attr $(DESTDIR)/$(RPMCONFDIR)/fileattrs
1ea029
@@ -47,7 +46,7 @@ install: all
1ea029
 	cp scl.bash $(DESTDIR)/$(CNFDIR)/bash_completion.d
1ea029
 
1ea029
 uninstall:
1ea029
-	rm -f $(BINDIR)/scl $(BINDIR)/scl_enabled $(BINDIR)/sclbuild
1ea029
+	rm -f $(BINDIR)/scl $(BINDIR)/scl_enabled
1ea029
 	rm -f $(CNFDIR)/rpm/macros.scl
1ea029
 	rm -f $(MANDIR)/man1/scl.1
1ea029
 	rm -f $(RPMCONFDIR)/fileattrs/scl.attr
1ea029
diff --git a/sclbuild b/sclbuild
1ea029
deleted file mode 100755
1ea029
index 183d8e8d8fbcd8140052cf9b381ae73bc9f633c1..0000000000000000000000000000000000000000
1ea029
--- a/sclbuild
1ea029
+++ /dev/null
1ea029
@@ -1,8 +0,0 @@
1ea029
-#!/bin/sh
1ea029
-if [ $# -le 1 ]; then
1ea029
-	echo "$0 <collection name> <rpmbuild arguments>"
1ea029
-else
1ea029
-	SCL=$1
1ea029
-	shift
1ea029
-	rpmbuild $@ --define "scl $SCL"
1ea029
-fi
1ea029
-- 
1ea029
1.9.3
1ea029