corsepiu pushed to SimGear (master). "Rebuild for Gcc-5.0.1 (FTBFS, RHBZ#1212686). (..more)"

notifications at fedoraproject.org notifications at fedoraproject.org
Fri Apr 17 06:19:11 UTC 2015


>From 45cc5459303e1f0b8e5262d175c8d2e90a301a04 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ralf=20Cors=C3=A9pius?= <corsepiu at fedoraproject.org>
Date: Fri, 17 Apr 2015 08:18:55 +0200
Subject: Rebuild for Gcc-5.0.1 (FTBFS, RHBZ#1212686).

- Modernize spec.
- Add %license.

diff --git a/SimGear.spec b/SimGear.spec
index 19b45ef..401571e 100644
--- a/SimGear.spec
+++ b/SimGear.spec
@@ -1,12 +1,10 @@
 Name:           SimGear
 Version:        3.4.0
-Release:        1%{?dist}
+Release:        2%{?dist}
 License:        GPLv2+
-Group:          System Environment/Libraries
 Summary:        Simulation library components
 URL:            http://simgear.sourceforge.net
 Source0:        http://mirrors.ibiblio.org/simgear/ftp/Source/simgear-%{version}.tar.bz2
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 Patch1:         0001-remove-unneeded-header.patch
 Patch2:         0002-check-to-be-sure-that-n-is-not-being-set-as-format-t.patch
 Patch4:         simgear-aarch64.patch
@@ -25,7 +23,6 @@ blocks for quickly assembling 3d simulations, games, and visualization
 applications.
 
 %package devel
-Group: Development/Libraries
 Summary: Development libraries and headers for SimGear
 Requires: %{name} = %{version}-%{release}
 Requires: plib-devel, libjpeg-devel, zlib-devel, libGL-devel
@@ -55,7 +52,6 @@ rm -rf simgear/xml/*.h simgear/xml/*.c
 make %{?_smp_mflags}
 
 %install
-rm -rf $RPM_BUILD_ROOT
 make DESTDIR=$RPM_BUILD_ROOT install
 
 # These two headers have a useless conditional when they're not internal.
@@ -68,27 +64,28 @@ install -d $RPM_BUILD_ROOT%{_libdir}/cmake/SimGearCore
 mv -f $RPM_BUILD_ROOT%{_datadir}/SimGearCore/*.cmake \
     $RPM_BUILD_ROOT%{_libdir}/cmake/SimGearCore
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %post -p /sbin/ldconfig
 
 %postun -p /sbin/ldconfig
 
 %files
-%defattr(-,root,root,-)
-%doc COPYING AUTHORS NEWS
+%doc AUTHORS NEWS
+%license COPYING
 %{_libdir}/libSimGearCore.so.%{version}
 %{_libdir}/libSimGearScene.so.%{version}
 
 %files devel
-%defattr(-,root,root,-)
 %{_includedir}/simgear/
 %{_libdir}/libSimGearCore.so
 %{_libdir}/libSimGearScene.so
 %{_libdir}/cmake/SimGearCore
 
 %changelog
+* Fri Apr 17 2015 Ralf Corsépius <corsepiu at fedoraproject.org> - 3.4.0-2
+- Rebuild for Gcc-5.0.1 (FTBFS, RHBZ#1212686).
+- Modernize spec.
+- Add %%license.
+
 * Wed Mar 11 2015 Fabrice Bellet <fabrice at bellet.info> - 3.4.0-1
 - new upstream release
 - drop the JPEG_FACTORY build option
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/SimGear.git/commit/?h=master&id=45cc5459303e1f0b8e5262d175c8d2e90a301a04


More information about the scm-commits mailing list