Hello community, here is the log from the commit of package makedumpfile for openSUSE:Factory checked in at 2016-04-07 13:35:23 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/makedumpfile (Old) and /work/SRC/openSUSE:Factory/.makedumpfile.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "makedumpfile" Changes: -------- --- /work/SRC/openSUSE:Factory/makedumpfile/makedumpfile.changes 2015-07-16 17:16:03.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.makedumpfile.new/makedumpfile.changes 2016-04-07 13:35:31.000000000 +0200 @@ -1,0 +2,12 @@ +Sun Feb 14 08:11:59 UTC 2016 - mpluskal@suse.com + +- Update to 1.5.9 + * support for aarch64 + * Support kernels up to 4.1 +- Drop upstreamed patch + * makedumpfile-add-aarch64.diff +- Use url for source +- Cleanup spec file with spec-cleaner +- Adjust usage of install (-c is ignored) + +------------------------------------------------------------------- Old: ---- makedumpfile-1.5.8.tar.bz2 makedumpfile-add-aarch64.diff New: ---- makedumpfile-1.5.9.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ makedumpfile.spec ++++++ --- /var/tmp/diff_new_pack.MIyxZR/_old 2016-04-07 13:35:31.000000000 +0200 +++ /var/tmp/diff_new_pack.MIyxZR/_new 2016-04-07 13:35:31.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package makedumpfile # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2016 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,33 +23,31 @@ %define have_snappy 0 %endif %endif - Name: makedumpfile +Version: 1.5.9 +Release: 0 +Summary: Partial kernel dump +License: GPL-2.0 +Group: System/Kernel +Url: https://sourceforge.net/projects/makedumpfile/ +Source: https://sourceforge.net/projects/makedumpfile/files/makedumpfile/%{version}/%{name}-%{version}.tar.gz +Patch0: %{name}-coptflags.diff BuildRequires: libdw-devel BuildRequires: libebl-devel BuildRequires: libelf-devel +BuildRequires: lzo-devel +BuildRequires: xz-devel BuildRequires: zlib-devel +BuildRoot: %{_tmppath}/%{name}-%{version}-build +ExclusiveArch: %ix86 x86_64 ia64 ppc ppc64 ppc64le s390x %arm aarch64 %if 0%{?suse_version} >= 1140 || 0%{?sles_version} >= 11 BuildRequires: libbz2-devel %else BuildRequires: bzip2 %endif -BuildRequires: lzo-devel %if %{have_snappy} BuildRequires: snappy-devel %endif -BuildRequires: xz-devel -Version: 1.5.8 -Release: 0 -Summary: Partial kernel dump -License: GPL-2.0 -Group: System/Kernel -Url: https://sourceforge.net/projects/makedumpfile/ -Source: %{name}-%{version}.tar.bz2 -Patch0: %{name}-coptflags.diff -Patch1: %{name}-add-aarch64.diff -BuildRoot: %{_tmppath}/%{name}-%{version}-build -ExclusiveArch: %ix86 x86_64 ia64 ppc ppc64 ppc64le s390x %arm aarch64 %description makedumpfile is a dump program to shorten the size of dump file. It @@ -57,41 +55,28 @@ and can compress the page data. The obtained dump file can by analyzed via gdb or crash utility. - - -Authors: --------- - NEC Corporation - %prep %setup -q %patch0 -p1 -%patch1 -p1 %build %if %{have_snappy} export USESNAPPY=on %endif -make COPTFLAGS="$RPM_OPT_FLAGS" USELZO=on LINKTYPE=dynamic +make %{?_smp_mflags} COPTFLAGS="%{optflags}" USELZO=on LINKTYPE=dynamic %install -mkdir -p $RPM_BUILD_ROOT%{_bindir} -install -c -m 0755 makedumpfile $RPM_BUILD_ROOT%{_bindir} -install -c -m 0755 makedumpfile-R.pl $RPM_BUILD_ROOT%{_bindir} -mkdir -p $RPM_BUILD_ROOT%{_mandir}/man8 -mkdir -p $RPM_BUILD_ROOT%{_mandir}/man5 -install -c -m 0644 makedumpfile.8 $RPM_BUILD_ROOT%{_mandir}/man8 -install -c -m 0644 makedumpfile.conf.5 $RPM_BUILD_ROOT%{_mandir}/man5 -mkdir -p $RPM_BUILD_ROOT%{_datadir}/%{name}-%{version}/eppic_scripts -install -c -m 644 -t $RPM_BUILD_ROOT%{_datadir}/%{name}-%{version}/eppic_scripts/ eppic_scripts/* - -%clean -[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT +install -D -m 0755 makedumpfile %{buildroot}%{_bindir}/makedumpfile +install -D -m 0755 makedumpfile-R.pl %{buildroot}%{_bindir}/makedumpfile-R.pl +install -D -m 0644 makedumpfile.8 %{buildroot}%{_mandir}/man8/makedumpfile.8 +install -D -m 0644 makedumpfile.conf.5 %{buildroot}%{_mandir}/man5/makedumpfile.conf.5 +install -d -m 0755 %{buildroot}%{_datadir}/%{name}-%{version}/eppic_scripts +install -m 0644 -t %{buildroot}%{_datadir}/%{name}-%{version}/eppic_scripts/ eppic_scripts/* %files %defattr(-,root,root) %doc README COPYING IMPLEMENTATION -%doc %{_mandir}/man?/* +%{_mandir}/man?/* %{_bindir}/* %dir %{_datadir}/%{name}-%{version} %{_datadir}/%{name}-%{version}/eppic_scripts/