commit 54c19d0f0302b42f9e5b69048f0917b1ff591ae4 Author: Emmanuel Seyman <emmanuel.seyman@xxxxxxxxxxxxxxxx> Date: Wed Jul 11 22:45:05 2012 +0200 Use the version macro in Obsoletes perl-JSON-RPC.spec | 13 ++++++++----- 1 files changed, 8 insertions(+), 5 deletions(-) --- diff --git a/perl-JSON-RPC.spec b/perl-JSON-RPC.spec index a2e02af..0cc6081 100644 --- a/perl-JSON-RPC.spec +++ b/perl-JSON-RPC.spec @@ -1,6 +1,6 @@ Name: perl-JSON-RPC Version: 1.03 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Perl implementation of JSON-RPC 1.1 protocol License: GPL+ or Artistic Group: Development/Libraries @@ -21,7 +21,7 @@ BuildRequires: perl(Test::More) BuildRequires: perl(Test::Pod) BuildRequires: perl(Router::Simple) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) -Obsoletes: perl-JSON-RPC-legacy < 1.0.3 +Obsoletes: perl-JSON-RPC-legacy < %{version} Provides: perl-JSON-RPC-legacy = %{version} %{?perl_default_filter} @@ -34,17 +34,17 @@ application data carried in parameters. %package Apache2 Summary: JSON-RPC server for mod_perl2 -Obsoletes: perl-JSON-RPC-legacy-server < 1.0.3 +Obsoletes: perl-JSON-RPC-legacy-server < %{version} Provides: perl-JSON-RPC-legacy-server = %{version} %package CGI Summary: JSON-RPC server for CGI scripts -Obsoletes: perl-JSON-RPC-legacy-server < 1.0.3 +Obsoletes: perl-JSON-RPC-legacy-server < %{version} Provides: perl-JSON-RPC-legacy-server = %{version} %package Daemon Summary: JSON-RPC standalone daemon -Obsoletes: perl-JSON-RPC-legacy-server < 1.0.3 +Obsoletes: perl-JSON-RPC-legacy-server < %{version} Provides: perl-JSON-RPC-legacy-server = %{version} %description Apache2 @@ -112,6 +112,9 @@ make test %{perl_vendorlib}/JSON/RPC/Legacy/Server/Daemon.pm %changelog +* Wed Jul 11 2012 Emmanuel Seyman <emmanuel.seyman@xxxxxxxxxxxxxxxx> - 1.03-2 +- Use the version macro in Obsoletes + * Sun Jul 01 2012 Emmanuel Seyman <emmanuel.seyman@xxxxxxxxxxxxxxxx> - 1.03-1 - Update to 1.03 - Merge back the legacy implementation in the main package -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel