--- 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 2008/03/01 17:19:10 1.4 @@ -3,16 +3,17 @@ Summary: A collection of "dirty" scripts Name: %{realname} %define version 0.0.9 Version: %{version} -%define release 0 -Release: %{release} +%define release 2 +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 AutoReq: no %description @@ -20,6 +21,10 @@ See http://wiki.contribs.org/Dirty_Tools %changelog +* 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 +53,8 @@ See http://wiki.contribs.org/Dirty_Tools %prep %setup -q -n %{realname}-%{version} +%patch0 -p1 +%patch1 -p1 %build @@ -65,22 +72,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)