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

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