--- rpms/smeserver-dirty-tools/contribs7/smeserver-dirty-tools.spec 2008/02/27 17:53:47 1.1 +++ rpms/smeserver-dirty-tools/contribs7/smeserver-dirty-tools.spec 2009/01/29 13:58:10 1.8 @@ -1,18 +1,24 @@ +# $Id: smeserver-dirty-tools.spec,v 1.7 2008/11/25 16:20:21 slords Exp $ +# Authority: mweinber +# Name: Michael Weinberger + Summary: A collection of "dirty" scripts for the experienced administrator %define realname smeserver-dirty-tools Name: %{realname} %define version 0.0.9 Version: %{version} -%define release 0 -Release: %{release} +%define release 3 +Release: %{release}%{?dist} License: GNU GPL (GNU General Public License) Group: Administration Source: %{realname}-%{version}.tar.gz -Packager: Michael Weinberger -Vendor: neddix IT Consulting und Services, Stuttgart, Germany BuildRoot: /var/tmp/%{realname}-%{version}-buildroot/ BuildArch: noarch Requires: smeserver-release >= 7 +Requires: perl-esmith-PasswordTools +Patch0: smeserver-dirty-tools-0.0.9-bug_4001.patch +Patch1: smeserver-dirty-tools-0.0.9-usePasswordTools.patch +Patch2: smeserver-dirty-tools-0.0.9-ldap.patch AutoReq: no %description @@ -20,6 +26,12 @@ See http://wiki.contribs.org/Dirty_Tools %changelog +* Thu Jan 29 2009 Michael Weinberger 0.0.9-3 + Bug 4962 fix +* Sat Mar 01 2008 Michael Weinberger 0.0.9-2 + use perl-esmith-PasswordTools +* Sat Mar 01 2008 Michael Weinberger 0.0.9-1 + Bug 4001 fix * Tue Sep 11 2007 Michael Weinberger Version 0.0.9 dt-data-copy @@ -48,6 +60,9 @@ See http://wiki.contribs.org/Dirty_Tools %prep %setup -q -n %{realname}-%{version} +%patch0 -p1 +%patch1 -p1 +%patch2 -p1 %build @@ -65,22 +80,8 @@ find $RPM_BUILD_ROOT -depth -type f -pri find $RPM_BUILD_ROOT -depth -type l -print |\ sed "s@^$RPM_BUILD_ROOT@@g" >> %{name}-%{version}-filelist - %clean rm -rf $RPM_BUILD_ROOT -exit 0 - -%pre -exit 0 - -%post -exit 0 - -%preun -exit 0 - -%postun -exit 0 %files -f %{name}-%{version}-filelist %defattr(-,root,root)