From 6b771c32ff9f6f41b5727eacbde84b074591ee2b0b52484e0e414d0f7484bb9f Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Tue, 21 Apr 2015 23:19:38 +0000 Subject: [PATCH] Accepting request 298289 from Base:System 1 OBS-URL: https://build.opensuse.org/request/show/298289 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fs-check?expand=0&rev=17 --- fs-check-0.9.tar.bz2 | 3 -- fs-check-0.9.tar.gz | 3 ++ fs-check.changes | 7 ++++ fs-check.spec | 77 +++++++++++--------------------------------- 4 files changed, 29 insertions(+), 61 deletions(-) delete mode 100644 fs-check-0.9.tar.bz2 create mode 100644 fs-check-0.9.tar.gz diff --git a/fs-check-0.9.tar.bz2 b/fs-check-0.9.tar.bz2 deleted file mode 100644 index aecd90a..0000000 --- a/fs-check-0.9.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b98773a30e2014716a54c3c1c88073c8e512e4ccf95d3c6838d7a41da03104a5 -size 104269 diff --git a/fs-check-0.9.tar.gz b/fs-check-0.9.tar.gz new file mode 100644 index 0000000..5de87dd --- /dev/null +++ b/fs-check-0.9.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0b57f365bd87812f409e8fee59dd8f9247f2e5e786eaa0888bfe296bab401ec3 +size 128860 diff --git a/fs-check.changes b/fs-check.changes index 0bb80db..232996b 100644 --- a/fs-check.changes +++ b/fs-check.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Mon Apr 20 16:30:42 UTC 2015 - mpluskal@suse.com + +- Use url for source +- Cleanup spec file with spec-cleaner +- Use %configure macro + ------------------------------------------------------------------- Wed Jul 9 14:37:48 CEST 2008 - hvogel@suse.de diff --git a/fs-check.spec b/fs-check.spec index fcf2fa7..e00e217 100644 --- a/fs-check.spec +++ b/fs-check.spec @@ -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,64 +39,28 @@ unused), and a report program to run. It includes fs-report, which 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 %{_bindir}/fs-report %changelog -* Wed Jul 09 2008 hvogel@suse.de -- fix installation of man pages -* Fri Jul 04 2008 hvogel@suse.de -- update to version 0.9 - * fix parsing of DEFAULT OWNER -- disable checks, wrong logfiles included -* Wed Apr 02 2008 hvogel@suse.de -- update to version 0.8 - * Correct pidfile option parsing -- some rpmlint warnings fixed -* Mon Jan 08 2007 mskibbe@suse.de -- fs-check expects fs-check.cfg in /var/adm rather then etc - ( #231222 ) -* Wed Aug 30 2006 mskibbe@suse.de -- update to version 0.7 which - o contains bugfixes - o fix make distcheck - o update copyright -* Sat Feb 25 2006 kukuk@suse.de -- Workaround configure checks for autobuild -- Don't start in "norun" mode per default -* Wed Jan 25 2006 mls@suse.de -- converted neededforbuild to BuildRequires -* Wed Sep 07 2005 kukuk@suse.de -- Update to version 0.6 -* Thu Jul 21 2005 kukuk@suse.de -- Update to version 0.5 -* Tue Nov 02 2004 kukuk@suse.de -- Update to version 0.4 -* Mon Jun 28 2004 kukuk@suse.de -- Initial version