[bonesi] Simplify handling of doc files
Mathieu Bridon
bochecha at fedoraproject.org
Fri Jan 25 07:06:37 UTC 2013
commit 38eca98ecb339c0770d48f54a0bce83b9d3a930a
Author: Mathieu Bridon <bochecha at fedoraproject.org>
Date: Fri Jan 25 14:57:33 2013 +0800
Simplify handling of doc files
bonesi.spec | 14 +++++---------
1 files changed, 5 insertions(+), 9 deletions(-)
---
diff --git a/bonesi.spec b/bonesi.spec
index f683521..8b6c54d 100644
--- a/bonesi.spec
+++ b/bonesi.spec
@@ -1,6 +1,6 @@
Name: bonesi
Version: 0.2.0
-Release: 4%{?dist}
+Release: 5%{?dist}
Summary: The DDoS Botnet Simulator
License: ASL 2.0
@@ -28,21 +28,17 @@ make %{?_smp_mflags}
%install
make install DESTDIR=$RPM_BUILD_ROOT
-# Add the examples
-install -d %{buildroot}%{_docdir}/%{name}-%{version}
-install -p -m 644 50k-bots %{buildroot}%{_docdir}/%{name}-%{version}/
-install -p -m 644 browserlist.txt %{buildroot}%{_docdir}/%{name}-%{version}/
-install -p -m 644 urllist.txt %{buildroot}%{_docdir}/%{name}-%{version}/
-
%files
-%doc LICENSE README
+%doc LICENSE README 50k-bots browserlist.txt urllist.txt
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1*
-%doc %{_docdir}/%{name}-%{version}
%changelog
+* Fri Jan 25 2013 Mathieu Bridon <bochecha at fedoraproject.org> - 0.2.0-5
+- Simplify handling of doc files.
+
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.2.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
More information about the scm-commits
mailing list