[yersinia] fix build
Fabian Affolter
fab at fedoraproject.org
Wed Jan 22 14:13:00 UTC 2014
commit 0a9546ca4992cccd84fbb5c3162bcdad04ca7878
Author: Fabian Affolter <mail at fabian-affolter.ch>
Date: Wed Jan 22 15:13:07 2014 +0100
fix build
yersinia.spec | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/yersinia.spec b/yersinia.spec
index 8e3f71a..fb9f960 100644
--- a/yersinia.spec
+++ b/yersinia.spec
@@ -33,7 +33,13 @@ implementing new ones):
* VLAN Trunking Protocol (VTP)
%prep
-%setup -q
+%setup -q -c %{name}-%{version}
+# Convert to utf-8
+for file in THANKS; do
+ mv $file timestamp
+ iconv -f ISO-8859-1 -t UTF-8 -o $file timestamp
+ touch -r timestamp $file
+done
%build
%configure --with-pcap-includes=%{_includedir}/pcap
@@ -42,12 +48,6 @@ make %{?_smp_mflags} CFLAGS="%{optflags}"
%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot} INSTALL="install -p"
-# Convert to utf-8
-for file in THANKS; do
- mv $file timestamp
- iconv -f ISO-8859-1 -t UTF-8 -o $file timestamp
- touch -r timestamp $file
-done
%files
%doc AUTHORS ChangeLog COPYING FAQ README THANKS TODO
@@ -91,5 +91,5 @@ done
* Fri Dec 26 2008 Fabian Affolter <mail at fabian-affolter.ch> - 0.7.1-2
- Added CFLAGS
-* Thu Dec 23 2008 Fabian Affolter <mail at fabian-affolter.ch> - 0.7.1-1
+* Tue Dec 23 2008 Fabian Affolter <mail at fabian-affolter.ch> - 0.7.1-1
- Initial spec for Fedora
More information about the scm-commits
mailing list