ppisar pushed to perl-Crypt-OpenSSL-X509 (master). "1.806 bump"
notifications at fedoraproject.org
notifications at fedoraproject.org
Wed Jun 10 15:44:32 UTC 2015
From 8dff0d97291003cac4d0715a27ba6c7660795521 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar at redhat.com>
Date: Wed, 10 Jun 2015 17:12:33 +0200
Subject: 1.806 bump
diff --git a/.gitignore b/.gitignore
index 9deda04..81cb08b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,8 +1,7 @@
-Crypt-OpenSSL-X509-0.7.tar.gz
+/Crypt-OpenSSL-X509-0.7.tar.gz
/Crypt-OpenSSL-X509-1.4.tar.gz
-/perl-Crypt-OpenSSL-X509-fixed-in-base.patch
/Crypt-OpenSSL-X509-1.6.tar.gz
/Crypt-OpenSSL-X509-1.800.1.tar.gz
/Crypt-OpenSSL-X509-1.800.2.tar.gz
/perl-Crypt-OpenSSL-X509-*.src.rpm
-/Crypt-OpenSSL-X509-1.[0-9.]*
+/Crypt-OpenSSL-X509-1.[0-9.]*.tar.gz
diff --git a/Crypt-OpenSSL-X509-1.806-Do-not-hard-code-CFLAGS.patch b/Crypt-OpenSSL-X509-1.806-Do-not-hard-code-CFLAGS.patch
new file mode 100644
index 0000000..552d25b
--- /dev/null
+++ b/Crypt-OpenSSL-X509-1.806-Do-not-hard-code-CFLAGS.patch
@@ -0,0 +1,37 @@
+From 0d1fe58268f9c679d1aa544f0b08b342338c9be8 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar at redhat.com>
+Date: Wed, 10 Jun 2015 16:49:22 +0200
+Subject: [PATCH] Do not hard-code CFLAGS
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Original code replaces CFLAGS. We need to respect distribution level
+compiler flags.
+
+Signed-off-by: Petr Písař <ppisar at redhat.com>
+---
+ Makefile.PL | 8 --------
+ 1 file changed, 8 deletions(-)
+
+diff --git a/Makefile.PL b/Makefile.PL
+index d16a17d..d381e29 100644
+--- a/Makefile.PL
++++ b/Makefile.PL
+@@ -17,13 +17,5 @@ requires_external_cc();
+
+ libs '-L/usr/lib -L/usr/local/lib -L/usr/local/ssl/lib -lcrypto';
+
+- if ($Config::Config{myuname} =~ /darwin/i) {
+- cc_optimize_flags('-O2 -g -Wall -Werror -Wno-deprecated-declarations');
+- } elsif ($Config::Config{myuname} =~ /sunos|solaris/i) {
+- # Any SunStudio flags?
+- } else {
+- cc_optimize_flags('-O2 -g -Wall -Werror');
+- }
+-
+ auto_install();
+ WriteAll();
+--
+2.1.0
+
diff --git a/perl-Crypt-OpenSSL-X509.spec b/perl-Crypt-OpenSSL-X509.spec
index 03dd888..1633730 100644
--- a/perl-Crypt-OpenSSL-X509.spec
+++ b/perl-Crypt-OpenSSL-X509.spec
@@ -1,6 +1,6 @@
Name: perl-Crypt-OpenSSL-X509
-Version: 1.803
-Release: 6%{?dist}
+Version: 1.806
+Release: 1%{?dist}
Summary: Perl interface to OpenSSL for X509
License: GPL+ or Artistic
Group: Development/Libraries
@@ -9,35 +9,32 @@ Source0: http://www.cpan.org/authors/id/D/DA/DANIEL/Crypt-OpenSSL-X509-%{
# Fix condition negation, bug #1190816,
# <https://github.com/dsully/perl-crypt-openssl-x509/issues/39>
Patch0: Crypt-OpenSSL-X509-1.806-Fix-condition-negation.patch
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildRequires: openssl
+# Respect distribution compiler flags
+Patch1: Crypt-OpenSSL-X509-1.806-Do-not-hard-code-CFLAGS.patch
BuildRequires: openssl-devel
BuildRequires: perl
-BuildRequires: perl(Carp)
BuildRequires: perl(Config)
-BuildRequires: perl(Cwd)
-BuildRequires: perl(ExtUtils::MakeMaker)
-BuildRequires: perl(ExtUtils::Manifest)
-BuildRequires: perl(ExtUtils::MM_Unix)
-BuildRequires: perl(Fcntl)
-BuildRequires: perl(File::Basename)
-BuildRequires: perl(File::Find)
-BuildRequires: perl(File::Path)
-BuildRequires: perl(File::Spec)
-BuildRequires: perl(FileHandle)
-BuildRequires: perl(FindBin)
-BuildRequires: perl(strict)
-BuildRequires: perl(vars)
+BuildRequires: perl(inc::Module::Install)
+BuildRequires: perl(Module::Install::AutoInstall)
+BuildRequires: perl(Module::Install::Compiler)
+BuildRequires: perl(Module::Install::External)
+BuildRequires: perl(Module::Install::Makefile)
+BuildRequires: perl(Module::Install::Metadata)
+BuildRequires: perl(Module::Install::WriteAll)
# Run-time:
BuildRequires: perl(base)
BuildRequires: perl(DynaLoader)
BuildRequires: perl(Exporter)
+BuildRequires: perl(strict)
+BuildRequires: perl(vars)
# Tests:
+BuildRequires: openssl
BuildRequires: perl(Encode)
BuildRequires: perl(Test::More)
# Optional tests:
BuildRequires: perl(Test::Pod) >= 1.00
-Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+# Run-time:
+Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(DynaLoader)
%description
@@ -46,36 +43,33 @@ Crypt::OpenSSL::X509 - Perl extension to OpenSSL's X509 API.
%prep
%setup -q -n Crypt-OpenSSL-X509-%{version}
%patch0 -p1
+%patch1 -p1
+# Remove bundled modules
+rm -rf ./inc
%build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
-rm -rf %{buildroot}
-
-make pure_install PERL_INSTALL_ROOT=%{buildroot}
-
+make pure_install DESTDIR=%{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 {} \;
-
%{_fixperms} %{buildroot}/*
%check
make test
-%clean
-rm -rf %{buildroot}
-
%files
-%defattr(-,root,root,-)
%doc Changes README TODO
%{perl_vendorarch}/auto/*
%{perl_vendorarch}/Crypt/
%{_mandir}/man3/*
%changelog
+* Wed Jun 10 2015 Petr Pisar <ppisar at redhat.com> - 1.806-1
+- 1.806 bump
+
* Fri Jun 05 2015 Jitka Plesnikova <jplesnik at redhat.com> - 1.803-6
- Perl 5.22 rebuild
diff --git a/sources b/sources
index 9229043..b25d8f9 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-70fea83d0ec6784a6f852058e47fb5f3 Crypt-OpenSSL-X509-1.803.tar.gz
+57dd7b8cc5204ef908e7837cc4a326a6 Crypt-OpenSSL-X509-1.806.tar.gz
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/perl-Crypt-OpenSSL-X509.git/commit/?h=master&id=8dff0d97291003cac4d0715a27ba6c7660795521
More information about the perl-devel
mailing list