[bunny] Cleanup.
Christopher Meng
cicku at fedoraproject.org
Mon Aug 12 01:58:48 UTC 2013
commit 8037d2a28b55c6e1ed99c3cd1a43ca6589c1ff30
Author: Koji <koji at fedoraproject.org>
Date: Mon Aug 12 09:58:09 2013 +0800
Cleanup.
bunny.spec | 42 +++++++++++++++++-------------------------
1 files changed, 17 insertions(+), 25 deletions(-)
---
diff --git a/bunny.spec b/bunny.spec
index ed09068..e8cb6ba 100644
--- a/bunny.spec
+++ b/bunny.spec
@@ -1,17 +1,14 @@
Name: bunny
Version: 0.93
-Release: 15%{?dist}
+Release: 16%{?dist}
Summary: Instrumented C code security fuzzer
-
-Group: Development/Tools
License: ASL 2.0
URL: http://code.google.com/p/%{name}-the-fuzzer/
Source0: http://%{name}-the-fuzzer.googlecode.com/files/%{name}-%{version}.tgz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: openssl-devel
-
# Package dynamically re-writes assembly code
-ExclusiveArch: %{ix86} x86_64
+ExclusiveArch: %{ix86} x86_64
+Provides: %{name}-the-fuzzer
%description
A closed loop, high-performance, general purpose protocol-blind fuzzer
@@ -25,41 +22,36 @@ process without a noticeable performance impact usually associated
with other attempts to peek into run-time internals.
%prep
-%setup -q -n %{name}
-
+%setup -qn %{name}
%build
-make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS"
+make %{?_smp_mflags} CFLAGS="%{optflags}"
+
+%install
+mkdir -p %{buildroot}%{_bindir}
+install -p -m 755 %{name}-exec %{buildroot}%{_bindir}/
+install -p -m 755 %{name}-flow %{buildroot}%{_bindir}/
+install -p -m 755 %{name}-gcc %{buildroot}%{_bindir}/
+install -p -m 755 %{name}-main %{buildroot}%{_bindir}/
+install -p -m 755 %{name}-trace %{buildroot}%{_bindir}/
%check
make test1
make test2
make test3
-%install
-rm -rf $RPM_BUILD_ROOT
-mkdir -p $RPM_BUILD_ROOT%{_bindir}
-install -p -m 755 %{name}-exec $RPM_BUILD_ROOT%{_bindir}/
-install -p -m 755 %{name}-flow $RPM_BUILD_ROOT%{_bindir}/
-install -p -m 755 %{name}-gcc $RPM_BUILD_ROOT%{_bindir}/
-install -p -m 755 %{name}-main $RPM_BUILD_ROOT%{_bindir}/
-install -p -m 755 %{name}-trace $RPM_BUILD_ROOT%{_bindir}/
-
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-
%files
-%defattr(-,root,root,-)
-%doc COPYING README CHANGES
+%doc CHANGES COPYING README
%{_bindir}/%{name}-exec
%{_bindir}/%{name}-flow
%{_bindir}/%{name}-gcc
%{_bindir}/%{name}-main
%{_bindir}/%{name}-trace
-
%changelog
+* Mon Aug 12 2013 Christopher Meng <rpm at cicku.me> - 0.93-16
+- SPEC cleanup.
+
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.93-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
More information about the scm-commits
mailing list