diff --git a/e2fsprogs.changes b/e2fsprogs.changes index a6e5607..3116e12 100644 --- a/e2fsprogs.changes +++ b/e2fsprogs.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Feb 26 18:02:26 UTC 2013 - jack@suse.cz + +- Fix compilation for Fedora targets in Build Service + ------------------------------------------------------------------- Mon Feb 25 16:01:07 UTC 2013 - jack@suse.cz diff --git a/e2fsprogs.spec b/e2fsprogs.spec index 5ee3e16..c557708 100644 --- a/e2fsprogs.spec +++ b/e2fsprogs.spec @@ -17,15 +17,24 @@ Name: e2fsprogs +%if 0%{?suse_version} >= 1010 +# Hint for ZYPP Supplements: filesystem(ext2) filesystem(ext3) filesystem(ext4) +%endif BuildRequires: autoconf BuildRequires: libblkid-devel BuildRequires: libuuid-devel BuildRequires: pkg-config -%if 0%{suse_version} > 1220 +%if 0%{?suse_version} > 1220 BuildRequires: makeinfo %endif -PreReq: %install_info_prereq +# Define info macros if missing (for Fedora builds) +%if 0%{!?%install_info_prereq:1} +%define install_info_prereq info +%define install_info sbin/install-info +%define install_info_delete sbin/install-info --delete +%endif +Requires: %install_info_prereq # bug437293 %ifarch ppc64 Obsoletes: e2fsprogs-64bit