Upstream update.

Spec modernization.
Abandon patches (unnecessary).
This commit is contained in:
Ralf Corsépius 2011-04-22 05:39:02 +02:00
parent 756f7ab6ca
commit 274a1e0304
3 changed files with 10 additions and 14 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
help2man-1.38.2.tar.gz
/help2man-1.39.2.tar.gz

View File

@ -4,8 +4,8 @@
Name: help2man
Summary: Create simple man pages from --help output
Version: 1.38.2
Release: 2%{?dist}
Version: 1.39.2
Release: 1%{?dist}
Group: Development/Tools
License: GPLv3+
URL: http://www.gnu.org/software/help2man
@ -13,10 +13,6 @@ Source: ftp://ftp.gnu.org/gnu/help2man/help2man-%{version}.tar.gz
%bcond_with nls
Patch0: help2man-1.38.2-locales.diff
Patch1: help2man-1.38.2-mans.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%{!?with_nls:BuildArch: noarch}
%{?with_nls:BuildRequires: perl(Locale::gettext)}
%{?with_nls:Requires: perl(Locale::gettext)}
@ -34,22 +30,16 @@ still providing some useful information.
%prep
%setup -q -n help2man-%{version}
%patch0 -p1
%patch1 -p1
%build
%configure --%{!?with_nls:disable}%{?with_nls:enable}-nls --libdir=%{_libdir}/help2man
make %{?_smp_mflags}
%install
rm -fr $RPM_BUILD_ROOT
make install_l10n DESTDIR=$RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
%find_lang %name --with-man
%clean
rm -fr $RPM_BUILD_ROOT
%post
/sbin/install-info %{_infodir}/help2man.info %{_infodir}/dir 2>/dev/null || :
@ -71,6 +61,11 @@ fi
%endif
%changelog
* Fri Apr 22 2011 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.39.2-1
- Upstream update.
- Spec modernization.
- Abandon patches (unnecessary).
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.38.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
@ -78,7 +73,7 @@ fi
- Upstream update.
- Add *-locales.diff, *-mans.diff.
- Use %%find_lang --with-man.
- Use %%%bcond_with nls.
- Use %%bcond_with nls.
* Tue Feb 23 2010 Ondrej Vasik <ovasik@redhat.com> - 1.36.4-6
- do ship COPYING file in %%doc

View File

@ -1 +1 @@
426671c6fe79e5ef2233303367eab5a6 help2man-1.38.2.tar.gz
36659da3ba7a9a51813e1c4848900a28 help2man-1.39.2.tar.gz