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

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