fix build
This commit is contained in:
parent
b213e001a1
commit
0a9546ca49
|
@ -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@fabian-affolter.ch> - 0.7.1-2
|
||||
- Added CFLAGS
|
||||
|
||||
* Thu Dec 23 2008 Fabian Affolter <mail@fabian-affolter.ch> - 0.7.1-1
|
||||
* Tue Dec 23 2008 Fabian Affolter <mail@fabian-affolter.ch> - 0.7.1-1
|
||||
- Initial spec for Fedora
|
||||
|
|
Loading…
Reference in New Issue