rpms/dump/devel dump.spec,1.46,1.47

Adam Tkac atkac at fedoraproject.org
Thu Feb 5 11:30:44 UTC 2009


Author: atkac

Update of /cvs/pkgs/rpms/dump/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv17714

Modified Files:
	dump.spec 
Log Message:
- spec cleanup (thanks to Manuel Wolfshant)



Index: dump.spec
===================================================================
RCS file: /cvs/pkgs/rpms/dump/devel/dump.spec,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -r1.46 -r1.47
--- dump.spec	3 Oct 2008 10:26:26 -0000	1.46
+++ dump.spec	5 Feb 2009 11:30:13 -0000	1.47
@@ -3,19 +3,21 @@
 Summary: Programs for backing up and restoring ext2/ext3 filesystems
 Name: dump
 Version: 0.4b41
-Release: 9%{?dist}
+Release: 10%{?dist}
 License: BSD
 Group: Applications/Archiving
 URL: http://dump.sourceforge.net/
-Source: dump-%{version}.tar.bz2
+Source: http://downloads.sourceforge.net/dump/dump-%{version}.tar.bz2
+#real source is
+#Source: http://downloads.sourceforge.net/dump/dump-%{version}.tar.gz
 Patch0: dump-selinux.patch
 Patch1: dump-dmfix.patch
 Patch2: dump-immutable.patch
 Patch4: dump-0.4b41-libtinfo.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
 BuildRequires: e2fsprogs-devel >= 1.18, readline-devel >= 4.2
-BuildRequires: zlib-devel, bzip2-devel, ncurses-devel, autoconf, automake
-BuildRequires: device-mapper-devel, libselinux-devel, libsepol-devel
+BuildRequires: zlib-devel, bzip2-devel, automake
+BuildRequires: device-mapper-devel, libselinux-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, e2fsprogs-libs, zlib, bzip2-libs, device-mapper
@@ -50,6 +52,11 @@
 %patch1 -p1 -b .dmfix
 %patch2 -p1 -b .orig
 %patch4 -p1 -b .libtinfo
+for i in THANKS MAINTAINERS COPYRIGHT CHANGES; do
+    iconv -f iso-8859-1 -t utf-8  $i -o $i.new
+    touch -r $i $i.new
+    mv $i.new $i
+done
 
 %build
 autoreconf -fiv
@@ -68,14 +75,14 @@
     --with-dumpdates="%{_sysconfdir}/dumpdates"
 
 make OPT="$RPM_OPT_FLAGS -Wall -Wpointer-arith -Wstrict-prototypes \
-                         -Wmissing-prototypes -Wno-char-subscripts"
+                         -Wmissing-prototypes -Wno-char-subscripts" %{?_smp_mflags}
 
 %install
 rm -rf %{buildroot}
 mkdir -p %{buildroot}%{_sbindir}
 mkdir -p %{buildroot}%{_mandir}/man8
 
-%makeinstall \
+%makeinstall INSTALL="install -p" \
     SBINDIR=%{buildroot}%{_sbindir} \
     BINDIR=%{buildroot}%{_sbindir} \
     MANDIR=%{buildroot}%{_mandir}/man8 \
@@ -100,7 +107,7 @@
 %defattr(-,root,root)
 %doc CHANGES COPYRIGHT KNOWNBUGS MAINTAINERS README REPORTING-BUGS THANKS TODO
 %doc dump.lsm
-%attr(0664,root,disk)	%config(noreplace) %{_sysconfdir}/dumpdates
+%attr(0664,root,disk) %config(noreplace) %{_sysconfdir}/dumpdates
 %{_sbindir}/dump
 %{_sbindir}/rdump
 %{_sbindir}/restore
@@ -117,6 +124,9 @@
 %{_mandir}/man8/rmt.8*
 
 %changelog
+* Thu Feb 05 2009 lonely wolf <wolfy at fedoraproject.org> 0.4b41-10
+- spec cleanup
+
 * Fri Oct 03 2008 Adam Tkac <atkac redhat com> 0.4b41-9
 - dump-0.4b37-2TB.patch is no longer needed
 - rebuild (#464989)




More information about the fedora-extras-commits mailing list