name = xz
version = 5.0.3
-release = 6
+release = 7
compat_version = 4.999.9beta
sources = %{thisapp}.tar.xz %{name}-%{compat_version}.tar.xz
build
+ configure_options += --disable-rpath
+
build_cmds
# Build compat version of library.
cd %{DIR_SRC}/%{name}-%{compat_version}
./configure %{configure_options}
+ %{MACRO_FIX_LIBTOOL}
make %{PARALLELISMFLAGS}
end
install_cmds
# Install comapt version of library.
cd %{DIR_SRC}/%{name}-%{compat_version}
- cp -vr src/liblzma/.libs/liblzma.so.0* %{BUILDROOT}/usr/lib
+ cp -vr src/liblzma/.libs/liblzma.so.0* %{BUILDROOT}%{libdir}
end
end
summary = Compatibility version of %{name} (%{compat_version}).
files
- /usr/lib/lib*.so.0*
+ %{libdir}/lib*.so.0*
end
end