]> git.pld-linux.org Git - packages/perl-IPC-SharedCache.git/blobdiff - perl-IPC-SharedCache.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-IPC-SharedCache.git] / perl-IPC-SharedCache.spec
index fe2267545b5b66a06725696d01f6be5a6e47f146..63be5bb785b303054217f852f89653d057f1a411 100644 (file)
@@ -1,27 +1,23 @@
 #
 # Conditional build:
 %bcond_without tests   # do not perform "make test"
-#
-# XXX: hack for ac-i386 (tests don't work on Mosix kernel)
-%ifarch i386
-%undefine      with_tests
-%endif
-%include       /usr/lib/rpm/macros.perl
-%define        pdir    IPC
-%define        pnam    SharedCache
+
+%define                pdir    IPC
+%define                pnam    SharedCache
 Summary:       IPC::SharedCache - manage a cache in SysV IPC shared memory
-Summary(pl):   IPC::SharedCache - zarz±dzanie pamiêci± podrêczn± w pamiêci dzielonej SysV
-Name:          perl-%{pdir}-%{pnam}
+Summary(pl.UTF-8):     IPC::SharedCache - zarządzanie pamięcią podręczną w pamięci dzielonej SysV
+Name:          perl-IPC-SharedCache
 Version:       1.3
-Release:       4
-License:       GPL
+Release:       8
+License:       GPL v2+
 Group:         Development/Languages/Perl
-Source0:       http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+Source0:       http://www.cpan.org/modules/by-module/IPC/%{pdir}-%{pnam}-%{version}.tar.gz
 # Source0-md5: 4d5d159a6b41d42918b7c1fceafb43ae
+Patch0:                %{name}-wrap-IPC-ShareLite-new-calls-inside-eval-block.patch
+URL:           http://search.cpan.org/dist/IPC-SharedCache/
 BuildRequires: perl-Carp-Assert
 BuildRequires: perl-IPC-ShareLite >= 0.06
 BuildRequires: perl-IPC-SysV
-BuildRequires: perl-Storable
 BuildRequires: perl-devel >= 1:5.8.0
 BuildRequires: rpm-perlprov >= 4.1-13
 BuildArch:     noarch
@@ -30,12 +26,13 @@ BuildRoot:  %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 %description
 This module provides a shared memory cache accessed as a tied hash.
 
-%description -l pl
-Ten modu³ udostêpnia cache pamiêci dzielonej, dostêpny jako
-dowi±zany hash.
+%description -l pl.UTF-8
+Ten moduł udostępnia cache pamięci dzielonej, dostępny jako dowiązany
+hash.
 
 %prep
 %setup -q -n %{pdir}-%{pnam}-%{version}
+%patch0 -p1
 
 %build
 %{__perl} Makefile.PL \
@@ -57,4 +54,4 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc Changes ANNOUNCE
 %{perl_vendorlib}/IPC/SharedCache.pm
-%{_mandir}/man3/*.3pm*
+%{_mandir}/man3/IPC::SharedCache.3pm*
This page took 0.035273 seconds and 4 git commands to generate.