2012-11-07 08:47:27 +00:00
|
|
|
# Tests require accessible syslog
|
|
|
|
%bcond_with test
|
|
|
|
|
2004-11-08 05:11:44 +00:00
|
|
|
Name: perl-Unix-Syslog
|
2008-05-31 17:58:18 +00:00
|
|
|
Version: 1.1
|
2014-08-27 10:11:12 +00:00
|
|
|
Release: 19%{?dist}
|
2005-09-06 01:47:04 +00:00
|
|
|
Summary: Perl interface to the UNIX syslog(3) calls
|
2007-10-16 00:49:55 +00:00
|
|
|
License: Artistic 2.0
|
|
|
|
Group: Development/Libraries
|
2004-11-08 05:11:44 +00:00
|
|
|
URL: http://search.cpan.org/dist/Unix-Syslog/
|
2006-02-19 00:18:12 +00:00
|
|
|
Source0: http://www.cpan.org/authors/id/M/MH/MHARNISCH/Unix-Syslog-%{version}.tar.gz
|
2007-04-16 22:12:51 +00:00
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
2012-11-07 08:47:27 +00:00
|
|
|
%if %{with test}
|
2012-11-07 08:25:50 +00:00
|
|
|
# Run-requires:
|
|
|
|
BuildRequires: perl(DynaLoader)
|
|
|
|
BuildRequires: perl(Exporter)
|
2012-11-07 08:47:27 +00:00
|
|
|
# Tests:
|
|
|
|
BuildRequires: syslog
|
|
|
|
%endif
|
2006-08-28 20:36:27 +00:00
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
2012-11-07 08:47:27 +00:00
|
|
|
Requires: syslog
|
2004-11-08 05:11:44 +00:00
|
|
|
|
2012-11-07 08:27:22 +00:00
|
|
|
%{?perl_default_filter}
|
|
|
|
|
2004-11-08 05:11:44 +00:00
|
|
|
%description
|
|
|
|
This module provides an interface to the system logger syslogd(8) via
|
2007-10-16 00:49:55 +00:00
|
|
|
Perl's XSUBs. The implementation attempts to resemble the native libc-
|
|
|
|
functions of your system, so that anyone being familiar with syslog.h
|
|
|
|
should be able to use this module right away.
|
2004-11-08 05:11:44 +00:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n Unix-Syslog-%{version}
|
|
|
|
|
|
|
|
%build
|
2005-09-06 01:47:04 +00:00
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
|
|
|
|
make %{?_smp_mflags}
|
2004-11-08 05:11:44 +00:00
|
|
|
|
|
|
|
%install
|
2012-11-07 08:34:13 +00:00
|
|
|
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
2005-09-06 01:47:04 +00:00
|
|
|
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
|
|
|
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
|
2007-04-16 22:12:51 +00:00
|
|
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
2004-11-08 05:11:44 +00:00
|
|
|
|
2005-09-06 01:47:04 +00:00
|
|
|
%check
|
2012-11-07 08:47:27 +00:00
|
|
|
%if %{with test}
|
|
|
|
make test
|
|
|
|
%endif
|
2004-11-08 05:11:44 +00:00
|
|
|
|
|
|
|
%files
|
2006-08-28 20:36:27 +00:00
|
|
|
%doc Artistic Changes README
|
2007-10-16 00:49:55 +00:00
|
|
|
%{perl_vendorarch}/auto/*
|
|
|
|
%{perl_vendorarch}/Unix*
|
|
|
|
%{_mandir}/man3/*
|
2004-11-08 05:11:44 +00:00
|
|
|
|
|
|
|
%changelog
|
2014-08-27 10:11:12 +00:00
|
|
|
* Wed Aug 27 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.1-19
|
|
|
|
- Perl 5.20 rebuild
|
|
|
|
|
2014-08-17 17:52:45 +00:00
|
|
|
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-18
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
2014-06-07 12:07:27 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-17
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2013-08-04 01:53:56 +00:00
|
|
|
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-16
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-07-18 03:12:06 +00:00
|
|
|
* Thu Jul 18 2013 Petr Pisar <ppisar@redhat.com> - 1.1-15
|
|
|
|
- Perl 5.18 rebuild
|
|
|
|
|
2013-02-14 16:10:23 +00:00
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-14
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-11-07 08:47:27 +00:00
|
|
|
* Wed Nov 07 2012 Petr Pisar <ppisar@redhat.com> - 1.1-13
|
|
|
|
- Conditionalize test dependencies
|
|
|
|
|
2012-11-07 08:25:50 +00:00
|
|
|
* Wed Nov 07 2012 Petr Pisar <ppisar@redhat.com> - 1.1-12
|
|
|
|
- Specify all dependencies
|
2012-11-07 08:27:22 +00:00
|
|
|
- Do not export private library
|
2012-11-07 08:25:50 +00:00
|
|
|
|
2012-07-20 22:20:01 +00:00
|
|
|
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-11
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-06-11 15:42:50 +00:00
|
|
|
* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 1.1-10
|
|
|
|
- Perl 5.16 rebuild
|
|
|
|
|
2012-01-13 20:23:33 +00:00
|
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-9
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2011-06-17 20:18:21 +00:00
|
|
|
* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.1-8
|
|
|
|
- Perl mass rebuild
|
|
|
|
|
2011-02-09 10:08:42 +00:00
|
|
|
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2010-12-23 05:23:39 +00:00
|
|
|
* Thu Dec 23 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.1-6
|
|
|
|
- 661697 rebuild for fixing problems with vendorach/lib
|
|
|
|
|
2010-05-07 07:55:18 +00:00
|
|
|
* Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.1-5
|
|
|
|
- Mass rebuild with perl-5.12.0
|
|
|
|
|
2009-12-07 09:04:42 +00:00
|
|
|
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 1.1-4
|
|
|
|
- rebuild against perl 5.10.1
|
|
|
|
|
2009-07-26 17:24:29 +00:00
|
|
|
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-02-27 04:10:14 +00:00
|
|
|
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
2008-05-31 17:58:18 +00:00
|
|
|
* Fri May 30 2008 Steven Pritchard <steve@kspei.com> 1.1-1
|
|
|
|
- Update to 1.1.
|
|
|
|
|
2008-03-07 02:20:52 +00:00
|
|
|
* Thu Mar 06 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.0-3
|
2008-05-31 17:58:18 +00:00
|
|
|
- Rebuild for new perl
|
2008-03-07 02:20:52 +00:00
|
|
|
|
2008-02-20 03:05:03 +00:00
|
|
|
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.0-2
|
|
|
|
- Autorebuild for GCC 4.3
|
|
|
|
|
2007-10-16 00:49:55 +00:00
|
|
|
* Mon Oct 15 2007 Steven Pritchard <steve@kspei.com> 1.0-1
|
|
|
|
- Update to 1.0.
|
|
|
|
- Update License.
|
|
|
|
- Reformat a little to match cpanspec output.
|
|
|
|
|
2007-04-16 22:12:51 +00:00
|
|
|
* Mon Apr 16 2007 Steven Pritchard <steve@kspei.com> 0.100-9
|
|
|
|
- Use fixperms macro instead of our own chmod incantation.
|
|
|
|
- BR ExtUtils::MakeMaker.
|
|
|
|
|
2006-08-28 20:36:27 +00:00
|
|
|
* Mon Aug 28 2006 Steven Pritchard <steve@kspei.com> 0.100-8
|
|
|
|
- Rebuild.
|
|
|
|
- Fix find option order.
|
|
|
|
- Minor cleanup to more closely match cpanspec output.
|
|
|
|
|
2006-02-19 00:18:12 +00:00
|
|
|
* Sat Feb 18 2006 Steven Pritchard <steve@kspei.com> 0.100-7
|
|
|
|
- Rebuild.
|
|
|
|
|
2005-09-06 01:47:04 +00:00
|
|
|
* Mon Sep 05 2005 Steven Pritchard <steve@kspei.com> 0.100-6
|
|
|
|
- Spec cleanup.
|
|
|
|
- Disable "make test" by default (spams console).
|
|
|
|
|
2005-04-06 22:13:09 +00:00
|
|
|
* Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
|
|
|
|
- rebuilt
|
|
|
|
|
2004-11-08 05:11:44 +00:00
|
|
|
* Mon Apr 26 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.100-0.fdr.4
|
|
|
|
- Bring up to date with current fedora.us perl spec template.
|
|
|
|
- Require perl(:MODULE_COMPAT_*).
|
|
|
|
|
|
|
|
* Thu Oct 2 2003 Michael Schwendt <rh0212ms[AT]arcor.de> 0:0.100-0.fdr.3
|
|
|
|
- Vendor install
|
|
|
|
- Removing some files instead of excluding them
|
|
|
|
- Own two additionnal directories to work around perl package bug
|
|
|
|
|
|
|
|
* Fri Jul 11 2003 Dams <anvil[AT]livna.org> 0:0.100-0.fdr.2
|
|
|
|
- Excluding empty Syslog.bs file
|
|
|
|
- Chmoding Syslog.so in install section to allow it to be stripped
|
|
|
|
- Changed Group tag value
|
|
|
|
- Added missing unowned directories
|
|
|
|
|
2005-03-05 21:10:23 +00:00
|
|
|
* Sun Jun 15 2003 Dams <anvil[AT]livna.org>
|
2004-11-08 05:11:44 +00:00
|
|
|
- Initial build.
|