Let configure honor CFLAGS (Fix F23FTBFS, RHBZ#1240089).
- Add %license. - Modernize spec.
This commit is contained in:
parent
833a336c08
commit
8e0fa516bb
|
@ -1,6 +1,6 @@
|
||||||
Name: yersinia
|
Name: yersinia
|
||||||
Version: 0.7.3
|
Version: 0.7.3
|
||||||
Release: 4%{?dist}
|
Release: 5%{?dist}
|
||||||
Summary: Network protocols tester and attacker
|
Summary: Network protocols tester and attacker
|
||||||
|
|
||||||
Group: Applications/Internet
|
Group: Applications/Internet
|
||||||
|
@ -34,6 +34,12 @@ implementing new ones):
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -c %{name}-%{version}
|
%setup -q -c %{name}-%{version}
|
||||||
|
|
||||||
|
# Don't override CFLAGS in configure* (RHBZ#1240089)
|
||||||
|
sed -i -e "s,^\(\s*CFLAGS=\".*\"\),:\1," configure*
|
||||||
|
# Avoid rerunning the autotools
|
||||||
|
touch -r aclocal.m4 configure*
|
||||||
|
|
||||||
# Convert to utf-8
|
# Convert to utf-8
|
||||||
for file in THANKS; do
|
for file in THANKS; do
|
||||||
mv $file timestamp
|
mv $file timestamp
|
||||||
|
@ -46,15 +52,20 @@ done
|
||||||
make %{?_smp_mflags} CFLAGS="%{optflags}"
|
make %{?_smp_mflags} CFLAGS="%{optflags}"
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf %{buildroot}
|
|
||||||
make install DESTDIR=%{buildroot} INSTALL="install -p"
|
make install DESTDIR=%{buildroot} INSTALL="install -p"
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc AUTHORS ChangeLog COPYING FAQ README THANKS TODO
|
%doc AUTHORS ChangeLog FAQ README THANKS TODO
|
||||||
|
%license COPYING
|
||||||
%{_mandir}/man?/%{name}.*
|
%{_mandir}/man?/%{name}.*
|
||||||
%{_bindir}/%{name}
|
%{_bindir}/%{name}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Aug 19 2015 Ralf Corsépius <corsepiu@fedoraproject.org> - 0.7.3-5
|
||||||
|
- Let configure honor CFLAGS (Fix F23FTBFS, RHBZ#1240089).
|
||||||
|
- Add %%license.
|
||||||
|
- Modernize spec.
|
||||||
|
|
||||||
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.3-4
|
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.3-4
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue