rdieter pushed to lyx (master). "2.1.3-4 (..more)"

notifications at fedoraproject.org notifications at fedoraproject.org
Wed May 20 11:29:34 UTC 2015


From 70cef0edcdb1d8929bf960cdd6397deef147c5eb Mon Sep 17 00:00:00 2001
From: Rex Dieter <rdieter at math.unl.edu>
Date: Wed, 20 May 2015 06:29:12 -0500
Subject: 2.1.3-4

- epel7 fixes
- don't own %_datadir/appdata
- %check: validate appdata

diff --git a/lyx.spec b/lyx.spec
index 92ed347..8a38b67 100644
--- a/lyx.spec
+++ b/lyx.spec
@@ -17,7 +17,7 @@ BuildRequires: fontpackages-devel
 Summary: WYSIWYM (What You See Is What You Mean) document processor
 Name:	 lyx
 Version: 2.1.3
-Release: 3%{?dist}
+Release: 4%{?dist}
 
 License: GPLv2+
 Url: 	 http://www.lyx.org/
@@ -66,7 +66,9 @@ BuildRequires: texlive-fonts
 BuildRequires: tex(dvips)
 BuildRequires: tex(latex)
 BuildRequires: zlib-devel
+%if 0%{?fedora} > 20
 BuildRequires: libappstream-glib
+%endif
 
 Requires(post): texlive
 Requires(postun): texlive
@@ -234,6 +236,7 @@ appstream-util replace-screenshots %{buildroot}%{_datadir}/appdata/lyx.appdata.x
 
 
 %check
+appstream-util validate-relax --nonet %{buildroot}%{_datadir}/appdata/%{name}.appdata.xml ||:
 # tests/test_filetools error bogus ( see http://bugzilla.redhat.com/723938 )
 make -k check ||:
 
@@ -281,7 +284,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
 %ghost %{_datadir}/lyx/lyxrc.defaults
 %ghost %{_datadir}/lyx/*.lst
 %{_datadir}/texmf/tex/latex/lyx/
-%{_datadir}/appdata/
+%{_datadir}/appdata/lyx.appdata.xml
 %{_sysconfdir}/bash_completion.d/lyx
 
 %_font_pkg
@@ -292,6 +295,11 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
 
 
 %changelog
+* Wed May 20 2015 Rex Dieter <rdieter at fedoraproject.org> - 2.1.3-4
+- epel7 fixes
+- don't own %%_datadir/appdata
+- %%check: validate appdata
+
 * Mon May 18 2015 Rex Dieter <rdieter at fedoraproject.org> 2.1.3-3
 - backport gcc5 fix (#1209353)
 
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/lyx.git/commit/?h=master&id=70cef0edcdb1d8929bf960cdd6397deef147c5eb


More information about the scm-commits mailing list