Removing now obsolete Buildroot and defattr
License updated to GPLv2+ or Artistic (asked upstream for
confirmation)
f38
Petr Šabata 13 years ago
parent d9e74935b3
commit 7f2ec84e3a

1
.gitignore vendored

@ -1 +1,2 @@
Net-DBus-0.33.6.tar.gz Net-DBus-0.33.6.tar.gz
/Net-DBus-1.0.0.tar.gz

@ -1,31 +1,27 @@
Name: perl-Net-DBus Name: perl-Net-DBus
Version: 0.33.6 Version: 1.0.0
Release: 10%{?dist} Release: 1%{?dist}
Summary: Use and provide DBus services Summary: Use and provide DBus services
License: GPL+ or Artistic # Based on the current LICENSE file; asked upstream for confirmation (Nov 11, 2011)
License: GPLv2+ or Artistic
Group: Development/Libraries Group: Development/Libraries
URL: http://search.cpan.org/dist/Net-DBus/ URL: http://search.cpan.org/dist/Net-DBus/
Source0: http://search.cpan.org/CPAN/authors/id/D/DA/DANBERR/Net-DBus-%{version}.tar.gz Source0: http://search.cpan.org/CPAN/authors/id/D/DA/DANBERR/Net-DBus-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
BuildRequires: dbus-devel >= 1.00, pkgconfig
# non-perl BuildRequires: perl(Exporter)
BuildRequires: dbus-devel >= 0.33, pkgconfig
# core
BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Test::More)
BuildRequires: perl(Time::HiRes) BuildRequires: perl(Time::HiRes)
# cpan
BuildRequires: perl(XML::Grove) BuildRequires: perl(XML::Grove)
BuildRequires: perl(XML::Parser) BuildRequires: perl(XML::Parser)
BuildRequires: perl(XML::Twig) BuildRequires: perl(XML::Twig)
BuildRequires: perl(XSLoader)
# test # test
BuildRequires: perl(Test::Pod) BuildRequires: perl(Carp)
BuildRequires: perl(Test::Pod::Coverage) BuildRequires: perl(Test::More)
BuildRequires: perl(Test::Pod) >= 1.00
### auto-added reqs! BuildRequires: perl(Test::Pod::Coverage) >= 1.00
Requires: perl(Time::HiRes) Requires: perl(XSLoader)
Requires: perl(XML::Twig)
%{?perl_default_filter} %{?perl_default_filter}
@ -43,30 +39,27 @@ have not been too drastic.
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
rm -rf %{buildroot}
make pure_install PERL_INSTALL_ROOT=%{buildroot} make pure_install PERL_INSTALL_ROOT=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} + find %{buildroot} -type f -name .packlist -exec rm -f {} +
find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} + find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} +
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
%{_fixperms} %{buildroot}/* %{_fixperms} %{buildroot}/*
%check %check
make test make test
%clean
rm -rf %{buildroot}
%files %files
%defattr(-,root,root,-) %doc AUTHORS CHANGES README LICENSE examples/
%doc AUTHORS CHANGES README examples/ t/
%{perl_vendorarch}/auto/* %{perl_vendorarch}/auto/*
%{perl_vendorarch}/Net* %{perl_vendorarch}/Net*
%{_mandir}/man3/* %{_mandir}/man3/*
%changelog %changelog
* Fri Nov 11 2011 Petr Šabata <contyk@redhat.com> - 1.0.0-1
- 1.0.0 bump
- Removing now obsolete Buildroot and defattr
- License updated to GPLv2+ or Artistic (asked upstream for confirmation)
* Wed Jul 20 2011 Petr Sabata <contyk@redhat.com> - 0.33.6-10 * Wed Jul 20 2011 Petr Sabata <contyk@redhat.com> - 0.33.6-10
- Perl mass rebuild - Perl mass rebuild

@ -1 +1 @@
a1dbce89b1b839fd0e46d74067ae2e35 Net-DBus-0.33.6.tar.gz b17e32976d1a3b56feb908ebd7fed7f1 Net-DBus-1.0.0.tar.gz

Loading…
Cancel
Save