From: rjones Date: Mon, 23 Mar 2009 12:49:11 +0000 (+0000) Subject: Arch is noarch, and clean up examples directory. X-Git-Tag: 1.5~23 X-Git-Url: http://git.annexia.org/?p=febootstrap.git;a=commitdiff_plain;h=b72ec392f8150426e01c38d9307baf9032111c15 Arch is noarch, and clean up examples directory. --- 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