rpms/perl-Unix-Syslog/EL-4 perl-Unix-Syslog.spec,1.5,1.6
Steven Pritchard (steve)
fedora-extras-commits at redhat.com
Mon Apr 16 22:14:00 UTC 2007
Author: steve
Update of /cvs/extras/rpms/perl-Unix-Syslog/EL-4
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv17490
Modified Files:
perl-Unix-Syslog.spec
Log Message:
Sync with devel.
Index: perl-Unix-Syslog.spec
===================================================================
RCS file: /cvs/extras/rpms/perl-Unix-Syslog/EL-4/perl-Unix-Syslog.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- perl-Unix-Syslog.spec 10 Dec 2004 22:03:09 -0000 1.5
+++ perl-Unix-Syslog.spec 16 Apr 2007 22:13:26 -0000 1.6
@@ -1,17 +1,14 @@
-%{!?perl_vendorarch: %define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch)}
-
-Summary: Perl interface to the UNIX syslog(3) calls
Name: perl-Unix-Syslog
Version: 0.100
-Release: 4
-Epoch: 0
+Release: 9%{?dist}
+Summary: Perl interface to the UNIX syslog(3) calls
License: Artistic
Group: System Environment/Libraries
URL: http://search.cpan.org/dist/Unix-Syslog/
-Source0: http://www.cpan.org/authors/id/M/MH/MHARNISCH/Unix-Syslog-0.100.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
-
-Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Source0: http://www.cpan.org/authors/id/M/MH/MHARNISCH/Unix-Syslog-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildRequires: perl(ExtUtils::MakeMaker)
+Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
This module provides an interface to the system logger syslogd(8) via
@@ -19,44 +16,57 @@
libc-functions of your system, so that anyone being familiar with
syslog.h should be able to use this module right away.
-
%prep
%setup -q -n Unix-Syslog-%{version}
-
%build
-CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS=vendor
-make %{?_smp_mflags} OPTIMIZE="$RPM_OPT_FLAGS"
-
+%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
+make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
-make install \
- PERL_INSTALL_ROOT=$RPM_BUILD_ROOT \
- INSTALLARCHLIB=$RPM_BUILD_ROOT%{perl_archlib}
-find $RPM_BUILD_ROOT -type f -a \( -name perllocal.pod -o -name .packlist \
- -o \( -name '*.bs' -a -empty \) \) -exec rm -f {} ';'
-find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
-chmod -R u+w $RPM_BUILD_ROOT/*
+make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
+
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
+find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
+find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
-%check || :
-make test
+%{_fixperms} $RPM_BUILD_ROOT/*
+%check
+%{?_with_check:make test}
%clean
rm -rf $RPM_BUILD_ROOT
-
%files
%defattr(-,root,root,-)
-%doc Changes README Artistic
+%doc Artistic Changes README
%{perl_vendorarch}/auto/Unix
%{perl_vendorarch}/Unix
%{_mandir}/man3/Unix::Syslog.3pm*
-
%changelog
+* Mon Apr 16 2007 Steven Pritchard <steve at kspei.com> 0.100-9
+- Use fixperms macro instead of our own chmod incantation.
+- BR ExtUtils::MakeMaker.
+
+* Mon Aug 28 2006 Steven Pritchard <steve at kspei.com> 0.100-8
+- Rebuild.
+- Fix find option order.
+- Minor cleanup to more closely match cpanspec output.
+
+* Sat Feb 18 2006 Steven Pritchard <steve at kspei.com> 0.100-7
+- Rebuild.
+
+* Mon Sep 05 2005 Steven Pritchard <steve at kspei.com> 0.100-6
+- Spec cleanup.
+- Disable "make test" by default (spams console).
+
+* Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
+- rebuilt
+
* 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_*).
@@ -72,5 +82,5 @@
- Changed Group tag value
- Added missing unowned directories
-* Sun Jun 15 2003 Dams <anvil[AT]livna.org>
+* Sun Jun 15 2003 Dams <anvil[AT]livna.org>
- Initial build.
More information about the scm-commits
mailing list