commit c2c730af7e6809b73fce2437ea47a587d17511e3
Author: Jakub Bogusz <[email protected]>
Date:   Thu Aug 31 20:31:23 2023 +0200

    - pl, avoid unmatched Tie::StdScalar dependency; release 2

 perl-Object-Accessor.spec | 22 +++++++++++++++++-----
 1 file changed, 17 insertions(+), 5 deletions(-)
---
diff --git a/perl-Object-Accessor.spec b/perl-Object-Accessor.spec
index c8b1071..94f181a 100644
--- a/perl-Object-Accessor.spec
+++ b/perl-Object-Accessor.spec
@@ -1,19 +1,20 @@
 #
 # Conditional build:
-%bcond_without tests           # do not perform "make test"
+%bcond_without tests   # unit tests
 #
 %define                pdir    Object
 %define                pnam    Accessor
 Summary:       Object::Accessor - interface to create per object accessors
+Summary(pl.UTF-8):     Object::Accessor - interfejs do tworzenia funkcji 
dostępowych dla obiektów
 Name:          perl-Object-Accessor
 Version:       0.48
-Release:       1
+Release:       2
 # same as perl
 License:       GPL v1+ or Artistic
 Group:         Development/Languages/Perl
 Source0:       
http://www.cpan.org/modules/by-module/Object/%{pdir}-%{pnam}-%{version}.tar.gz
 # Source0-md5: 46a3ce50d8817938cecbb8e02eda9500
-URL:           https://metacpan.org/release/Object-Accessor
+URL:           https://metacpan.org/dist/Object-Accessor
 BuildRequires: perl-devel >= 1:5.8.0
 BuildRequires: rpm-perlprov >= 4.1-13
 BuildRequires: rpmbuild(macros) >= 1.745
@@ -22,6 +23,9 @@ BuildRequires:        rpmbuild(macros) >= 1.745
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+# additional class in Tie::Scalar
+%define                _noautoreq_perl Tie::StdScalar
+
 %description
 Object::Accessor provides an interface to create per object accessors
 (as opposed to per Class accessors, as, for example, Class::Accessor
@@ -29,8 +33,16 @@ provides).
 
 You can choose to either subclass this module, and thus using its
 accessors on your own module, or to store an Object::Accessor object
-inside your own object, and access the accessors from there. See the
-SYNOPSIS for examples.
+inside your own object, and access the accessors from there.
+
+%description -l pl.UTF-8
+Object::Accessor udostępnia interfejs do tworzenia funkcji dostępowych
+dla obiektów (w przeciwieństwie do funkcji dostępowych dla klas, które
+zapewnia Class::Accessor).
+
+Można skorzystać z tego modułu jako podklasy, używając jego funkcji
+dostępowych we własnym module, albo zapisać obiekt Object::Accessor
+wewnątrz własnego i odwoływać się do jego funkcji dostępowych.
 
 %prep
 %setup -q -n %{pdir}-%{pnam}-%{version}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-Object-Accessor.git/commitdiff/c2c730af7e6809b73fce2437ea47a587d17511e3

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to