diff --git a/dump-dmfix.patch b/dump-dmfix.patch new file mode 100644 index 0000000..8779ed1 --- /dev/null +++ b/dump-dmfix.patch @@ -0,0 +1,11 @@ +--- dump-0.4b41/configure.dmfix 2005-05-02 17:10:44.000000000 +0200 ++++ dump-0.4b41/configure 2006-01-11 11:33:19.000000000 +0100 +@@ -4317,7 +4317,7 @@ + #define HAVE_BLKID 1 + _ACEOF + +- BLKID="-lblkid -luuid" ++ BLKID="-lblkid -luuid -ldevmapper -lselinux -lsepol" + fi + + diff --git a/dump.spec b/dump.spec index 12468ad..22228a6 100644 --- a/dump.spec +++ b/dump.spec @@ -8,9 +8,11 @@ License: BSD Group: Applications/Archiving URL: http://dump.sourceforge.net/ Source: dump-%{version}.tar.bz2 +Patch: dump-dmfix.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: e2fsprogs-devel >= 1.18, readline-devel >= 4.2 BuildRequires: libtermcap-devel, zlib-devel, bzip2-devel, ncurses-devel +BuildRequires: device-mapper, libselinux-devel, libsepol-devel # This Requires is now mandatory because we only ship static binaries, and # need to ensure the "disk" group is created before installation (#60461) Requires: setup @@ -41,6 +43,7 @@ restoring files from a backup), and tar (an archiving program). %prep %setup -q +%patch -p1 -b .dmfix %build # XXX --enable-kerberos needs krcmd @@ -111,9 +114,10 @@ rm -rf %{buildroot} %{_mandir}/man8/rmt.8* %changelog -* Tue Jan 10 2006 Jindrich Novy 0.4b41-1 +* Tue Jan 11 2006 Jindrich Novy 0.4b41-1 - update to 0.4b41 - drop .fixacl patch, now applied in the new upstream release +- link against device-mapper * Fri Dec 09 2005 Jesse Keating - rebuilt