install all the documentation to the usual docdir (#225707)

This commit is contained in:
Štěpán Kasal 2009-01-30 09:44:27 +00:00
parent 2385f4161a
commit ca5d993fbf

View File

@ -1,7 +1,7 @@
Name: dosfstools
Summary: Utilities for making and checking MS-DOS FAT filesystems on Linux
Version: 3.0.1
Release: 1%{?dist}
Release: 2%{?dist}
License: GPLv3+
Group: Applications/System
Source0: http://www.daniel-baumann.ch/software/dosfstools/%{name}-%{version}.tar.gz
@ -17,6 +17,7 @@ drives or on floppies.
%prep
%setup -q
sed -i 's,\$(DOCDIR)/%{name}$,&-%{version},' Makefile
%build
make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
@ -30,12 +31,14 @@ rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc %{_datadir}/doc/%{name}/
%doc ChangeLog COPYING
/sbin/*
%{_mandir}/man8/*
%changelog
* Fri Jan 30 2009 Stepan Kasal <skasal@redhat.com> - 3.0.1-2
- install all the documentation to the usual docdir (#225707)
* Mon Jan 19 2009 Peter Vrabec <pvrabec@redhat.com> - 3.0.1-1
- upgrade
- include ChangeLog and COPYING (#225707)