From 8823ff9de744ad5e840464cb6f3954791d32625f9045317bbedaffe4d6344277 Mon Sep 17 00:00:00 2001 From: Kyrill Detinov Date: Sat, 26 Oct 2013 12:05:10 +0000 Subject: [PATCH] Accepting request 204852 from home:AndreasStieger:branches:Archiving:Backup fix SLE build OBS-URL: https://build.opensuse.org/request/show/204852 OBS-URL: https://build.opensuse.org/package/show/Archiving:Backup/fsarchiver?expand=0&rev=18 --- fsarchiver.changes | 5 +++++ fsarchiver.spec | 8 +++++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/fsarchiver.changes b/fsarchiver.changes index bfb1164..0f46152 100644 --- a/fsarchiver.changes +++ b/fsarchiver.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Oct 26 11:27:09 UTC 2013 - andreas.stieger@gmx.de + +- fix SLE build + ------------------------------------------------------------------- Tue Aug 20 16:06:42 UTC 2013 - schwab@suse.de diff --git a/fsarchiver.spec b/fsarchiver.spec index 5ea0c4a..1a08a13 100644 --- a/fsarchiver.spec +++ b/fsarchiver.spec @@ -32,9 +32,15 @@ BuildRequires: libattr-devel BuildRequires: libgcrypt-devel BuildRequires: lzo-devel BuildRequires: pkg-config +%if 0%{?suse_version} >= 1210 BuildRequires: pkgconfig(bzip2) BuildRequires: pkgconfig(liblzma) BuildRequires: pkgconfig(zlib) +%else +BuildRequires: libbz2-devel +BuildRequires: xz-devel +BuildRequires: zlib-devel +%endif BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -57,7 +63,7 @@ cp %{SOURCE1} . make %{?_smp_mflags} %install -%make_install +%makeinstall %files %defattr(-,root,root,-)