diff options
author | rjones <rjones> | 2009-03-23 12:49:11 +0000 |
---|---|---|
committer | rjones <rjones> | 2009-03-23 12:49:11 +0000 |
commit | b72ec392f8150426e01c38d9307baf9032111c15 (patch) | |
tree | 26487e0a7b4d0b0f088301c2e93e5959d52afebc | |
parent | e7bed7ee84a832ad1ff5c2117babd2b6810cb058 (diff) | |
download | febootstrap-b72ec392f8150426e01c38d9307baf9032111c15.tar.gz febootstrap-b72ec392f8150426e01c38d9307baf9032111c15.tar.xz febootstrap-b72ec392f8150426e01c38d9307baf9032111c15.zip |
Arch is noarch, and clean up examples directory.
-rw-r--r-- | febootstrap.spec.in | 7 |
1 files changed, 7 insertions, 0 deletions
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 |