Hello community, here is the log from the commit of package hex for openSUSE:Factory checked in at 2015-04-27 22:06:53 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/hex (Old) and /work/SRC/openSUSE:Factory/.hex.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "hex" Changes: -------- --- /work/SRC/openSUSE:Factory/hex/hex.changes 2015-02-27 11:03:20.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.hex.new/hex.changes 2015-04-27 22:06:54.000000000 +0200 @@ -1,0 +2,6 @@ +Mon Apr 20 14:18:18 UTC 2015 - [email protected] + +- Cleanup spec-file with spec-cleaner +- Use url for source + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ hex.spec ++++++ --- /var/tmp/diff_new_pack.9EmFyN/_old 2015-04-27 22:06:55.000000000 +0200 +++ /var/tmp/diff_new_pack.9EmFyN/_new 2015-04-27 22:06:55.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package hex # -# Copyright (c) 2014 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 @@ -23,28 +23,26 @@ License: BSD-3-Clause Group: Development/Tools/Other Url: http://ibiblio.org/pub/Linux/utils/file/hex/!INDEX.html -Source: %{name}-%{version}.tar.gz -Patch: %{name}-%{version}.diff +Source: http://ibiblio.org/pub/Linux/utils/file/hex/%{name}-%{version}.tar.gz +Patch0: %{name}-%{version}.diff +Provides: util-linux:%{_bindir}/hex BuildRoot: %{_tmppath}/%{name}-%{version}-build -Provides: util-linux:/usr/bin/hex %description A hex dumper that does CP/M and EBCDIC formatting and has internationalization support. - - %prep -%setup -%patch +%setup -q +%patch0 %build -make clean -make CFLAGS="$RPM_OPT_FLAGS -Wall" CC="%{__cc}" %{?_smp_mflags} +make %{?_smp_mflags} clean +make CFLAGS="%{optflags} -Wall" CC="gcc" %{?_smp_mflags} %install -mkdir -p "$RPM_BUILD_ROOT"{%{_mandir}/man1,%{_bindir}} -make install DESTDIR="$RPM_BUILD_ROOT" MANDIR=%{_mandir} +mkdir -p %{buildroot}{%{_mandir}/man1,%{_bindir}} +make install DESTDIR=%{buildroot} MANDIR=%{_mandir} %files %defattr(-,root,root)
