Accepting request 80985 from devel:languages:perl

OBS-URL: https://build.opensuse.org/request/show/80985
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-DateTime-Locale?expand=0&rev=8
This commit is contained in:
Lars Vogdt 2011-09-05 16:09:14 +00:00 committed by Git OBS Bridge
commit 5241d58630
2 changed files with 20 additions and 13 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Aug 29 21:06:41 UTC 2011 - chris@computersalat.de
- fix build/deps for RHEL, CentOS
* AutoReq seem to be broken: need to remove tools dir, cause otherwise
wrong Requires would be defined, e.g. perl(Moose),....
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Nov 30 19:20:09 UTC 2010 - coolo@novell.com Tue Nov 30 19:20:09 UTC 2010 - coolo@novell.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package perl-DateTime-Locale (Version 0.45) # spec file for package perl-DateTime-Locale
# #
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -15,8 +15,6 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
# norootforbuild
%bcond_with test %bcond_with test
Name: perl-DateTime-Locale Name: perl-DateTime-Locale
@ -33,8 +31,8 @@ BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires} %{perl_requires}
BuildRequires: perl BuildRequires: perl
BuildRequires: perl(Module::Build)
BuildRequires: perl-macros BuildRequires: perl-macros
BuildRequires: perl(Module::Build)
%if %{with test} %if %{with test}
BuildRequires: perl(Test::Output) BuildRequires: perl(Test::Output)
#BuildRequires: perl(Test::Pod) #BuildRequires: perl(Test::Pod)
@ -56,15 +54,13 @@ available locales.
If you want to know what methods are available for locale objects, If you want to know what methods are available for locale objects,
then please read the DateTime::Locale::Base documentation. then please read the DateTime::Locale::Base documentation.
Authors:
--------
Richard Evans <rich@ridas.com>
Dave Rolsky <autarch@urth.org>
%prep %prep
%setup -q -n %{cpan_name}-%{version} %setup -q -n %{cpan_name}-%{version}
# rpmlint: spurious-executable-perm # rpmlint: spurious-executable-perm
%{__chmod} 0644 tools/generate-from-cldr find . -type f -print0 | xargs -0 chmod 644
%if 0%{?rhel_version} || 0%{?centos_version}
%{__rm} -rf tools
%endif
%build %build
%{__perl} Build.PL installdirs=vendor %{__perl} Build.PL installdirs=vendor
@ -74,14 +70,18 @@ Authors:
./Build test ./Build test
%install %install
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 ./Build install destdir=%{buildroot} create_packlist=0
%perl_gen_filelist %perl_gen_filelist
%clean %clean
%{__rm} -rf $RPM_BUILD_ROOT %{__rm} -rf %{buildroot}
%files -f %{name}.files %files -f %{name}.files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%if 0%{suse_version}
%doc Changes LICENSE README SIGNATURE tools %doc Changes LICENSE README SIGNATURE tools
%else
%doc Changes LICENSE README SIGNATURE
%endif
%changelog %changelog