From 0926f6c736c5cc07fd56e17dc524cdef10a990dd Mon Sep 17 00:00:00 2001 From: Petr Písař Date: Mar 06 2018 15:55:42 +0000 Subject: Modernize spec file --- diff --git a/perl-Gnome2-GConf.spec b/perl-Gnome2-GConf.spec index b997a85..9bb908e 100644 --- a/perl-Gnome2-GConf.spec +++ b/perl-Gnome2-GConf.spec @@ -1,6 +1,6 @@ Name: perl-Gnome2-GConf Version: 1.044 -Release: 32%{?dist} +Release: 33%{?dist} Summary: Perl wrappers for the GConf configuration engine License: LGPLv2+ Group: Development/Libraries @@ -9,15 +9,15 @@ Source0: http://www.cpan.org/modules/by-module/Gnome2/Gnome2-GConf-%{vers # Remove support for gconf_engine_key_is_writable() which has been removed # from GConf2, bug #1197692, CPAN RT#91577 Patch0: Gnome2-GConf-1.044-disable-orbit.patch -BuildRequires: coreutils BuildRequires: findutils +BuildRequires: gcc BuildRequires: make -BuildRequires: perl-interpreter BuildRequires: perl-devel BuildRequires: perl-generators +BuildRequires: perl-interpreter BuildRequires: perl(Cwd) BuildRequires: perl(ExtUtils::Depends) >= 0.2 -BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 BuildRequires: perl(ExtUtils::PkgConfig) >= 1.03 BuildRequires: perl(File::Spec) BuildRequires: pkgconfig(gconf-2.0) >= 2.0.0 @@ -55,13 +55,12 @@ that monitors those keys. GConf is used by GNOME 2.x. %patch0 -p1 %build -perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" +perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 OPTIMIZE="%{optflags}" make %{?_smp_mflags} %install make pure_install DESTDIR=%{buildroot} -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 -delete %{_fixperms} %{buildroot}/* %check @@ -75,6 +74,9 @@ xvfb-run -a make test %changelog +* Tue Mar 06 2018 Petr Pisar - 1.044-33 +- Modernize spec file + * Thu Feb 08 2018 Fedora Release Engineering - 1.044-32 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild