Hello community,

here is the log from the commit of package hfsutils for openSUSE:Factory 
checked in at 2015-03-03 11:13:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/hfsutils (Old)
 and      /work/SRC/openSUSE:Factory/.hfsutils.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "hfsutils"

Changes:
--------
--- /work/SRC/openSUSE:Factory/hfsutils/hfsutils.changes        2013-08-05 
20:43:49.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.hfsutils.new/hfsutils.changes   2015-03-03 
11:13:46.000000000 +0100
@@ -1,0 +2,7 @@
+Sun Mar  1 14:06:37 UTC 2015 - [email protected]
+
+- Cleanup spec file with spec-cleaner
+- Use url for source
+- Use %configure macro
+
+-------------------------------------------------------------------

Old:
----
  hfsutils-3.2.6.tar.bz2

New:
----
  hfsutils-3.2.6.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ hfsutils.spec ++++++
--- /var/tmp/diff_new_pack.XYfIQS/_old  2015-03-03 11:13:47.000000000 +0100
+++ /var/tmp/diff_new_pack.XYfIQS/_new  2015-03-03 11:13:47.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package hfsutils
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,22 +17,23 @@
 
 
 Name:           hfsutils
-BuildRequires:  automake
-BuildRequires:  tk-devel
-BuildRequires:  xorg-x11-devel
 Version:        3.2.6
 Release:        0
 Summary:        Tools Used for the Macintosh's Hierarchical File System
 License:        GPL-2.0+
 Group:          System/Filesystems
 Url:            http://www.mars.org/home/rob/proj/hfs/
-Source:         hfsutils-%{version}.tar.bz2
-Patch:          hfsutils-%{version}.dif
+Source0:        ftp://ftp.mars.org/pub/hfs/hfsutils-%{version}.tar.gz
+Patch0:         hfsutils-%{version}.dif
 Patch1:         hfsutils-%{version}-ia64.dif
 Patch2:         hfsutils-%{version}-seek.dif
 Patch3:         hfsutils-%{version}-conf.dif
 Patch4:         hfsutils-%{version}-errno.dif
 Patch5:         hfsutils-exclusive-open.patch
+BuildRequires:  autoconf
+BuildRequires:  automake
+BuildRequires:  tk-devel
+BuildRequires:  xorg-x11-devel
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -54,8 +55,8 @@
 modes (MacBinary, BinHex, text, etc.) for hfsutils.
 
 %prep
-%setup
-%patch
+%setup -q
+%patch0
 %patch1
 %patch2
 %patch3
@@ -64,33 +65,34 @@
 
 %build
 autoreconf --force --install
-CFLAGS="$RPM_OPT_FLAGS -D_FILE_OFFSET_BITS=64 -DUSE_INTERP_RESULT" \
-./configure --prefix=/usr --mandir=%{_mandir} \
-           --with-tcl=%{_libdir} --with-tk=%{_libdir}
-make
+CFLAGS="%{optflags} -D_FILE_OFFSET_BITS=64 -DUSE_INTERP_RESULT" \
+%configure \
+       --with-tcl=%{_libdir} \
+       --with-tk=%{_libdir}
+make %{?_smp_mflags}
 
 %install
-install -d -m 755 $RPM_BUILD_ROOT/usr/bin
-install -d -m 755 $RPM_BUILD_ROOT%{_mandir}/man1
-make DESTDIR=$RPM_BUILD_ROOT install
+install -d -m 755 %{buildroot}%{_prefix}/bin
+install -d -m 755 %{buildroot}%{_mandir}/man1
+make DESTDIR=%{buildroot} install %{?_smp_mflags}
 
 %files
 %defattr(-,root,root)
 %doc README TODO CHANGES BLURB COPYING COPYRIGHT CREDITS
-/usr/bin/hattrib
-/usr/bin/hcd
-/usr/bin/hcopy
-/usr/bin/hdel
-/usr/bin/hdir
-/usr/bin/hformat
-/usr/bin/hls
-/usr/bin/hmkdir
-/usr/bin/hmount
-/usr/bin/hpwd
-/usr/bin/hrename
-/usr/bin/hrmdir
-/usr/bin/humount
-/usr/bin/hvol
+%{_bindir}/hattrib
+%{_bindir}/hcd
+%{_bindir}/hcopy
+%{_bindir}/hdel
+%{_bindir}/hdir
+%{_bindir}/hformat
+%{_bindir}/hls
+%{_bindir}/hmkdir
+%{_bindir}/hmount
+%{_bindir}/hpwd
+%{_bindir}/hrename
+%{_bindir}/hrmdir
+%{_bindir}/humount
+%{_bindir}/hvol
 %doc %{_mandir}/man1/hattrib.1.gz
 %doc %{_mandir}/man1/hcd.1.gz
 %doc %{_mandir}/man1/hcopy.1.gz
@@ -109,9 +111,9 @@
 
 %files -n xhfsutil
 %defattr(-,root,root)
-/usr/bin/hfssh
-/usr/bin/hfs
-/usr/bin/xhfs
+%{_bindir}/hfssh
+%{_bindir}/hfs
+%{_bindir}/xhfs
 %doc %{_mandir}/man1/hfssh.1.gz
 %doc %{_mandir}/man1/hfs.1.gz
 %doc %{_mandir}/man1/xhfs.1.gz

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to