diff --git a/.gitignore b/.gitignore index 185256c..061b8d0 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -/Gtk2-SourceView2-0.10.tar.gz +/Gtk2-SourceView2-*.tar.gz diff --git a/perl-Gtk2-SourceView2.spec b/perl-Gtk2-SourceView2.spec index 04505e1..26d72ff 100644 --- a/perl-Gtk2-SourceView2.spec +++ b/perl-Gtk2-SourceView2.spec @@ -1,11 +1,13 @@ -Name: perl-Gtk2-SourceView2 +%global srcname Gtk2-SourceView2 + +Name: perl-%{srcname} Version: 0.10 -Release: 9%{?dist} +Release: 10%{?dist} Summary: Perl bindings for the GtkSourceView 2.x widget Group: Development/Libraries License: GPLv2+ or Artistic 2.0 -URL: http://search.cpan.org/dist/Gtk2-SourceView2/ -Source0: http://search.cpan.org/CPAN/authors/id/P/PO/POTYL/Gtk2-SourceView2-0.10.tar.gz +URL: http://search.cpan.org/dist/%{srcname}/ +Source0: http://search.cpan.org/CPAN/authors/id/P/PO/POTYL/%{srcname}-%{version}.tar.gz BuildRequires: perl-devel BuildRequires: perl-generators BuildRequires: perl(ExtUtils::MakeMaker) @@ -31,7 +33,7 @@ code editor. %prep -%setup -q -n Gtk2-SourceView2-%{version} +%setup -q -n %{srcname}-%{version} %build @@ -62,6 +64,9 @@ xvfb-run -a -w 1 make test %changelog +* Thu Aug 11 2016 Thomas Moschny - 0.10-10 +- Use %%srcname macro. + * Thu Aug 11 2016 Thomas Moschny - 0.10-9 - Tag COPYING with %%licence.