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:
commit
5241d58630
@ -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
|
||||
|
||||
|
@ -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
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -15,8 +15,6 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
%bcond_with test
|
||||
|
||||
Name: perl-DateTime-Locale
|
||||
@ -33,8 +31,8 @@ BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%{perl_requires}
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl(Module::Build)
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(Module::Build)
|
||||
%if %{with test}
|
||||
BuildRequires: perl(Test::Output)
|
||||
#BuildRequires: perl(Test::Pod)
|
||||
@ -56,15 +54,13 @@ available locales.
|
||||
If you want to know what methods are available for locale objects,
|
||||
then please read the DateTime::Locale::Base documentation.
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Richard Evans <rich@ridas.com>
|
||||
Dave Rolsky <autarch@urth.org>
|
||||
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
# 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
|
||||
%{__perl} Build.PL installdirs=vendor
|
||||
@ -74,14 +70,18 @@ Authors:
|
||||
./Build test
|
||||
|
||||
%install
|
||||
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
|
||||
./Build install destdir=%{buildroot} create_packlist=0
|
||||
%perl_gen_filelist
|
||||
|
||||
%clean
|
||||
%{__rm} -rf $RPM_BUILD_ROOT
|
||||
%{__rm} -rf %{buildroot}
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,-)
|
||||
%if 0%{suse_version}
|
||||
%doc Changes LICENSE README SIGNATURE tools
|
||||
%else
|
||||
%doc Changes LICENSE README SIGNATURE
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user