[yash] Fix broken deps

Mamoru Tasaka mtasaka at fedoraproject.org
Wed Aug 7 03:28:30 UTC 2013


commit 314ddc4e57e354289c10c5297d646013ad0c5ddb
Author: Mamoru TASAKA <mtasaka at fedoraproject.org>
Date:   Wed Aug 7 12:28:19 2013 +0900

    Fix broken deps

 yash.spec |   13 ++++++++++---
 1 files changed, 10 insertions(+), 3 deletions(-)
---
diff --git a/yash.spec b/yash.spec
index 52940ee..e437583 100644
--- a/yash.spec
+++ b/yash.spec
@@ -6,14 +6,18 @@
 %global		mainver	2.35
 %global		docver		%{mainver}
 
+%if 0%{?fedora} >= 20
+%global		yashdocdir		%{_datadir}/doc/%{name}-doc
+%else
 %global		yashdocdir		%{_datadir}/doc/%{name}-doc-%{version}
+%endif
 
-%global		mainrel		1
+%global		mainrel		2
 %undefine		minorver
 
 Name:		yash
 Version:	%{mainver}
-Release:	%{?minorver:0.}%{mainrel}%{?minorver:.%{minorver}}%{?dist}.1
+Release:	%{?minorver:0.}%{mainrel}%{?minorver:.%{minorver}}%{?dist}
 Summary:	Yet Another SHell
 
 Group:		System Environment/Shells
@@ -50,7 +54,7 @@ Yash also has its own features beyond POSIX, such as:
 Summary:	Documentation for %{name}
 Group:		Documentation
 Version:	%{docver}
-Release:	%{release}.1
+Release:	%{release}
 License:	CC-BY-SA
 BuildArch:	noarch
 Requires:	%{name} = %{mainver}-%{release}
@@ -137,6 +141,9 @@ exit 0
 %lang(ja)	%{yashdocdir}/ja/
 
 %changelog
+* Wed Aug  7 2013 Mamoru TASAKA <mtasaka at fedoraproject.org> - 2.35-2
+- Fix broken deps
+
 * Sun Aug 04 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.35-1.1
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
 


More information about the scm-commits mailing list