New version
Resolves: rhbz#1333781 - Switched to autotools - Various spec file cosmetic fixes (e.g. used optflags)
This commit is contained in:
parent
d7ce8f2ae7
commit
35480096c2
@ -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
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user