diff --git a/gnu_parallel.spec b/gnu_parallel.spec index 9dd424a..913427b 100644 --- a/gnu_parallel.spec +++ b/gnu_parallel.spec @@ -24,9 +24,9 @@ License: GPL-3.0+ Group: Productivity/File utilities Url: http://www.gnu.org/software/parallel/ #DL-URL: http://ftp.gnu.org/gnu/parallel/ -Source: http://ftp.gnu.org/gnu/parallel/parallel-%{version}.tar.bz2 -Source2: http://ftp.gnu.org/gnu/parallel/parallel-%{version}.tar.bz2.sig -Source3: %{name}.keyring +Source: http://ftp.gnu.org/gnu/parallel/parallel-%version.tar.bz2 +Source2: http://ftp.gnu.org/gnu/parallel/parallel-%version.tar.bz2.sig +Source3: %name.keyring BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %if 0%{?suse_version} @@ -43,27 +43,27 @@ a pipe. GNU Parallel can then split the input and pipe it into commands in parallel. %prep -%setup -q -n parallel-%{version} +%setup -q -n parallel-%version %build -%configure --docdir="%{_docdir}/%{name}" +%configure --docdir="%_docdir/%name" make %{?_smp_mflags} %install -make install DESTDIR=%{buildroot} %{?_smp_mflags} +make install DESTDIR=%buildroot %{?_smp_mflags} %if 0%{?fdupes:1} -%fdupes %{buildroot}/%{_prefix} +%fdupes %buildroot/%_prefix %endif %files %defattr(-,root,root) %doc CITATION COPYING NEWS README -%{_bindir}/niceload -%{_bindir}/parallel -%{_bindir}/sem -%{_bindir}/sql -%{_mandir}/man1/*.1* -%{_mandir}/man7/*.7* -%{_docdir}/%{name} +%_bindir/niceload +%_bindir/parallel +%_bindir/sem +%_bindir/sql +%_mandir/man1/*.1* +%_mandir/man7/*.7* +%_docdir/%name %changelog