Fix ./configure for armv7hl arches

This commit is contained in:
Matthieu Saulnier 2017-06-01 22:50:35 +02:00
parent 6351daba5a
commit d2e6f6a83c
3 changed files with 7 additions and 2 deletions

1
.gitignore vendored
View File

@ -6,3 +6,4 @@
/mined-2013.23.tar.gz
/fix-timestmp-gcc-command.patch
/mined-2015.25.tar.gz
/fix-armv7hl-build-in-configure-script.patch

View File

@ -7,6 +7,7 @@ License: GPLv3
URL: http://towo.net/mined/
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
Patch0: fix-timestmp-gcc-command.patch
Patch1: fix-armv7hl-build-in-configure-script.patch
BuildRequires: desktop-file-utils
BuildRequires: ncurses-devel
@ -80,10 +81,11 @@ sed -i "s/mined.xpm/mined/" ./usrshare/setup_install/mined.desktop
# Fix desktop-file-validate warning: semicolon missing for Categories key :
sed -i s/Utility/Utility\;/ ./usrshare/setup_install/mined.desktop
%patch0 -p0
%patch1 -p0
%build
%configure
./configure
# Optflag isn't applied by default :
make OPT='%{optflags}' USRLIBDIR=%{_libdir} ROOTLIBDIR=/%{_lib} %{?_smp_mflags}
@ -123,10 +125,11 @@ rm -fr %{buildroot}%{_datadir}/%{name}/{bin,setup_install,conf_user,package_doc,
%changelog
* Wed May 31 2017 Matthieu Saulnier <fantom@fedoraproject.org> - 2015.25-1
* Thu Jun 01 2017 Matthieu Saulnier <fantom@fedoraproject.org> - 2015.25-1
- Update to 2015.25
- Upstream moved sources on sourceforge.net
- Fix timestmp.c gcc compilation flags in makefile (Patch0)
- Fix ./configure for armv7hl arches (Patch1)
- Fix french translation
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2013.23-7

View File

@ -1,2 +1,3 @@
SHA512 (mined-2015.25.tar.gz) = 24c9313c26ffb00daab7754e42666bb9cf095c3246255b2b44cdb8eb8e325306ef40db03a828a8dad85d3bf406b874d17920365cfbf8c507f909eb97cfe480ea
SHA512 (fix-timestmp-gcc-command.patch) = 852d628d7aae1ae74d0990d3ef3da5c8156ef89fc5cdd57babe62615ba5aefc90994d2a4a2483983662c484128650d6c15b118108af4e736954193d3e72d5374
SHA512 (fix-armv7hl-build-in-configure-script.patch) = 90847ef6b02db2dee66ae024487301991be9a6b48fd2576c23b4242feb1405ba40cef8f81fc56a9452c528f340ad6520bb3a7af51611264ec90d2e2c4f3db3d1