Rebuild. Fix find option order. Minor cleanup to more closely match
cpanspec output.
This commit is contained in:
parent
93c5c97917
commit
4df0543dd9
@ -1 +0,0 @@
|
|||||||
http://fedoraproject.org/wiki/Extras/Schedule/FC6MassRebuild
|
|
@ -1,13 +1,12 @@
|
|||||||
Name: perl-Unix-Syslog
|
Name: perl-Unix-Syslog
|
||||||
Version: 0.100
|
Version: 0.100
|
||||||
Release: 7%{?dist}
|
Release: 8%{?dist}
|
||||||
Summary: Perl interface to the UNIX syslog(3) calls
|
Summary: Perl interface to the UNIX syslog(3) calls
|
||||||
License: Artistic
|
License: Artistic
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
URL: http://search.cpan.org/dist/Unix-Syslog/
|
URL: http://search.cpan.org/dist/Unix-Syslog/
|
||||||
Source0: http://www.cpan.org/authors/id/M/MH/MHARNISCH/Unix-Syslog-%{version}.tar.gz
|
Source0: http://www.cpan.org/authors/id/M/MH/MHARNISCH/Unix-Syslog-%{version}.tar.gz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -21,16 +20,16 @@ syslog.h should be able to use this module right away.
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
|
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
|
||||||
%{__perl} -pi -e 's/^\tLD_RUN_PATH=[^\s]+\s*/\t/' Makefile
|
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
make pure_install PERL_INSTALL_ROOT=$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 .packlist -exec rm -f {} \;
|
||||||
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
|
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
|
||||||
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null \;
|
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
|
||||||
|
|
||||||
chmod -R u+rwX,go+rX,go-w $RPM_BUILD_ROOT/*
|
chmod -R u+rwX,go+rX,go-w $RPM_BUILD_ROOT/*
|
||||||
|
|
||||||
@ -42,12 +41,17 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc Changes README Artistic
|
%doc Artistic Changes README
|
||||||
%{perl_vendorarch}/auto/Unix
|
%{perl_vendorarch}/auto/Unix
|
||||||
%{perl_vendorarch}/Unix
|
%{perl_vendorarch}/Unix
|
||||||
%{_mandir}/man3/Unix::Syslog.3pm*
|
%{_mandir}/man3/Unix::Syslog.3pm*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* 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.
|
||||||
|
|
||||||
* Sat Feb 18 2006 Steven Pritchard <steve@kspei.com> 0.100-7
|
* Sat Feb 18 2006 Steven Pritchard <steve@kspei.com> 0.100-7
|
||||||
- Rebuild.
|
- Rebuild.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user