Fix FTBFS due to missing buildreq perl-devel
Also, simplify find commands using -empty and -delete
This commit is contained in:
parent
513b6c780a
commit
3b8cebffcf
@ -1,6 +1,6 @@
|
||||
Name: perl-Data-UUID
|
||||
Version: 1.221
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
Summary: Globally/Universally Unique Identifiers (GUIDs/UUIDs)
|
||||
Group: Development/Libraries
|
||||
# Upstream says BSD but LICENSE file looks more like MIT
|
||||
@ -14,6 +14,7 @@ BuildRequires: findutils
|
||||
BuildRequires: gcc
|
||||
BuildRequires: make
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-devel
|
||||
BuildRequires: perl(Config)
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
BuildRequires: perl(File::Spec)
|
||||
@ -70,8 +71,8 @@ make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
make pure_install DESTDIR=%{buildroot}
|
||||
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
|
||||
find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
|
||||
find %{buildroot} -type f -name .packlist -delete
|
||||
find %{buildroot} -type f -name '*.bs' -empty -delete
|
||||
%{_fixperms} %{buildroot}
|
||||
|
||||
%check
|
||||
@ -86,6 +87,10 @@ perl smp-test/collision.t
|
||||
%{_mandir}/man3/Data::UUID.3*
|
||||
|
||||
%changelog
|
||||
* Thu Apr 21 2016 Paul Howarth <paul@city-fan.org> - 1.221-3
|
||||
- Fix FTBFS due to missing buildreq perl-devel
|
||||
- Simplify find commands using -empty and -delete
|
||||
|
||||
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.221-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user