Blame SPECS/perl-Unix-Syslog.spec

2ef0a9
# Tests require accessible syslog
2ef0a9
%bcond_with test
2ef0a9
2ef0a9
Name:           perl-Unix-Syslog
2ef0a9
Version:        1.1
2ef0a9
Release:        41%{?dist}
2ef0a9
Summary:        Perl interface to the UNIX syslog(3) calls
2ef0a9
License:        Artistic 2.0
2ef0a9
URL:            https://metacpan.org/release/Unix-Syslog
2ef0a9
Source0:        https://cpan.metacpan.org/modules/by-module/Unix/Unix-Syslog-%{version}.tar.gz
2ef0a9
# Module Build
2ef0a9
BuildRequires:  coreutils
2ef0a9
BuildRequires:  findutils
2ef0a9
BuildRequires:  gcc
2ef0a9
BuildRequires:  make
2ef0a9
BuildRequires:  perl-devel
2ef0a9
BuildRequires:  perl-generators
2ef0a9
BuildRequires:  perl-interpreter
2ef0a9
BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
2ef0a9
# Module Runtime
2ef0a9
BuildRequires:  perl(DynaLoader)
2ef0a9
BuildRequires:  perl(Exporter)
2ef0a9
BuildRequires:  perl(strict)
2ef0a9
BuildRequires:  perl(vars)
2ef0a9
# Test Suite
2ef0a9
%if %{with test}
2ef0a9
BuildRequires:  syslog
2ef0a9
%endif
2ef0a9
# Dependencies
2ef0a9
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
2ef0a9
Requires:       syslog
2ef0a9
2ef0a9
# Don't "provide" private Perl libs
2ef0a9
%{?perl_default_filter}
2ef0a9
2ef0a9
%description
2ef0a9
This module provides an interface to the system logger syslogd(8) via
2ef0a9
Perl's XSUBs. The implementation attempts to resemble the native
2ef0a9
libc-functions of your system, so that anyone being familiar with
2ef0a9
syslog.h should be able to use this module right away.
2ef0a9
2ef0a9
%prep
2ef0a9
%setup -q -n Unix-Syslog-%{version}
2ef0a9
2ef0a9
%build
2ef0a9
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1 OPTIMIZE="%{optflags}"
2ef0a9
%{make_build}
2ef0a9
2ef0a9
%install
2ef0a9
%{make_install}
2ef0a9
find %{buildroot} -type f -name '*.bs' -empty -delete
2ef0a9
%{_fixperms} -c %{buildroot}
2ef0a9
2ef0a9
%check
2ef0a9
%if %{with test}
2ef0a9
make test
2ef0a9
%endif
2ef0a9
2ef0a9
%files
2ef0a9
%if 0%{?_licensedir:1}
2ef0a9
%license Artistic
2ef0a9
%else
2ef0a9
%doc Artistic
2ef0a9
%endif
2ef0a9
%doc README Changes
2ef0a9
%{perl_vendorarch}/Unix/
2ef0a9
%{perl_vendorarch}/auto/Unix/
2ef0a9
%{_mandir}/man3/Unix::Syslog.3*
2ef0a9
2ef0a9
%changelog
2ef0a9
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.1-41
2ef0a9
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
2ef0a9
  Related: rhbz#1991688
2ef0a9
2ef0a9
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.1-40
2ef0a9
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
2ef0a9
2ef0a9
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-39
2ef0a9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
2ef0a9
2ef0a9
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-38
2ef0a9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
2ef0a9
2ef0a9
* Mon Jun 22 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1.1-37
2ef0a9
- Perl 5.32 rebuild
2ef0a9
2ef0a9
* Thu Feb 06 2020 Tom Stellard <tstellar@redhat.com> - 1.1-36
2ef0a9
- Spec file cleanups: Use make_build, make_install macros, and use NO_PACKLIST=1
2ef0a9
  - https://docs.fedoraproject.org/en-US/packaging-guidelines/#_parallel_make
2ef0a9
  - https://fedoraproject.org/wiki/Perl/Tips#ExtUtils::MakeMaker
