forked from pool/perl-MLDBM-Sync
Compare commits
10 Commits
aeb4ba66d5
...
334a1344c3
Author | SHA256 | Date | |
---|---|---|---|
|
334a1344c3 | ||
|
2dcb7fe56e | ||
|
13bdca4405 | ||
|
b43b34cff1 | ||
|
1fe37c4cde | ||
|
5576629b80 | ||
|
6138857913 | ||
|
c7569dcaac | ||
|
4e57d4a12c | ||
|
70c5d5a3c4 |
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f19733bdd4df4fd0375bb54f1fe0b37861026f0bf45723934da59335ee735fad
|
||||
size 19003
|
3
MLDBM-Sync-0.30.tar.gz
Normal file
3
MLDBM-Sync-0.30.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b5f31d40beda393e1f5c6278a785a6f87f35ef29f99423529b4e4d2fb55e1f2b
|
||||
size 22058
|
@@ -1,3 +1,23 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 9 09:50:14 UTC 2013 - coolo@suse.com
|
||||
|
||||
- switch to perl-macros to fix build
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 18 11:10:52 UTC 2011 - coolo@suse.com
|
||||
|
||||
- use original .tar.gz
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 1 13:33:41 UTC 2010 - coolo@novell.com
|
||||
|
||||
- switch to perl_requires macro
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 29 18:30:33 UTC 2010 - coolo@novell.com
|
||||
|
||||
- remove /var/adm/perl-modules
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jan 10 15:43:32 CET 2010 - jengelh@medozas.de
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-MLDBM-Sync (Version 0.30)
|
||||
# spec file for package perl-MLDBM-Sync
|
||||
#
|
||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -15,22 +15,24 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
|
||||
Name: perl-MLDBM-Sync
|
||||
BuildRequires: dos2unix perl-MLDBM perl-Tie-Cache
|
||||
%define cpan_name MLDBM-Sync
|
||||
BuildRequires: dos2unix
|
||||
BuildRequires: perl-MLDBM
|
||||
BuildRequires: perl-Tie-Cache
|
||||
BuildRequires: perl-macros
|
||||
Version: 0.30
|
||||
Release: 383
|
||||
Requires: perl-MLDBM perl-Tie-Cache
|
||||
Requires: perl = %{perl_version}
|
||||
AutoReqProv: on
|
||||
Group: Development/Libraries/Perl
|
||||
License: Artistic
|
||||
Release: 0
|
||||
Requires: perl-MLDBM
|
||||
Requires: perl-Tie-Cache
|
||||
Url: http://cpan.org/modules/by-module/MLDBM
|
||||
Summary: Perl module for safe concurrent access to MLDBM databases
|
||||
Source: MLDBM-Sync-%{version}.tar.bz2
|
||||
License: Artistic-1.0 or GPL-1.0+
|
||||
Group: Development/Libraries/Perl
|
||||
Source: MLDBM-Sync-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
This module wraps around the MLDBM interface, by handling concurrent
|
||||
@@ -39,38 +41,25 @@ per lock/unlock. The new [Read]Lock()/UnLock() API can be used to
|
||||
serialize requests logically and improve performance for bundled reads
|
||||
& writes.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Joshua Chamas <asp@chamas.com>
|
||||
|
||||
%prep
|
||||
%setup -n MLDBM-Sync-%{version}
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
find . -type f -print0 | xargs -0 chmod 644
|
||||
|
||||
%build
|
||||
perl Makefile.PL
|
||||
make %{?_smp_mflags}
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
%{__make} %{?_smp_mflags}
|
||||
dos2unix CHANGES
|
||||
chmod 644 README CHANGES
|
||||
|
||||
%check
|
||||
make test
|
||||
%{__make} test
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make DESTDIR=$RPM_BUILD_ROOT install_vendor
|
||||
%perl_make_install
|
||||
%perl_process_packlist
|
||||
%perl_gen_filelist
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(-, root, root)
|
||||
%doc CHANGES README bench
|
||||
%doc %{_mandir}/man?/*
|
||||
%{perl_vendorlib}/MLDBM
|
||||
%{perl_vendorarch}/auto/MLDBM/Sync/
|
||||
/var/adm/perl-modules/%{name}
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,755)
|
||||
%doc CHANGES Makefile README
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user