Hello community, here is the log from the commit of package fs-check for openSUSE:Factory checked in at 2015-04-22 01:19:38 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/fs-check (Old) and /work/SRC/openSUSE:Factory/.fs-check.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "fs-check" Changes: -------- --- /work/SRC/openSUSE:Factory/fs-check/fs-check.changes 2011-09-23 01:58:20.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.fs-check.new/fs-check.changes 2015-04-22 01:19:41.000000000 +0200 @@ -1,0 +2,7 @@ +Mon Apr 20 16:30:42 UTC 2015 - [email protected] + +- Use url for source +- Cleanup spec file with spec-cleaner +- Use %configure macro + +------------------------------------------------------------------- Old: ---- fs-check-0.9.tar.bz2 New: ---- fs-check-0.9.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ fs-check.spec ++++++ --- /var/tmp/diff_new_pack.c7dhCl/_old 2015-04-22 01:19:42.000000000 +0200 +++ /var/tmp/diff_new_pack.c7dhCl/_new 2015-04-22 01:19:42.000000000 +0200 @@ -1,7 +1,7 @@ # -# spec file for package fs-check (Version 0.9) +# spec file for package fs-check # -# Copyright (c) 2009 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 @@ -15,24 +15,21 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild - Name: fs-check -BuildRequires: mailx -Url: http://fs-check.sourceforge.net +Version: 0.9 +Release: 0 +Summary: Check File System Usage License: GPL-2.0+ Group: System/Monitoring -AutoReqProv: on +Url: http://fs-check.sourceforge.net +Source: http://sourceforge.net/projects/fs-check/files/fs-check/%{version}/%{name}-%{version}.tar.gz +Source1: %{name}.cf +Patch0: %{name}-%{version}.dif +BuildRequires: mailx Requires: mailx BuildRoot: %{_tmppath}/%{name}-%{version}-build -Version: 0.9 -Release: 33 -Summary: Check File System Usage BuildArch: noarch -Source: %{name}-%{version}.tar.bz2 -Source1: %{name}.cf -Patch: %{name}-%{version}.dif %description fs-check checks file system sizes to see if they are getting too full. @@ -42,30 +39,25 @@ shows things like the largest files, the newest files, and core files. It can be run from cron or as a daemon. - - %prep %setup -q -%patch +%patch0 %build -./configure --prefix=%{_prefix} --mandir=%{_mandir} -make +%configure +make %{?_smp_mflags} %install -mkdir -p $RPM_BUILD_ROOT/etc -cp %SOURCE1 $RPM_BUILD_ROOT/etc -make install DESTDIR=$RPM_BUILD_ROOT -install -D -m 644 doc/fs-report.8 $RPM_BUILD_ROOT%{_mandir}/man8/fs-report.8 -install -D -m 644 doc/fs-check.8 $RPM_BUILD_ROOT%{_mandir}/man8/fs-check.8 - -%clean -rm -rf $RPM_BUILD_ROOT +mkdir -p %{buildroot}/etc +cp %{SOURCE1} %{buildroot}/etc +make DESTDIR=%{buildroot} install %{?_smp_mflags} +install -D -m 644 doc/fs-report.8 %{buildroot}%{_mandir}/man8/fs-report.8 +install -D -m 644 doc/fs-check.8 %{buildroot}%{_mandir}/man8/fs-check.8 %files %defattr(-,root,root) %doc AUTHORS ChangeLog COPYING NEWS README THANKS sample/crontab.add -%config(noreplace) /etc/fs-check.cf +%config(noreplace) %{_sysconfdir}/fs-check.cf %{_mandir}/man8/fs-check.8.gz %{_mandir}/man8/fs-report.8.gz %{_bindir}/fs-check
