You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
283 lines
10 KiB
283 lines
10 KiB
2 months ago
|
# Perform optional tests
|
||
|
%if 0%{?rhel} > 8
|
||
|
%bcond_with perl_Crypt_DES_enables_optional_test
|
||
|
%else
|
||
|
%bcond_without perl_Crypt_DES_enables_optional_test
|
||
|
%endif
|
||
|
|
||
|
Name: perl-Crypt-DES
|
||
|
Version: 2.07
|
||
|
Release: 39%{?dist}
|
||
|
Summary: Perl DES encryption module
|
||
|
License: BSD-Systemics
|
||
|
URL: https://metacpan.org/release/Crypt-DES
|
||
|
Source0: https://cpan.metacpan.org/modules/by-module/Crypt/Crypt-DES-%{version}.tar.gz
|
||
|
Patch0: perl-Crypt-DES-init-braces.patch
|
||
|
Patch99: perl-Crypt-DES-fedora-c99.patch
|
||
|
# Build
|
||
|
BuildRequires: coreutils
|
||
|
BuildRequires: findutils
|
||
|
BuildRequires: gcc
|
||
|
BuildRequires: make
|
||
|
BuildRequires: perl-devel
|
||
|
BuildRequires: perl-generators
|
||
|
BuildRequires: perl-interpreter
|
||
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
||
|
# Run-time:
|
||
|
BuildRequires: perl(Carp)
|
||
|
BuildRequires: perl(DynaLoader)
|
||
|
BuildRequires: perl(Exporter)
|
||
|
BuildRequires: perl(strict)
|
||
|
BuildRequires: perl(vars)
|
||
|
# Tests:
|
||
|
BuildRequires: perl(Benchmark)
|
||
|
BuildRequires: perl(Data::Dumper)
|
||
|
%if %{with perl_Crypt_DES_enables_optional_test}
|
||
|
# Optional tests:
|
||
|
BuildRequires: perl(Crypt::CBC) > 1.22
|
||
|
%endif
|
||
|
|
||
|
%{?perl_default_filter}
|
||
|
|
||
|
%description
|
||
|
DES encryption module. The module implements the Crypt::CBC interface.
|
||
|
|
||
|
%prep
|
||
|
%setup -q -n Crypt-DES-%{version}
|
||
|
|
||
|
# Fix "warning: missing braces around initializer [-Wmissing-braces]"
|
||
|
%patch -P 0
|
||
|
|
||
|
# Fix C99 compatibility (CPAN RT#133363)
|
||
|
%patch -P 99 -p1
|
||
|
|
||
|
%build
|
||
|
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 OPTIMIZE="%{optflags}"
|
||
|
%{make_build}
|
||
|
|
||
|
%install
|
||
|
%{make_install}
|
||
|
find %{buildroot} -type f -name '*.bs' -empty -delete
|
||
|
%{_fixperms} -c %{buildroot}
|
||
|
|
||
|
%check
|
||
|
make test
|
||
|
|
||
|
%files
|
||
|
%license COPYRIGHT
|
||
|
%doc README
|
||
|
%{perl_vendorarch}/auto/Crypt/
|
||
|
%{perl_vendorarch}/Crypt/
|
||
|
%{_mandir}/man3/Crypt::DES.3*
|
||
|
|
||
|
%changelog
|
||
|
* Thu Aug 08 2024 Troy Dawson <tdawson@redhat.com> - 2.07-39
|
||
|
- Bump release for Aug 2024 java mass rebuild
|
||
|
|
||
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 2.07-38
|
||
|
- Bump release for June 2024 mass rebuild
|
||
|
|
||
|
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.07-37
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||
|
|
||
|
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.07-36
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||
|
|
||
|
* Thu Sep 14 2023 Michal Josef Špaček <mspacek@redhat.com> - 2.07-35
|
||
|
- Update license field to new BSD-Systemics SPDX license id
|
||
|
|
||
|
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.07-34
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||
|
|
||
|
* Tue Jul 11 2023 Jitka Plesnikova <jplesnik@redhat.com> - 2.07-33
|
||
|
- Perl 5.38 rebuild
|
||
|
|
||
|
* Thu Mar 16 2023 Paul Howarth <paul@city-fan.org> - 2.07-32
|
||
|
- Package tidy-up
|
||
|
- Use author-independent source URL
|
||
|
- Fix "warning: missing braces around initializer [-Wmissing-braces]"
|
||
|
- Avoid deprecated patch syntax
|
||
|
- Simplify find command using -empty
|
||
|
- Fix permissions verbosely
|
||
|
|
||
|
* Wed Mar 15 2023 DJ Delorie <dj@redhat.com> - 2.07-31
|
||
|
- Fix C99 compatibility issue
|
||
|
|
||
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.07-30
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||
|
|
||
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.07-29
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||
|
|
||
|
* Wed Jun 01 2022 Jitka Plesnikova <jplesnik@redhat.com> - 2.07-28
|
||
|
- Perl 5.36 rebuild
|
||
|
|
||
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.07-27
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||
|
|
||
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.07-26
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||
|
|
||
|
* Sun May 23 2021 Jitka Plesnikova <jplesnik@redhat.com> - 2.07-25
|
||
|
- Perl 5.34 rebuild
|
||
|
|
||
|
* Mon Feb 22 2021 Petr Pisar <ppisar@redhat.com> - 2.07-24
|
||
|
- Disable optional tests on RHEL > 8
|
||
|
- Modernize packaging
|
||
|
|
||
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.07-23
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||
|
|
||
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.07-22
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||
|
|
||
|
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 2.07-21
|
||
|
- Perl 5.32 rebuild
|
||
|
|
||
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.07-20
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||
|
|
||
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.07-19
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||
|
|
||
|
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 2.07-18
|
||
|
- Perl 5.30 rebuild
|
||
|
|
||
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.07-17
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||
|
|
||
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.07-16
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||
|
|
||
|
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 2.07-15
|
||
|
- Perl 5.28 rebuild
|
||
|
|
||
|
* Fri Feb 23 2018 Jan Pazdziora <jpazdziora@redhat.com> - 2.07-14
|
||
|
- https://fedoraproject.org/wiki/Packaging:C_and_C%2B%2B#BuildRequires_and_Requires
|
||
|
|
||
|
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.07-13
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||
|
|
||
|
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.07-12
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||
|
|
||
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.07-11
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||
|
|
||
|
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 2.07-10
|
||
|
- Perl 5.26 rebuild
|
||
|
|
||
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.07-9
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||
|
|
||
|
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 2.07-8
|
||
|
- Perl 5.24 rebuild
|
||
|
|
||
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.07-7
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||
|
|
||
|
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.07-6
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||
|
|
||
|
* Thu Jun 04 2015 Jitka Plesnikova <jplesnik@redhat.com> - 2.07-5
|
||
|
- Perl 5.22 rebuild
|
||
|
|
||
|
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 2.07-4
|
||
|
- Perl 5.20 rebuild
|
||
|
|
||
|
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.07-3
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
||
|
|
||
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.07-2
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||
|
|
||
|
* Thu Oct 3 2013 Paul Howarth <paul@city-fan.org> - 2.07-1
|
||
|
- Update to 2.07
|
||
|
- SvUPGRADE was changed to a statement
|
||
|
- This release by DPARIS -> update source URL
|
||
|
- Changes file dropped upstream
|
||
|
- Drop %%defattr, redundant since rpm 4.4
|
||
|
- Make %%files list more explicit
|
||
|
- Don't need to remove empty directories from the buildroot
|
||
|
- Use DESTDIR rather than PERL_INSTALL_ROOT
|
||
|
- Don't use macros for commands
|
||
|
|
||
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.05.002-2
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||
|
|
||
|
* Fri Jul 19 2013 Petr Pisar <ppisar@redhat.com> - 2.05.002-1
|
||
|
- 2.05_002 bump
|
||
|
|
||
|
* Thu Jul 18 2013 Petr Pisar <ppisar@redhat.com> - 2.05-20
|
||
|
- Perl 5.18 rebuild
|
||
|
|
||
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.05-19
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||
|
|
||
|
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.05-18
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||
|
|
||
|
* Tue Jun 12 2012 Petr Pisar <ppisar@redhat.com> - 2.05-17
|
||
|
- Perl 5.16 rebuild
|
||
|
|
||
|
* Fri May 25 2012 Petr Pisar <ppisar@redhat.com> - 2.05-16
|
||
|
- Update build-time dependencies
|
||
|
- Do not export private libraries
|
||
|
|
||
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.05-15
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
||
|
|
||
|
* Sun Jun 19 2011 Marcela Mašláňová <mmaslano@redhat.com> - 2.05-14
|
||
|
- Perl mass rebuild
|
||
|
|
||
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.05-13
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||
|
|
||
|
* Wed Dec 15 2010 Marcela Maslanova <mmaslano@redhat.com> - 2.05-12
|
||
|
- Rebuild to fix problems with vendorarch/lib (#661697)
|
||
|
|
||
|
* Fri Apr 30 2010 Marcela Maslanova <mmaslano@redhat.com> - 2.05-11
|
||
|
- Mass rebuild with perl-5.12.0
|
||
|
|
||
|
* Fri Dec 4 2009 Stepan Kasal <skasal@redhat.com> - 2.05-10
|
||
|
- rebuild against perl 5.10.1
|
||
|
|
||
|
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.05-9
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||
|
|
||
|
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.05-8
|
||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
||
|
|
||
|
* Mon Mar 3 2008 Tom "spot" Callaway <tcallawa@redhat.com> 2.05-7
|
||
|
- rebuild for new perl (again)
|
||
|
|
||
|
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.05-6
|
||
|
- Autorebuild for GCC 4.3
|
||
|
|
||
|
* Fri Feb 8 2008 Tom "spot" Callaway <tcallawa@redhat.com> 2.05-5
|
||
|
- rebuild for new perl
|
||
|
|
||
|
* Tue Apr 17 2007 Steven Pritchard <steve@kspei.com> 2.05-4
|
||
|
- Use fixperms macro instead of our own chmod incantation.
|
||
|
- BR ExtUtils::MakeMaker.
|
||
|
|
||
|
* Mon Aug 28 2006 Steven Pritchard <steve@kspei.com> 2.05-3
|
||
|
- Fix find option order.
|
||
|
- Minor spec cleanup to more closely match cpanspec output.
|
||
|
|
||
|
* Sat Feb 18 2006 Steven Pritchard <steve@kspei.com> 2.05-2
|
||
|
- Rebuild.
|
||
|
|
||
|
* Thu Feb 02 2006 Steven Pritchard <steve@kspei.com> 2.05-1
|
||
|
- Update to 2.05.
|
||
|
- Drop explicit Requires: perl(Crypt::CBC).
|
||
|
- LD_RUN_PATH hack shouldn't be needed now.
|
||
|
- Trim file list a bit.
|
||
|
- License is BSD, more or less.
|
||
|
|
||
|
* Sat Sep 17 2005 Steven Pritchard <steve@kspei.com> 2.03-2
|
||
|
- Minor spec cleanup.
|
||
|
|
||
|
* Fri Aug 26 2005 Steven Pritchard <steve@kspei.com> 2.03-1
|
||
|
- Specfile autogenerated.
|