diff --git a/libacl.spec b/libacl.spec index 5c4cd55..1f24b7e 100644 --- a/libacl.spec +++ b/libacl.spec @@ -1,14 +1,14 @@ ### AUTOUPDATE-OFF: 1 Name: libacl -Version: 2.2.52 -Release: 2mamba +Version: 2.2.53 +Release: 1mamba Summary: Access control list utilities Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://oss.sgi.com/projects/xfs/source.html -Source: http://download.savannah.gnu.org/releases/acl/acl-%{version}.src.tar.gz +Source: http://download.savannah.gnu.org/releases/acl/acl-%{version}.tar.gz Patch0: libacl-2.2.47-build.patch Patch1: libacl-2.2.47-path_max.patch Patch2: libacl-2.2.47-params.patch @@ -66,33 +66,37 @@ manipulating access control lists. %build touch .census # acl abuses libexecdir -%configure --libdir=/%{_lib} --libexecdir=%{_libdir} -%if "%{_host}" != "%{_build}" -make LIBTOOL="%{_prefix}/%{_host}/%{_bindir}/libtool --tag=CC" LIBATTR="%{_prefix}/%{_host}/lib/libattr.so" -%else -make -%endif +%configure \ + --disable-static + +#\ +# --libdir=/%{_lib} \ +# --libexecdir=%{_libdir} + +%make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -make install install-lib install-dev \ - PKG_BIN_DIR=%{buildroot}%{_bindir} \ - PKG_MAN_DIR=%{buildroot}%{_mandir} \ - PKG_DOC_DIR=%{buildroot}%{_docdir}/%{name} \ - PKG_LOCALE_DIR=%{buildroot}%{_datadir}/locale \ - PKG_INC_DIR=%{buildroot}%{_includedir} \ - PKG_DEVLIB_DIR=%{buildroot}%{_libdir} \ - PKG_LIB_DIR=%{buildroot}/%{_lib} +%makeinstall +#make install install-lib install-dev \ +# PKG_BIN_DIR=%{buildroot}%{_bindir} \ +# PKG_MAN_DIR=%{buildroot}%{_mandir} \ +# PKG_DOC_DIR=%{buildroot}%{_docdir}/%{name} \ +# PKG_LOCALE_DIR=%{buildroot}%{_datadir}/locale \ +# PKG_INC_DIR=%{buildroot}%{_includedir} \ +# PKG_DEVLIB_DIR=%{buildroot}%{_libdir} \ +# PKG_LIB_DIR=%{buildroot}/%{_lib} -rm -f %{buildroot}%{_libdir}/libacl.so -%if "%{_host}" == "%{_build}" -ln -sf ../../%{_lib}/libacl.so %{buildroot}%{_libdir}/libacl.so -%endif -chmod 0755 %{buildroot}/%{_lib}/libacl.so.*.*.* -rm -f %{buildroot}/%{_libdir}/libacl.a -rm -f %{buildroot}/%{_libdir}/libacl.la -rm -f %{buildroot}/%{_lib}/libacl.a -rm -f %{buildroot}/%{_lib}/libacl.la +#rm -f %{buildroot}%{_libdir}/libacl.so +#install -d -m0755 %{buildroot}%{_libdir} +#%if "%{_host}" == "%{_build}" +#ln -sf ../../%{_lib}/libacl.so %{buildroot}%{_libdir}/libacl.so +#%endif +#chmod 0755 %{buildroot}/%{_lib}/libacl.so.*.*.* +#arm -f %{buildroot}/%{_libdir}/libacl.a +#rm -f %{buildroot}/%{_libdir}/libacl.la +#rm -f %{buildroot}/%{_lib}/libacl.a +#rm -f %{buildroot}/%{_lib}/libacl.la %find_lang acl @@ -104,8 +108,7 @@ rm -f %{buildroot}/%{_lib}/libacl.la %files %defattr(-,root,root) -#%{_libdir}/*.so.* -/%{_lib}/libacl.so.* +%{_libdir}/libacl.so.* %doc README %files devel @@ -113,13 +116,12 @@ rm -f %{buildroot}/%{_lib}/libacl.la %dir %{_includedir}/acl %{_includedir}/acl/*.h %{_includedir}/sys/acl.h -%if "%{_host}" == "%{_build}" %{_libdir}/libacl.so -%endif -/%{_lib}/libacl.so +%{_libdir}/libacl.la %{_mandir}/man3/*.3.gz -%dir %{_docdir}/libacl -%{_docdir}/libacl/* +%{_libdir}/pkgconfig/libacl.pc +%dir %{_docdir}/acl +%{_docdir}/acl/* %files tools -f acl.lang %defattr(-,root,root) @@ -132,6 +134,9 @@ rm -f %{buildroot}/%{_lib}/libacl.la %{_mandir}/man5/acl.5.gz %changelog +* Sat Jul 28 2018 Silvan Calarco 2.2.53-1mamba +- update to 2.2.53 + * Mon Jul 01 2013 Silvan Calarco 2.2.52-2mamba - remove -static package and *.la *.a files