#
# Conditional build:
%bcond_without tests # do not perform "make test"
-#
-%include /usr/lib/rpm/macros.perl
+
%define pdir Tie
%define pnam TransactHash
+%include /usr/lib/rpm/macros.perl
Summary: Tie::TransactHash - edit hash in transactions not changing order during trans
Summary(pl.UTF-8): Tie::TransactHash - edycja hasza w transakcjach nie zmieniających kolejności
Name: perl-Tie-TransactHash
Group: Development/Languages/Perl
Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
# Source0-md5: 0a25fc726b2f45cfaa6780b2cf3ccf0f
+URL: http://search.cpan.org/dist/Tie-TransactHash/
BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
%if %{with tests}
BuildRequires: perl-Getopt-Mixed
BuildRequires: perl-Tie-IxHash
%endif
-BuildRequires: rpm-perlprov >= 4.1-13
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
Tie::TransactHash is a package which provides facilities for editing
-any other hash in transactions. A transaction is a group of changes
-which go together and are either all applied or none. When working on
+any other hash in transactions. A transaction is a group of changes
+which go together and are either all applied or none. When working on
a standard perl hash or a hash indexed DBM file, one advantage is that
the original hash remains untouched during the transaction, so its
order (the order the each(), keys() or values() functions give out) is