Fix filters.
This commit is contained in:
parent
2722d01f1e
commit
3140b76c8b
@ -1,13 +1,12 @@
|
|||||||
Name: perl-File-HomeDir
|
Name: perl-File-HomeDir
|
||||||
Version: 0.97
|
Version: 0.97
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Find your home and other directories on any platform
|
Summary: Find your home and other directories on any platform
|
||||||
|
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
License: GPL+ or Artistic
|
License: GPL+ or Artistic
|
||||||
URL: http://search.cpan.org/dist/File-HomeDir/
|
URL: http://search.cpan.org/dist/File-HomeDir/
|
||||||
Source0: http://www.cpan.org/authors/id/A/AD/ADAMK/File-HomeDir-%{version}.tar.gz
|
Source0: http://www.cpan.org/authors/id/A/AD/ADAMK/File-HomeDir-%{version}.tar.gz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: perl(Carp)
|
BuildRequires: perl(Carp)
|
||||||
@ -27,8 +26,8 @@ Requires: perl(File::Spec) >= 3.12
|
|||||||
Requires: perl(File::Temp) >= 0.19
|
Requires: perl(File::Temp) >= 0.19
|
||||||
Requires: perl(File::Which) >= 0.05
|
Requires: perl(File::Which) >= 0.05
|
||||||
|
|
||||||
%filter_from_requires /perl(Cwd)$/d
|
%{?perl_default_filter}
|
||||||
%filter_setup
|
%global __requires_exclude %{?__requires_exclude}|perl\\(Cwd\\)|perl\\(File::Path\\)|perl\\(File::Spec\\)|perl\\(File::Temp\\)|perl\\(File::Which\\)|perl\\(Mac::
|
||||||
|
|
||||||
%description
|
%description
|
||||||
File::HomeDir is a module for locating the directories that are "owned"
|
File::HomeDir is a module for locating the directories that are "owned"
|
||||||
@ -47,7 +46,6 @@ make %{?_smp_mflags}
|
|||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
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 -depth -type d -exec rmdir {} 2>/dev/null ';'
|
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
|
||||||
@ -59,18 +57,17 @@ chmod -R u+w $RPM_BUILD_ROOT/*
|
|||||||
# AUTOMATED_TESTING=1 make test
|
# AUTOMATED_TESTING=1 make test
|
||||||
|
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%doc Changes LICENSE README
|
%doc Changes LICENSE README
|
||||||
%{perl_vendorlib}/File/
|
%{perl_vendorlib}/File/
|
||||||
%{_mandir}/man3/*.3pm*
|
%{_mandir}/man3/*.3pm*
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jun 24 2011 Marcela Maslanova <mmaslano@redhat.com> - 0.97-2
|
||||||
|
- fix filters for future rebuild
|
||||||
|
|
||||||
* Mon Feb 21 2011 Tom Callaway <spot@fedoraproject.org> - 0.97-1
|
* Mon Feb 21 2011 Tom Callaway <spot@fedoraproject.org> - 0.97-1
|
||||||
- update to 0.97
|
- update to 0.97
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user