[lyx/epel7] .spec cleanup: deprecated bits (Group:, %%defattr mostly)

Rex Dieter rdieter at fedoraproject.org
Fri Jul 18 17:02:38 UTC 2014


commit d647de112cb1b73abe662f060041105a7e781882
Author: Rex Dieter <rdieter at math.unl.edu>
Date:   Fri Jul 18 10:44:53 2014 -0500

    .spec cleanup: deprecated bits (Group:, %%defattr mostly)

 lyx.spec |   13 -------------
 1 files changed, 0 insertions(+), 13 deletions(-)
---
diff --git a/lyx.spec b/lyx.spec
index 557bbff..d060238 100644
--- a/lyx.spec
+++ b/lyx.spec
@@ -17,13 +17,10 @@ Version: 2.1.1
 Release: 1%{?dist}
 
 License: GPLv2+
-Group: 	 Applications/Publishing
 Url: 	 http://www.lyx.org/
 #Source0: ftp://ftp.lyx.org/pub/lyx/stable/2.1.x/lyx-%{version}.tar.xz
 Source0: ftp://ftp.lyx.org/pub/lyx/devel/lyx-2.1/lyx-%{version}/lyx-%{version}.tar.xz
 
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
 Source1: lyxrc.dist
 Source10: lyx.desktop
 
@@ -125,7 +122,6 @@ and let the computer take care of the rest.
 
 %package common
 Summary:  Common files of %{name}
-Group:    Applications/Publishing
 Requires: %{name} = %{version}-%{release}
 BuildArch: noarch
 %description common
@@ -133,7 +129,6 @@ BuildArch: noarch
 
 %package fonts
 Summary: Lyx/MathML fonts
-Group:   Applications/Publishing
 # The actual license says "The author of these fonts, Basil K. Malyshev, has
 # kindly granted permission to use and modify these fonts."
 # One of the font files (wasy10) is separately licensed GPL+.
@@ -187,8 +182,6 @@ make %{?_smp_mflags}
 
 
 %install
-rm -rf %{buildroot}
-
 make install DESTDIR=%{buildroot}
 
 # misc/extras
@@ -264,17 +257,11 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
 #fi
 
 
-%clean
-rm -rf %{buildroot}
-
-
 %files
-%defattr(-,root,root,-)
 %doc ANNOUNCE COPYING lib/CREDITS NEWS README
 %{_bindir}/*
 
 %files common -f %{name}.lang
-%defattr(-,root,root,-)
 %{_mandir}/man1/*
 %{_datadir}/applications/*.desktop
 %{_datadir}/icons/hicolor/*/*/*


More information about the scm-commits mailing list