6
0
forked from pool/findutils
OBS User unknown
2008-03-26 15:09:55 +00:00
committed by Git OBS Bridge
parent ce9d6e58a6
commit c4f988054e
6 changed files with 28 additions and 70 deletions

View File

@@ -1,5 +1,5 @@
#
# spec file for package findutils (Version 4.2.33)
# spec file for package findutils (Version 4.4.0)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -18,14 +18,13 @@ Provides: find
Obsoletes: find
AutoReqProv: on
PreReq: %{install_info_prereq}
Version: 4.2.33
Release: 5
Version: 4.4.0
Release: 1
Summary: GNU find--Finding Files
Source: findutils-%{version}.tar.gz
Source: findutils-%{version}.tar.bz2
Source1: sysconfig.locate
Source2: cron.daily.updatedb
Patch: findutils-%{version}.diff
Patch2: warn.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@@ -76,7 +75,6 @@ Authors:
%prep
%setup -q
%patch
%patch2
%build
./configure CFLAGS="$RPM_OPT_FLAGS" \
@@ -93,7 +91,9 @@ mkdir -p $RPM_BUILD_ROOT/var/adm/fillup-templates
mkdir -p $RPM_BUILD_ROOT/etc/cron.daily
install -m 644 %{SOURCE1} $RPM_BUILD_ROOT/var/adm/fillup-templates
install -m 755 %{SOURCE2} $RPM_BUILD_ROOT/etc/cron.daily/suse.de-updatedb
%find_lang %{name}
%find_lang %name
rm -f $RPM_BUILD_ROOT%{_bindir}/oldfind
rm -f $RPM_BUILD_ROOT%{_infodir}/find-maint*
%clean
rm -rf $RPM_BUILD_ROOT
@@ -107,7 +107,7 @@ rm -rf $RPM_BUILD_ROOT
%postun
%install_info_delete --info-dir=%{_infodir} %{_infodir}/find.info.gz
%files -f %{name}.lang
%files -f %name.lang
%defattr(-,root,root,755)
%doc README NEWS AUTHORS TODO
%{_bindir}/find
@@ -128,6 +128,9 @@ rm -rf $RPM_BUILD_ROOT
/var/adm/fillup-templates/*
%changelog
* Tue Mar 18 2008 schwab@suse.de
- Update to findutils 4.4.0.
See NEWS for details.
* Sun Feb 24 2008 crrodriguez@suse.de
- use find_lang macro
* Thu Feb 14 2008 schwab@suse.de