From 4d3ab33b456caed6d31d41cbfae79ba20aaeb199 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppi...@redhat.com>
Date: Mon, 27 Jul 2015 15:39:29 +0200
Subject: Rebuild against rpm-4.13


diff --git a/.rpmlint b/.rpmlint
new file mode 100644
index 0000000..87310ee
--- /dev/null
+++ b/.rpmlint
@@ -0,0 +1,2 @@
+from Config import *
+addFilter("spelling-error .* librpm");
diff --git a/perl-RPM-VersionCompare.spec b/perl-RPM-VersionCompare.spec
index a03b244..3c2cab9 100644
--- a/perl-RPM-VersionCompare.spec
+++ b/perl-RPM-VersionCompare.spec
@@ -1,11 +1,15 @@
 Name:           perl-RPM-VersionCompare
 Version:        0.1.1
-Release:        13%{?dist}
+Release:        14%{?dist}
 Summary:        Compare RPM version strings
 License:        GPLv3+
 Group:          Development/Libraries
 URL:            http://ppisar.fedorapeople.org/RPM-VersionCompare/
 Source0:        
http://ppisar.fedorapeople.org/RPM-VersionCompare/RPM-VersionCompare-v%{version}.tar.gz
+BuildRequires:  coreutils
+BuildRequires:  findutils
+BuildRequires:  make
+BuildRequires:  perl
 BuildRequires:  perl(AutoLoader)
 BuildRequires:  perl(Exporter)
 BuildRequires:  perl(ExtUtils::MakeMaker)
@@ -15,7 +19,7 @@ BuildRequires:  pkgconfig
 BuildRequires:  rpm-devel
 # Tests only:
 BuildRequires:  perl(Test::Simple)
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo 
$version))
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 
 %{?perl_default_filter}
 
@@ -30,26 +34,29 @@ library. Otherwise Python extension provided with RPM 
sources is re-
 %setup -q -n RPM-VersionCompare-v%{version}
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
+perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
 make %{?_smp_mflags}
 
 %install
 make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
 find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
 find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
-find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
 %{_fixperms} $RPM_BUILD_ROOT/*
 
 %check
 make test
 
 %files
-%doc Changes COPYING
+%license COPYING
+%doc Changes
 %{perl_vendorarch}/auto/*
 %{perl_vendorarch}/RPM*
 %{_mandir}/man3/*
 
 %changelog
+* Mon Jul 27 2015 Petr Pisar <ppi...@redhat.com> - 0.1.1-14
+- Rebuild against rpm-4.13
+
 * Thu Jun 18 2015 Fedora Release Engineering <rel-...@lists.fedoraproject.org> 
- 0.1.1-13
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
 
-- 
cgit v0.10.2


        
http://pkgs.fedoraproject.org/cgit/perl-RPM-VersionCompare.git/commit/?h=f23&id=4d3ab33b456caed6d31d41cbfae79ba20aaeb199
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

Reply via email to