checked in
OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=6
This commit is contained in:
committed by
Git OBS Bridge
parent
c12b7e35aa
commit
0492f972f9
11
xz.spec
11
xz.spec
@@ -19,12 +19,13 @@
|
||||
|
||||
Name: xz
|
||||
Summary: A Program for Compressing Files
|
||||
Version: 4.999.9beta
|
||||
Version: 4.999.8git
|
||||
Release: 1
|
||||
Group: Productivity/Archiving/Compression
|
||||
License: GPL v2 or later
|
||||
Url: http://tukaani.org/lzma/
|
||||
Source: %{name}-4.999.9beta.tar.bz2
|
||||
Source: %{name}-4.999.8beta.tar.bz2
|
||||
Patch0: xz-git.diff.bz2
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Provides: lzma = %version
|
||||
Obsoletes: lzma < %version
|
||||
@@ -72,16 +73,14 @@ This package contains the header files and libraries needed for
|
||||
compiling programs using the LZMA library.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-4.999.9beta
|
||||
%setup -q -n %{name}-4.999.8beta
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
AUTOPOINT=true autoreconf -fi
|
||||
%configure --libdir=/%{_lib} --disable-static --with-pic --docdir=%_docdir/%name
|
||||
make %{?jobs:-j%jobs}
|
||||
|
||||
%check
|
||||
LD_LIBRARY_PATH=$PWD/src/liblzma/.libs make check
|
||||
|
||||
%install
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
%{__mkdir_p} %{buildroot}%{_libdir}
|
||||
|
Reference in New Issue
Block a user