[perl-Gtk2-Ex-Utils] Modernize spec file
by Petr Pisar
commit 8cba77c318bf0cf28d6d3444c6f77a935f338046
Author: Petr Písař <ppisar(a)redhat.com>
Date: Tue Jan 31 14:05:04 2012 +0100
Modernize spec file
perl-Gtk2-Ex-Utils.spec | 30 ++++++++++++++++--------------
1 files changed, 16 insertions(+), 14 deletions(-)
---
diff --git a/perl-Gtk2-Ex-Utils.spec b/perl-Gtk2-Ex-Utils.spec
index 71e5e65..1ac5bd3 100644
--- a/perl-Gtk2-Ex-Utils.spec
+++ b/perl-Gtk2-Ex-Utils.spec
@@ -1,20 +1,27 @@
Name: perl-Gtk2-Ex-Utils
Version: 0.09
-Release: 11%{?dist}
-Summary: Extra Gtk2 Utilities for working with Gnome2/Gtk2 in Perl
+Release: 12%{?dist}
+Summary: Extra Gtk2 Utilities for working with GNOME2/GTK2 in Perl
License: LGPLv2+
Group: Development/Libraries
URL: http://search.cpan.org/dist/Gtk2-Ex-Utils/
Source0: http://www.cpan.org/authors/id/K/KC/KCK/Gtk2-Ex-Utils-%{version}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
BuildArch: noarch
+BuildRequires: perl(ExtUtils::MakeMaker)
+# Run-time
+BuildRequires: perl(constant)
+BuildRequires: perl(Exporter)
BuildRequires: perl(Gtk2) >= 1.04
-
+# Tests
+BuildRequires: perl(Test)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires: perl(Gtk2) >= 1.04
+
+# Remove under-specified dependencies
+%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Gtk2\\)$
%description
-This module provides simple utility functions useful for Gnome2/Gtk2 Perl
+This module provides simple utility functions useful for GNOME2/GTK2 Perl
programming.
%prep
@@ -25,28 +32,23 @@ programming.
make %{?_smp_mflags}
%install
-rm -rf %{buildroot}
-
make pure_install PERL_INSTALL_ROOT=%{buildroot}
-
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
-
%{_fixperms} %{buildroot}/*
%check
make test
-%clean
-rm -rf %{buildroot}
-
%files
-%defattr(-,root,root,-)
%doc Changes COPYRIGHT README
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
+* Tue Jan 31 2012 Petr Pisar <ppisar(a)redhat.com> - 0.09-12
+- Modernize spec file
+
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 0.09-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
12 years, 3 months
[rt3/f15] (6 commits) ...Fix changelog entry typo.
by corsepiu
Summary of changes:
9c99e50... Upstream update. (*)
e345589... Remove redundant R: config(rt3), Remove P: config(rt3). Rew (*)
2b1b581... Fix typo in filter rules. Add lexdir, manualdir, RT3_LEXDIR (*)
3917e42... Rename rpmbuild option with_tests into with_runtests. (*)
f177ee5... Rewrite *-tests package (Don't use tests macros). (*)
1b6b3e3... Fix changelog entry typo. (*)
(*) This commit already existed in another branch; no separate mail sent
12 years, 3 months
[rt3/f16] Fix changelog entry typo.
by corsepiu
Summary of changes:
1b6b3e3... Fix changelog entry typo. (*)
(*) This commit already existed in another branch; no separate mail sent
12 years, 3 months
[rt3] Fix changelog entry typo.
by corsepiu
commit 1b6b3e37b5c7afe26f9cfb527cd7c23b336d7110
Author: Ralf Corsépius <corsepiu(a)fedoraproject.org>
Date: Tue Jan 31 10:06:12 2012 +0100
Fix changelog entry typo.
rt3.spec | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/rt3.spec b/rt3.spec
index 5918564..d7e3d78 100644
--- a/rt3.spec
+++ b/rt3.spec
@@ -479,7 +479,7 @@ fi
%endif
%changelog
-* Tue Jan 30 2012 Ralf Corsépius <corsepiu(a)fedoraproject.org> - 3.8.11-5
+* Tue Jan 31 2012 Ralf Corsépius <corsepiu(a)fedoraproject.org> - 3.8.11-5
- Rewrite *-tests package (Don't use tests macros).
* Mon Jan 30 2012 Ralf Corsépius <corsepiu(a)fedoraproject.org> - 3.8.11-4
12 years, 3 months