From: Elan Ruusamäe Date: Sun, 30 Nov 2014 14:36:43 +0000 (+0200) Subject: use generic url X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=40c5d628dd24468bd3070fe7d67ca1d14f2524cc;p=packages%2Fperl-Tie-TransactHash.git use generic url --- diff --git a/perl-Tie-TransactHash.spec b/perl-Tie-TransactHash.spec index f14b55d..7c3eb7e 100644 --- a/perl-Tie-TransactHash.spec +++ b/perl-Tie-TransactHash.spec @@ -1,10 +1,10 @@ # # 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 @@ -15,19 +15,20 @@ License: GPL v2+ or Artistic 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