diff --git a/a2ps.changes b/a2ps.changes index 0bd6da4..c84855d 100644 --- a/a2ps.changes +++ b/a2ps.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sat Sep 17 10:39:10 UTC 2011 - jengelh@medozas.de + +- Remove redundant tags/sections from specfile +- Use %_smp_mflags for parallel build + ------------------------------------------------------------------- Tue Jan 18 15:23:10 UTC 2011 - werner@novell.com diff --git a/a2ps.spec b/a2ps.spec index 152d424..85c6dde 100644 --- a/a2ps.spec +++ b/a2ps.spec @@ -25,7 +25,6 @@ Group: Productivity/Publishing/PS Provides: a2ps-bin Requires: /bin/sed /usr/bin/iconv /usr/bin/file /usr/bin/wdiff /usr/bin/w3m ghostscript-fonts-std Suggests: acroread gv ImageMagick psutils texinfo texlive-latex -AutoReqProv: on PreReq: %{install_info_prereq} Version: 4.13 Release: 1336 @@ -46,7 +45,6 @@ Patch9: a2ps-4.13-utf8.patch Patch10: a2ps-4.13-types.patch Patch11: a2ps-4.13-psgen.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build -%global _sysconfdir /etc %description a2ps converts ASCII text into PostScript. This feature is used by @@ -56,18 +54,11 @@ Warning: a2ps is not able to convert complex unicode (UTF-8) text to PostScript. Only language text which can be converted from UTF-8 to latin encodings are supported. - - -Authors: --------- - Miguel Santana - %package -n a2ps-devel License: GPLv2+ Summary: Library and header file for the interface of a2ps Group: Development/Libraries/Other Provides: a2ps:%{_libdir}/liba2ps.a -AutoReqProv: on Requires: %{name} = %{version} glibc-devel %description -n a2ps-devel @@ -78,12 +69,6 @@ Warning: a2ps is not able to convert complex unicode (UTF-8) text to PostScript. Only language text which can be converted from UTF-8 to latin encodings are supported. - - -Authors: --------- - Miguel Santana - %prep %setup -q -n a2ps-4.13 touch -r configure.in .ref @@ -119,9 +104,9 @@ rename no nb po/no.* rm -f ${in} ${m4%.*} con="$con ${in##*/}" done - %{__make} %{?jobs:-j%jobs} -C contrib/ ${con} + make %{?_smp_mflags} -C contrib/ ${con} sh ./config.status - %{__make} %{?jobs:-j%jobs} PSFONT_PATH=%{_datadir}/ghostscript/fonts + make %{?_smp_mflags} PSFONT_PATH=%{_datadir}/ghostscript/fonts pushd doc texi2html a2ps.texi popd @@ -134,9 +119,6 @@ rename no nb po/no.* rm -f %{buildroot}%{_libdir}/liba2ps.la install -m 0755 %{S:2} %{buildroot}/%{_bindir}/ -%clean -%{?buildroot: %{__rm} -rf %{buildroot}} - %post /sbin/ldconfig %install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz