From b72ec392f8150426e01c38d9307baf9032111c15 Mon Sep 17 00:00:00 2001 From: rjones Date: Mon, 23 Mar 2009 12:49:11 +0000 Subject: [PATCH] Arch is noarch, and clean up examples directory. --- febootstrap.spec.in | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/febootstrap.spec.in b/febootstrap.spec.in index 9ca791c..a93e9ea 100644 --- a/febootstrap.spec.in +++ b/febootstrap.spec.in @@ -9,6 +9,7 @@ Group: Development/Tools URL: http://et.redhat.com/~rjones/febootstrap/ Source0: http://et.redhat.com/~rjones/febootstrap/files/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root +BuildArch: noarch BuildRequires: /usr/bin/pod2man @@ -50,6 +51,12 @@ make rm -rf $RPM_BUILD_ROOT make DESTDIR=$RPM_BUILD_ROOT install +# Clean up the examples/ directory which will get installed in %doc. +# In this case I don't want the scripts to be executable because +# people should read them carefully before running them. +rm examples/Makefile* +chmod -x examples/*.sh + %clean rm -rf $RPM_BUILD_ROOT -- 1.8.3.1