[swaks/el6/master] Initial import (#179237).

mmckinst mmckinst at fedoraproject.org
Fri Feb 25 02:40:46 UTC 2011


commit eaef50ef704e4bd462e78643df0517726cda64fd
Author: mmckinst <mmckinst at fedroa14.markmck.com>
Date:   Thu Feb 24 21:40:45 2011 -0500

    Initial import (#179237).

 .gitignore |    1 +
 sources    |    2 +-
 swaks.spec |   70 ++++++++++++++++++++++++++++++++++++------------------------
 3 files changed, 44 insertions(+), 29 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 92d7b5d..46c7b91 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 swaks.20061116.0
+/swaks-20100211.0.tar.gz
diff --git a/sources b/sources
index 80a7a78..561c264 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-0be5dfe89ec415f0296680d61b3e4849  swaks.20061116.0
+b2ad29237f54208989a738c9a39a95f2  swaks-20100211.0.tar.gz
diff --git a/swaks.spec b/swaks.spec
index 60e71b0..765514f 100644
--- a/swaks.spec
+++ b/swaks.spec
@@ -1,46 +1,60 @@
-Name:           swaks
-Version:        20061116.0
-Release:        3%{?dist}
-Summary:        Command-line SMTP transaction tester
-
-Group:          Applications/Internet
-License:        GPLv2+
-URL:            http://www.jetmore.org/john/code/#swaks
-Source0:        http://www.jetmore.org/john/code/swaks.%{version}
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildArch:	noarch
-
-Requires:	perl(Authen::DigestMD5)
-Requires:	perl(Digest::SHA1)
-Requires:	perl(Net::DNS)
-Requires:	perl(Net::SSLeay)
-Requires:	perl(Time::HiRes)
+Name:       swaks
+Version:    20100211.0
+Release:    4%{?dist}
+Summary:    Command-line SMTP transaction tester
+
+Group:      Applications/Internet
+License:    GPLv2+
+URL:        http://www.jetmore.org/john/code/swaks
+Source0:    http://www.jetmore.org/john/code/swaks/swaks-%{version}.tar.gz
+
+BuildArch:  noarch
+BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+Requires:   perl(Authen::DigestMD5)
+Requires:   perl(Digest::SHA1)
+Requires:   perl(Net::DNS)
+Requires:   perl(Net::SSLeay)
+Requires:   perl(Time::HiRes)
 
 %description
 Swiss Army Knife SMTP: A command line SMTP tester.  Swaks can test
 various aspects of your SMTP server, including TLS and AUTH.
 
 %prep
-
-%build
+%setup -q
 
 %install
-rm -rf $RPM_BUILD_ROOT
-
-install -D -p -m 0755 %{SOURCE0} $RPM_BUILD_ROOT%{_bindir}/swaks
-
-mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
-/usr/bin/pod2man %{SOURCE0} > $RPM_BUILD_ROOT%{_mandir}/man1/swaks.1
-
-%clean
-rm -rf $RPM_BUILD_ROOT
+install -D -p -m 0755 swaks %{buildroot}%{_bindir}/swaks
+mkdir -p %{buildroot}%{_mandir}/man1
+/usr/bin/pod2man swaks > %{buildroot}%{_mandir}/man1/swaks.1
 
 %files
 %defattr(-,root,root,-)
 %{_bindir}/swaks
 %{_mandir}/man1/*
+%doc LICENSE README doc/Changes.txt doc/recipes.txt doc/ref.txt
 
 %changelog
+* Thu Feb 24 2011 Mark McKinstry <mmckinst at nexcess.net> - 20100211.0-4
+- add BuildRoot for EPEL [45]
+
+* Wed Feb 09 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 20100211.0-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
+
+* Wed Nov 24 2010 Jason L Tibbitts III <tibbs at math.uh.edu> - 20100211.0-2
+- Remove %%clean as well.
+
+* Thu Feb 11 2010 Jason L Tibbitts III <tibbs at math.uh.edu> - 20100211.0-1
+- New upstream release 20100211.0.
+- New project URL, now distributed as a tarball.
+- New docs, including a license file.
+
+* Wed Jan 20 2010 Jason L Tibbitts III <tibbs at math.uh.edu> - 20061116.0-4
+- Update to modern Fedora standards (no BuildRoot or rm -rf in %%install).
+- No need for empty %%prep and %%build.
+- I prefer %%{buildroot} these days.
+
 * Sun Jul 26 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 20061116.0-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
 


More information about the scm-commits mailing list