Ignore:
Timestamp:
Jan 15, 2019, 11:14:10 PM (7 years ago)
Author:
dmik
Message:

spec: binutils: Release version 2.27-3.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • spec/trunk/SPECS/binutils.spec

    r1192 r1558  
    4848Name: %{?cross}binutils%{?_with_debug:-debug}
    4949Version: 2.27
    50 Release: 2%{?dist}
     50Release: 3%{?dist}
    5151License: GPLv3+
    5252Group: Development/Tools
     
    8181%endif
    8282
    83 BuildRequires: gcc
     83BuildRequires: gcc make autoconf automake libtool
    8484
    8585# Gold needs bison in order to build gold/yyscript.c.
     
    115115
    116116# The higher of these two numbers determines the default ld.
    117 %{!?ld_bfd_priority: %define ld_bfd_priority    50}
    118 %{!?ld_gold_priority:%define ld_gold_priority   30}
     117%{!?ld_bfd_priority: %global ld_bfd_priority    50}
     118%{!?ld_gold_priority:%global ld_gold_priority   30}
    119119
    120120%if "%{build_gold}" == "both"
     
    156156Requires: coreutils
    157157
     158# To avoid header clashes (demangle.h etc)
     159Requires: libc-devel >= 0.6.6-40
     160
    158161%description devel
    159162This package contains BFD and opcodes static and dynamic libraries.
     
    312315%endif
    313316
    314 #install -m 644 bfd/libbfd.a %{buildroot}%{_libdir}
    315 #install -m 644 libiberty/libiberty.a %{buildroot}%{_libdir}
     317# Install libiberty stuff as we provide it
     318install -m 644 libiberty/libiberty.a %{buildroot}%{_libdir}
    316319install -m 644 include/libiberty.h %{buildroot}%{_prefix}/include
    317 #install -m 644 opcodes/libopcodes.a %{buildroot}%{_libdir}
     320install -m 644 include/demangle.h %{buildroot}%{_prefix}/include
     321install -m 644 include/dyn-string.h %{buildroot}%{_prefix}/include
     322install -m 644 include/fibheap.h %{buildroot}%{_prefix}/include
     323install -m 644 include/floatformat.h %{buildroot}%{_prefix}/include
     324install -m 644 include/hashtab.h %{buildroot}%{_prefix}/include
     325install -m 644 include/objalloc.h %{buildroot}%{_prefix}/include
     326install -m 644 include/partition.h %{buildroot}%{_prefix}/include
     327install -m 644 include/sort.h %{buildroot}%{_prefix}/include
     328install -m 644 include/splay-tree.h %{buildroot}%{_prefix}/include
     329
    318330# Remove Windows/Novell only man pages
    319331rm -f %{buildroot}%{_mandir}/man1/dlltool*
     
    429441%endif
    430442%{_mandir}/man1/*
    431 %{_infodir}/as.info.gz
    432 %{_infodir}/binutils.info.gz
    433 %{_infodir}/gprof.info.gz
    434 #%{_infodir}/ld.info.gz
    435443%if %{enable_shared}
    436444%{_libdir}/*.dll
     
    446454%defattr(-,root,root,-)
    447455%{_prefix}/include/*
    448 %{_libdir}/*_dll.a
     456%{_libdir}/*.a
    449457%if %{with docs}
    450458%{_infodir}/bfd*info*
     
    454462
    455463%changelog
     464* Tue Jan 15 2019 Dmitriy Kuminov <coding@dmik.org> 2.27-3
     465- Restore installation of libiberty.a (broken by 2.25-1).
     466- Install all libibetry headers.
     467
    456468* Thu Jun 15 2017 Silvan Scherrer <silvan.scherrer@aroa.ch> 2.27-2
    457469- fix ticket #165 (needs to be reverted after gcc issue #27 fix)
Note: See TracChangeset for help on using the changeset viewer.