[ecj] Add missing epoch to native subpackage requires.

Alexander Kurtakov akurtakov at fedoraproject.org
Wed Apr 18 15:02:48 UTC 2012


commit acd44f71f4274135d10a4b9195be87e10f3ba421
Author: Alexander Kurtakov <akurtako at redhat.com>
Date:   Wed Apr 18 18:02:26 2012 +0300

    Add missing epoch to native subpackage requires.

 ecj.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/ecj.spec b/ecj.spec
index 6b61490..d7a67a4 100644
--- a/ecj.spec
+++ b/ecj.spec
@@ -8,7 +8,7 @@ Epoch: 1
 Summary: Eclipse Compiler for Java
 Name: ecj
 Version: 3.4.2
-Release: 12%{?dist}
+Release: 13%{?dist}
 URL: http://www.eclipse.org
 License: EPL
 Group: Development/Languages
@@ -45,7 +45,7 @@ the JDT Core batch compiler.
 %package native
 Summary:	Native(gcj) bits for %{name}
 Group:		Development/Libraries
-Requires:	%{name} = %{version}-%{release}
+Requires:	%{name} = %{epoch}:%{version}-%{release}
 Requires: libgcj >= 4.0.0
 Requires(post): java-gcj-compat
 Requires(postun): java-gcj-compat
@@ -134,6 +134,9 @@ fi
 %{_libdir}/gcj/%{name}
 
 %changelog
+* Wed Apr 18 2012 Alexander Kurtakov <akurtako at redhat.com> 1:3.4.2-13
+- Add missing epoch to native subpackage requires.
+
 * Tue Apr 17 2012 Alexander Kurtakov <akurtako at redhat.com> 1:3.4.2-12
 - Separate gcj in subpackage.
 


More information about the scm-commits mailing list