[ORBit] Build with -fno-strict-aliasing
Paul Howarth
pghmcfc at fedoraproject.org
Tue Feb 10 10:29:21 UTC 2015
commit eac6d88f029a49f84300cd4264695906366767dc
Author: Paul Howarth <paul at city-fan.org>
Date: Tue Feb 10 10:28:47 2015 +0000
Build with -fno-strict-aliasing
- Build with -fno-strict-aliasing
- Drop %defattr, redundant since rpm 4.4
- Use %license where possible
ORBit.spec | 22 +++++++++++++++++-----
1 files changed, 17 insertions(+), 5 deletions(-)
---
diff --git a/ORBit.spec b/ORBit.spec
index c050995..a7fa1fb 100644
--- a/ORBit.spec
+++ b/ORBit.spec
@@ -1,7 +1,7 @@
Summary: CORBA Object Request Broker for GNOME-1 compatibility
Name: ORBit
Version: 0.5.17
-Release: 40%{?dist}
+Release: 41%{?dist}
Epoch: 1
URL: http://orbit-resource.sourceforge.net/
Source: http://ftp.acc.umu.se/pub/gnome/sources/ORBit/0.5/ORBit-0.5.17.tar.bz2
@@ -72,7 +72,11 @@ with GNOME-1 applications.
%patch6 -p1 -b .aarch64
%patch7 -b .format
+# Avoid documentation name conflicts
+cp -p libIDL/COPYING COPYING.libIDL
+
%build
+export CFLAGS="%{optflags} -fno-strict-aliasing"
%configure
# Kill bogus RPATHs
@@ -107,9 +111,13 @@ rm -rf %{buildroot}
[ $1 = 0 ] && /sbin/install-info --delete %{_infodir}/libIDL.info.gz %{_infodir}/dir || :
%files
-%defattr(-,root,root,-)
-%doc AUTHORS COPYING ChangeLog NEWS README TODO
-%doc libIDL/COPYING libIDL/ChangeLog libIDL/AUTHORS
+%if 0%{?_licensedir:1}
+%license COPYING COPYING.libIDL
+%else
+%doc COPYING COPYING.libIDL
+%endif
+%doc AUTHORS ChangeLog NEWS README TODO
+%doc libIDL/ChangeLog libIDL/AUTHORS
%doc libIDL/README libIDL/NEWS libIDL/BUGS libIDL/tstidl.c
# GPLv2+
%{_bindir}/name-client
@@ -124,7 +132,6 @@ rm -rf %{buildroot}
%{_libdir}/libORBitutil.so.*
%files devel
-%defattr(-,root,root,-)
# GPLv2+
%{_bindir}/orbit-idl
# LGPLv2+
@@ -147,6 +154,11 @@ rm -rf %{buildroot}
%{_datadir}/aclocal/libIDL.m4
%changelog
+* Tue Feb 10 2015 Paul Howarth <paul at city-fan.org> - 1:0.5.17-41
+- Build with -fno-strict-aliasing
+- Drop %%defattr, redundant since rpm 4.4
+- Use %%license where possible
+
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1:0.5.17-40
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
More information about the scm-commits
mailing list