New version

Resolves: rhbz#1333781
- Switched to autotools
- Various spec file cosmetic fixes (e.g. used optflags)
This commit is contained in:
Jaroslav Škarvada 2016-05-06 15:08:09 +02:00
parent d7ce8f2ae7
commit 35480096c2
2 changed files with 13 additions and 9 deletions

View File

@ -1,7 +1,7 @@
Name: dosfstools
Summary: Utilities for making and checking MS-DOS FAT filesystems on Linux
Version: 3.0.28
Release: 2%{?dist}
Version: 4.0
Release: 1%{?dist}
License: GPLv3+
Group: Applications/System
Source0: http://github.com/%{name}/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.xz
@ -16,21 +16,25 @@ drives or on floppies.
%setup -q
%build
make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fno-strict-aliasing"
%configure --enable-compat-symlinks
make %{?_smp_mflags} CFLAGS="%{optflags} -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fno-strict-aliasing"
%install
rm -rf %{buildroot}
make DESTDIR=%{buildroot} install-bin install-man install-symlinks PREFIX=%{_prefix}
make DESTDIR=%{buildroot} install PREFIX=%{_prefix}
%files
%defattr(-,root,root,-)
%doc ChangeLog COPYING doc/*-2.x
%doc ChangeLog COPYING doc/*
%{_sbindir}/*
%{_mandir}/man8/*
%{_mandir}/de/man8/*
%changelog
* Fri May 6 2016 Jaroslav Škarvada <jskarvad@redhat.com> - 4.0-1
- New version
Resolves: rhbz#1333781
- Switched to autotools
- Various spec file cosmetic fixes (e.g. used optflags)
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.28-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild

View File

@ -1 +1 @@
6a047a6c65186b9ebb1853709adb36db dosfstools-3.0.28.tar.xz
20f8388b99702f276c973d228c7cff45 dosfstools-4.0.tar.xz