From 1ea56d13c545c267bea4808236d9495764769427 Mon Sep 17 00:00:00 2001 From: Petr Šabata Date: Mar 25 2013 14:48:39 +0000 Subject: Run bootstrap to utilize Fedora autoconf (#926203) - Minor cleanup - Build in parallel --- diff --git a/nc6.spec b/nc6.spec index cac06f6..528238c 100644 --- a/nc6.spec +++ b/nc6.spec @@ -1,11 +1,12 @@ Summary: Netcat with IPv6 Support Name: nc6 Version: 1.0 -Release: 14%{?dist} +Release: 15%{?dist} Group: Applications/Internet URL: http://www.deepspace6.net/projects/netcat6.html License: GPLv2+ Source: ftp://ftp.deepspace6.net/pub/ds6/sources/nc6/%{name}-%{version}.tar.bz2 +BuildRequires: autoconf %description netcat6 is an IPv6-enabled clone of the original netcat utility. @@ -23,19 +24,24 @@ ago as another one of those cryptic but standard Unix tools." %setup -q %build -%configure --prefix=%{_prefix} --mandir=%{_mandir} CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE" -make COPTS="$RPM_OPT_FLAGS" DESTDIR="$RPM_BUILD_ROOT" +./bootstrap +%configure --prefix=%{_prefix} --mandir=%{_mandir} CFLAGS="%{optflags} -D_GNU_SOURCE" +make %{?_smp_mflags} %install -make DESTDIR="$RPM_BUILD_ROOT" install +make DESTDIR="%{buildroot}" install %files -%defattr(-,root,root) %{_bindir}/%{name} -%doc %{_mandir}/man1/nc6* +%doc %{_mandir}/man1/nc6.1* %doc README AUTHORS COPYING NEWS TODO %changelog +* Mon Mar 25 2013 Petr Šabata - 1.0-15 +- Run bootstrap to utilize Fedora autoconf (#926203) +- Minor cleanup +- Build in parallel + * Thu Feb 14 2013 Fedora Release Engineering - 1.0-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild