]> git.pld-linux.org Git - packages/perl-DB_File.git/blobdiff - perl-DB_File.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-DB_File.git] / perl-DB_File.spec
index 02ed88c7fc34b21d0d46e7e42ab3feea0ed9dae4..624e1c609303ab8fba95a8057b669065be01ed97 100644 (file)
@@ -2,21 +2,20 @@
 # Conditional build:
 %bcond_without tests   # do not perform "make test"
 #
-%define        db_ver  %(rpm -q --whatprovides --qf '%%{epoch}:%%{version}' db-devel)
+%define        db_ver  %(rpm -q --whatprovides --qf '%%|E?{%%{E}:}|%%{V}' db-devel)
 #
-%include       /usr/lib/rpm/macros.perl
 %define                pdir    DB_File
 %define                pnam    DB_File
 Summary:       DB_File allows to manage a simple ASCII database
 Summary(pl.UTF-8):     DB_File pozwala na korzystanie z prostej, tekstowej bazy danych
 Name:          perl-DB_File
-Version:       1.820
-Release:       1
+Version:       1.852
+Release:       2
 # same as perl
-License:       GPL or Artistic
+License:       GPL v1+ or Artistic
 Group:         Development/Languages/Perl
-Source0:       http://www.cpan.org/modules/by-module/DB_File/%{pnam}-%{version}.tar.gz
-# Source0-md5: 28979bee29d8075b0dffab02fe29df6e
+Source0:       https://www.cpan.org/authors/id/P/PM/PMQS/DB_File-%{version}.tar.gz
+# Source0-md5: 7b5aa99abd24ac0813a8c32b58216806
 Patch0:                %{name}-rpm-automation.patch
 URL:           http://search.cpan.org/dist/DB_File/
 BuildRequires: db-devel
@@ -61,7 +60,5 @@ rm -rf $RPM_BUILD_ROOT
 %doc Changes README
 %{perl_vendorarch}/DB_File.pm
 %dir %{perl_vendorarch}/auto/DB_File
-%{perl_vendorarch}/auto/DB_File/DB_File.bs
-%{perl_vendorarch}/auto/DB_File/autosplit.ix
 %attr(755,root,root) %{perl_vendorarch}/auto/DB_File/DB_File.so
-%{_mandir}/man3/*
+%{_mandir}/man3/DB_File.3pm*
This page took 0.030112 seconds and 4 git commands to generate.