- updated to 0.99

- Updating to Module::Install 1.04
    - Removed deprecated interfaces from the documentation
    - Don't require music and video directories in FreeDesktop tests
    - The use of deprecated %~ now emits a warning

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-File-HomeDir?expand=0&rev=16
This commit is contained in:
Stephan Kulow 2012-02-21 09:08:15 +00:00 committed by Git OBS Bridge
parent f43091e860
commit b4892cdb21
4 changed files with 33 additions and 37 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:834149453ff5535b8d6afdcf5e3e5feadca9d3662e3b2e30bc2ef0d9a504a062
size 50202

3
File-HomeDir-0.99.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d0be01e0cb3313d22fdc58fc4263db75775389536a70b52e1204f6fe44512ef8
size 50522

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Tue Feb 21 09:03:28 UTC 2012 - coolo@suse.com
- updated to 0.99
- Updating to Module::Install 1.04
- Removed deprecated interfaces from the documentation
- Don't require music and video directories in FreeDesktop tests
- The use of deprecated %~ now emits a warning
-------------------------------------------------------------------
Mon Dec 19 15:36:31 UTC 2011 - coolo@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package perl-File-HomeDir
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2012 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
@ -17,28 +17,37 @@
Name: perl-File-HomeDir
Version: 0.98
Version: 0.99
Release: 0
%define cpan_name File-HomeDir
Summary: Find your home and other directories on any platform
License: GPL-1.0+ or Artistic-1.0
License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/File-HomeDir/
Source: http://www.cpan.org/authors/id/A/AD/ADAMK/File-HomeDir-%{version}.tar.gz
Source: http://www.cpan.org/authors/id/A/AD/ADAMK/%{cpan_name}-%{version}.tar.gz
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Carp)
BuildRequires: perl(Cwd) >= 3.12
BuildRequires: perl(File::Path) >= 2.01
BuildRequires: perl(File::Spec) >= 3.12
BuildRequires: perl(File::Temp) >= 0.19
BuildRequires: perl(File::Which) >= 0.05
Requires: perl(Carp)
Requires: perl(Cwd) >= 3.12
#BuildRequires: perl(File::HomeDir)
#BuildRequires: perl(File::HomeDir::Darwin)
#BuildRequires: perl(File::HomeDir::Darwin::Cocoa)
#BuildRequires: perl(File::HomeDir::Driver)
#BuildRequires: perl(File::HomeDir::Test)
#BuildRequires: perl(File::HomeDir::Unix)
#BuildRequires: perl(inc::Module::Install) >= 1.04
#BuildRequires: perl(JSON)
#BuildRequires: perl(LWP::Simple)
#BuildRequires: perl(Mac::Files)
#BuildRequires: perl(Mac::SystemDirectory)
#BuildRequires: perl(Module::Build)
#BuildRequires: perl(Module::Install::Base)
#BuildRequires: perl(Parse::CPAN::Meta)
#BuildRequires: perl(YAML::Tiny)
Requires: perl(File::Path) >= 2.01
Requires: perl(File::Spec) >= 3.12
Requires: perl(File::Temp) >= 0.19
Requires: perl(File::Which) >= 0.05
%{perl_requires}
@ -70,25 +79,6 @@ the interface will be removed entirely in 2015 (in line with the general
Perl toolchain convention of a 10 year support period for legacy APIs that
are potentially or actually in common use).
Platform Neutrality
In the Unix world, many different types of data can be mixed together
in your home directory (although on some Unix platforms this is no
longer the case, particularly for "desktop"-oriented platforms).
On some non-Unix platforms, separate directories are allocated for
different types of data and have been for a long time.
When writing applications on top of *File::HomeDir*, you should thus
always try to use the most specific method you can. User documents
should be saved in 'my_documents', data that supports an application
but isn't normally editing by the user directory should go into
'my_data'.
On platforms that do not make any distinction, all these different
methods will harmlessly degrade to the main home directory, but on
platforms that care *File::HomeDir* will always try to Do The Right
Thing(tm).
%prep
%setup -q -n %{cpan_name}-%{version}
@ -104,11 +94,8 @@ Platform Neutrality
%perl_process_packlist
%perl_gen_filelist
%clean
%{__rm} -rf %{buildroot}
%files -f %{name}.files
%defattr(644,root,root,755)
%doc Changes LICENSE README
%defattr(-,root,root,755)
%doc Changes LICENSE MYMETA.json README
%changelog