diff --git a/acl.changes b/acl.changes index ed5c26c..3e05859 100644 --- a/acl.changes +++ b/acl.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Apr 17 07:47:47 UTC 2017 - hendrikw@arcor.de + +- reenable full Larg File Support for i586 + ------------------------------------------------------------------- Wed Mar 29 14:25:36 UTC 2017 - fvogt@suse.com diff --git a/acl.spec b/acl.spec index cbd0122..a582791 100644 --- a/acl.spec +++ b/acl.spec @@ -94,8 +94,8 @@ control lists. %package -n %lname Summary: A dynamic library for accessing POSIX Access Control Lists -# bug437293 Group: System/Libraries +# bug437293 %ifarch ppc64 Obsoletes: libacl-64bit %endif @@ -110,8 +110,8 @@ control lists. %package -n libacl-devel Summary: Include Files and Libraries mandatory for Development -# the .so file references libattr.so.x, so require libattr-devel Group: Development/Libraries/C and C++ +# the .so file references libattr.so.x, so require libattr-devel Requires: %lname = %version Requires: glibc-devel Requires: libattr-devel @@ -171,6 +171,11 @@ sh autogen.sh export OPTIMIZER="$RPM_OPT_FLAGS -fPIC" export DEBUG=-DNDEBUG CFLAGS="$RPM_OPT_FLAGS" + +%ifarch %ix86 i586 +export CFLAGS="$RPM_OPT_FLAGS -D_FILE_OFFSET_BITS=64" +%endif + %configure \ --prefix=/usr \ --exec-prefix=/usr \ @@ -179,7 +184,7 @@ CFLAGS="$RPM_OPT_FLAGS" --disable-static \ --docdir=%{_defaultdocdir}/%{name} \ --with-pic -%{__make} %{?_smp_mflags} +%{__make} %{?_smp_mflags} V=1 %check %if %{with acl_tests}