2ef0a9
2ef0a9
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-35
2ef0a9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
2ef0a9
2ef0a9
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-34
2ef0a9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
2ef0a9
2ef0a9
* Thu May 30 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.1-33
2ef0a9
- Perl 5.30 rebuild
2ef0a9
2ef0a9
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-32
2ef0a9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
2ef0a9
2ef0a9
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-31
2ef0a9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
2ef0a9
2ef0a9
* Wed Jun 27 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.1-30
2ef0a9
- Perl 5.28 rebuild
2ef0a9
2ef0a9
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-29
2ef0a9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
2ef0a9
2ef0a9
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-28
2ef0a9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
2ef0a9
2ef0a9
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-27
2ef0a9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
2ef0a9
2ef0a9
* Sun Jun 04 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.1-26
2ef0a9
- Perl 5.26 rebuild
2ef0a9
2ef0a9
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-25
2ef0a9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
2ef0a9
2ef0a9
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.1-24
2ef0a9
- Perl 5.24 rebuild
2ef0a9
2ef0a9
* Tue Apr 19 2016 Paul Howarth <paul@city-fan.org> - 1.1-23
2ef0a9
- Fix FTBFS due to missing buildreq perl-devel
2ef0a9
- Simplify find commands using -empty and -delete
2ef0a9
- Make %%files list more explicit
2ef0a9
2ef0a9
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-22
2ef0a9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
2ef0a9
2ef0a9
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-21
2ef0a9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
2ef0a9
2ef0a9
* Wed Jun 03 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.1-20
2ef0a9
- Perl 5.22 rebuild
2ef0a9
2ef0a9
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.1-19
2ef0a9
- Perl 5.20 rebuild
2ef0a9
2ef0a9
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-18
2ef0a9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
2ef0a9
2ef0a9
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-17
2ef0a9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
2ef0a9
2ef0a9
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-16
2ef0a9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
2ef0a9
2ef0a9
* Thu Jul 18 2013 Petr Pisar <ppisar@redhat.com> - 1.1-15
2ef0a9
- Perl 5.18 rebuild
2ef0a9
2ef0a9
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-14
2ef0a9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
2ef0a9
2ef0a9
* Wed Nov 07 2012 Petr Pisar <ppisar@redhat.com> - 1.1-13
2ef0a9
- Conditionalize test dependencies
2ef0a9
2ef0a9
* Wed Nov 07 2012 Petr Pisar <ppisar@redhat.com> - 1.1-12
2ef0a9
- Specify all dependencies
2ef0a9
- Do not export private library
2ef0a9
2ef0a9
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-11
2ef0a9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
2ef0a9
2ef0a9
* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 1.1-10
2ef0a9
- Perl 5.16 rebuild
2ef0a9
2ef0a9
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-9
2ef0a9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
2ef0a9
2ef0a9
* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.1-8
2ef0a9
- Perl mass rebuild
2ef0a9
2ef0a9
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-7
2ef0a9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
2ef0a9
2ef0a9
* Thu Dec 23 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.1-6
2ef0a9
- 661697 rebuild for fixing problems with vendorach/lib
2ef0a9
2ef0a9
* Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.1-5
2ef0a9
- Mass rebuild with perl-5.12.0
2ef0a9
2ef0a9
* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 1.1-4
2ef0a9
- rebuild against perl 5.10.1
2ef0a9
2ef0a9
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-3
2ef0a9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
2ef0a9
2ef0a9
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-2
2ef0a9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
2ef0a9
2ef0a9
* Fri May 30 2008 Steven Pritchard <steve@kspei.com> 1.1-1
2ef0a9
- Update to 1.1.
2ef0a9
2ef0a9
* Thu Mar 06 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.0-3
2ef0a9
- Rebuild for new perl
2ef0a9
2ef0a9
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.0-2
2ef0a9
- Autorebuild for GCC 4.3
2ef0a9
2ef0a9
* Mon Oct 15 2007 Steven Pritchard <steve@kspei.com> 1.0-1
2ef0a9
- Update to 1.0.
2ef0a9
- Update License.
2ef0a9
- Reformat a little to match cpanspec output.
2ef0a9
2ef0a9
* Mon Apr 16 2007 Steven Pritchard <steve@kspei.com> 0.100-9
2ef0a9
- Use fixperms macro instead of our own chmod incantation.
2ef0a9
- BR ExtUtils::MakeMaker.
2ef0a9
2ef0a9
* Mon Aug 28 2006 Steven Pritchard <steve@kspei.com> 0.100-8
2ef0a9
- Rebuild.
2ef0a9
- Fix find option order.
2ef0a9
- Minor cleanup to more closely match cpanspec output.
2ef0a9
2ef0a9
* Sat Feb 18 2006 Steven Pritchard <steve@kspei.com> 0.100-7
2ef0a9
- Rebuild.
2ef0a9
2ef0a9
* Mon Sep 05 2005 Steven Pritchard <steve@kspei.com> 0.100-6
2ef0a9
- Spec cleanup.
2ef0a9
- Disable "make test" by default (spams console).
2ef0a9
2ef0a9
* Wed Apr  6 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
2ef0a9
- rebuilt
2ef0a9
2ef0a9
* Mon Apr 26 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.100-0.fdr.4
2ef0a9
- Bring up to date with current fedora.us perl spec template.
2ef0a9
- Require perl(:MODULE_COMPAT_*).
2ef0a9
2ef0a9
* Thu Oct  2 2003 Michael Schwendt <rh0212ms[AT]arcor.de> 0:0.100-0.fdr.3
2ef0a9
- Vendor install
2ef0a9
- Removing some files instead of excluding them
2ef0a9
- Own two additional directories to work around perl package bug
2ef0a9
2ef0a9
* Fri Jul 11 2003 Dams <anvil[AT]livna.org> 0:0.100-0.fdr.2
2ef0a9
- Excluding empty Syslog.bs file
2ef0a9
- Chmoding Syslog.so in install section to allow it to be stripped
2ef0a9
- Changed Group tag value
2ef0a9
- Added missing unowned directories
2ef0a9
2ef0a9
* Sun Jun 15 2003 Dams <anvil[AT]livna.org>
2ef0a9
- Initial build.