- fix the package name for error messages
This commit is contained in:
parent
1ce7cffaf4
commit
971d48e0cd
15
perl-Crypt-OpenSSL-Random-name.patch
Normal file
15
perl-Crypt-OpenSSL-Random-name.patch
Normal file
@ -0,0 +1,15 @@
|
||||
2010-01-27 Stepan Kasal <skasal@redhat.com>
|
||||
|
||||
* Random.xs: fix PACLAGE_NAME
|
||||
|
||||
--- Crypt-OpenSSL-Random-0.04/Random.xs.name 2006-01-06 15:49:32.000000000 +0100
|
||||
+++ Crypt-OpenSSL-Random-0.04/Random.xs 2010-01-27 17:49:01.000000000 +0100
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
#include <openssl/rand.h>
|
||||
|
||||
-#define PACKAGE_NAME "Crypt::OpenSSL::RSA"
|
||||
+#define PACKAGE_NAME "Crypt::OpenSSL::Random"
|
||||
|
||||
MODULE = Crypt::OpenSSL::Random PACKAGE = Crypt::OpenSSL::Random
|
||||
void
|
||||
@ -1,11 +1,12 @@
|
||||
Name: perl-Crypt-OpenSSL-Random
|
||||
Version: 0.04
|
||||
Release: 10%{?dist}
|
||||
Release: 11%{?dist}
|
||||
Summary: Perl interface to OpenSSL for Random
|
||||
License: GPL+ or Artistic
|
||||
Group: Development/Libraries
|
||||
URL: http://search.cpan.org/dist/Crypt-OpenSSL-Random/
|
||||
Source0: http://www.cpan.org/authors/id/I/IR/IROBERTS/Crypt-OpenSSL-Random-%{version}.tar.gz
|
||||
Patch0: perl-Crypt-OpenSSL-Random-name.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildRequires: openssl openssl-devel perl(ExtUtils::MakeMaker)
|
||||
|
||||
@ -17,6 +18,7 @@ pseudo-random number generator
|
||||
|
||||
%prep
|
||||
%setup -q -n Crypt-OpenSSL-Random-%{version}
|
||||
%patch0 -p1 -b name
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
@ -27,10 +29,9 @@ rm -rf %{buildroot}
|
||||
|
||||
make pure_install PERL_INSTALL_ROOT=%{buildroot}
|
||||
|
||||
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
|
||||
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
|
||||
find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \;
|
||||
|
||||
find %{buildroot} -type f \( -name .packlist -o \
|
||||
-name '*.bs' -empty \) -exec rm {} \;
|
||||
find %{buildroot} -depth -type d -empty -exec rmdir {} \;
|
||||
%{_fixperms} %{buildroot}/*
|
||||
|
||||
%check
|
||||
@ -48,6 +49,9 @@ rm -rf %{buildroot}
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Wed Jan 27 2010 Stepan Kasal <skasal@redhat.com> - 0.04-11
|
||||
- fix the package name for error messages
|
||||
|
||||
* Fri Dec 4 2009 Stepan Kasal <skasal@redhat.com> - 0.04-10
|
||||
- rebuild against perl 5.10.1
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user