Compare commits

..

No commits in common. "6499939d96f0bed7b930dad656af72b66dc9a648" and "e1f31e5930d6432a57153400fda7f0b3b8c95aac" have entirely different histories.

4 changed files with 4 additions and 45 deletions

BIN
File-BaseDir-0.08.tar.gz Normal file

Binary file not shown.

Binary file not shown.

View File

@ -1,20 +1,15 @@
%{bcond_with perl_File_BaseDir_enables_xdg_user_dirs}
Name: perl-File-BaseDir
Version: 0.09
Release: 2
Version: 0.08
Release: 5
Summary: Use the Freedesktop.org base directory specification
License: GPL+ or Artistic
URL: https://metacpan.org/release/File-BaseDir
Source0: https://cpan.metacpan.org/authors/id/P/PL/PLICEASE/File-BaseDir-%{version}.tar.gz
Source0: https://cpan.metacpan.org/authors/id/K/KI/KIMRYAN/File-BaseDir-%{version}.tar.gz
BuildArch: noarch
BuildRequires: findutils make perl-interpreter perl-generators perl(ExtUtils::MakeMaker)
BuildRequires: perl(Module::Build::Compat) perl(Test::More)
BuildRequires: perl-File-Which
%if %{with perl_File_BaseDir_enables_xdg_user_dirs}
BuildRequires: xdg-user-dirs
%endif
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) xdg-user-dirs
Provides: perl-File-UserDirs = %{version}-%{release}
Provides: perl(File::UserDirs) = %{version}-%{release}
@ -27,18 +22,6 @@ configuration, application data and cache data. It is suggested that desktop app
e.g. the Gnome, KDE or Xfce platforms follow this layout. However, the same layout can just
as well be used for non-GUI applications.
%if %{with perl_File_BaseDir_enables_xdg_user_dirs}
Summary: Find extra media and documents Freedesktop.org directories
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: xdg-user-dirs
Conflicts: %{name} < 0.06-2
%description -n perl-File-UserDirs
File::UserDirs Perl module can be used to find directories as informally
specified by the Freedesktop.org xdg-user-dirs software. This gives
a mechanism to locate extra directories for media and documents files.
%endif
%package_help
%prep
@ -60,31 +43,11 @@ make test
%defattr(-,root,root)
%doc Changes README
%{perl_vendorlib}/*
%exclude %{perl_vendorlib}/File/UserDirs.pm
%if %{with perl_File_BaseDir_enables_xdg_user_dirs}
%files -n perl-File-UserDirs
%doc Changes README
%dir %{perl_vendorlib}/File
%{perl_vendorlib}/File/UserDirs.pm
%endif
%files help
%{_mandir}/man3/*
%changelog
* Thu Nov 10 2022 liyanan <liyanan32@h-partners.com> - 0.09-2
- Change source
* Tue Jun 14 2022 SimpleUpdate Robot <tc@openeuler.org> - 0.09-1
- Upgrade to version 0.09
* Mon Sep 6 2021 caodongxia <caodongxia@huawei.com> - 0.08-7
- and build require perl-File-Which
* Wed Jan 15 2020 openEuler Buildteam <buildteam@openeuler.org> - 0.08-6
- build without perl_File_BaseDir_enables_xdg_user_dirs
* Wed Jan 15 2020 openEuler Buildteam <buildteam@openeuler.org> - 0.08-5
- delete obsolete of perl(File::UserDirs)

View File

@ -1,4 +0,0 @@
version_control: metacpan
src_repo: File-BaseDir
tag_prefix: "^v"
seperator: "."