git.annexia.org
/
febootstrap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e7bed7e
)
Arch is noarch, and clean up examples directory.
author
rjones
<rjones>
Mon, 23 Mar 2009 12:49:11 +0000
(12:49 +0000)
committer
rjones
<rjones>
Mon, 23 Mar 2009 12:49:11 +0000
(12:49 +0000)
febootstrap.spec.in
patch
|
blob
|
history
diff --git
a/febootstrap.spec.in
b/febootstrap.spec.in
index
9ca791c
..
a93e9ea
100644
(file)
--- 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
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
BuildRequires: /usr/bin/pod2man
@@
-50,6
+51,12
@@
make
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
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
%clean
rm -rf $RPM_BUILD_ROOT