<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>29737</bug_id>
          
          <creation_ts>2014-01-17 15:20:21 +0400</creation_ts>
          <short_desc>Разрешить &quot;+&quot; в имени файла *.pc</short_desc>
          <delta_ts>2014-02-25 16:55:29 +0400</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>rpm-build</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>29716</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Slava Dubrovskiy">dubrsl</reporter>
          <assigned_to name="placeholder@altlinux.org">placeholder</assigned_to>
          <cc>arseny</cc>
    
    <cc>glebfm</cc>
    
    <cc>imz</cc>
    
    <cc>ldv</cc>
    
    <cc>placeholder</cc>
    
    <cc>vt</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>144695</commentid>
    <comment_count>0</comment_count>
    <who name="Slava Dubrovskiy">dubrsl</who>
    <bug_when>2014-01-17 15:20:21 +0400</bug_when>
    <thetext>огласно https://bugzilla.altlinux.org/show_bug.cgi?id=29716
решил обновить пакет directfb до последней
стабильной версии 1.7.1

Во время сборки получил вот такую ошибку:

Processing files: libdirectfb-devel-1.7.1-alt1
Finding Provides (using /usr/lib/rpm/find-provides)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.vEILLZ
find-provides: running scripts
(alternatives,debuginfo,lib,pam,perl,pkgconfig,python,shell)
pkgconfig.prov: ERROR:
/usr/src/tmp/directfb-buildroot/usr/lib64/pkgconfig/++dfb.pc: invalid
pkg-config output: ++dfb = 1.7.1
find-provides: ERROR: /usr/lib/rpm/pkgconfig.prov failed
error: /bin/sh failed
error: Failed to find Provides

Содержимое /usr/lib64/pkgconfig/++dfb.pc :

prefix=/usr
exec_prefix=/usr
libdir=/usr/lib64
includedir=/usr/include

Name: ++DFB

Description: C++ binding for DirectFB
Version: 1.7.1
Requires: directfb
Libs: -l++dfb
Cflags: -I/usr/include/++dfb 

Удаление ++ из имени файла ++dfb.pc решает проблему и /usr/lib/rpm/pkgconfig.prov отрабатывает нормально.

При этом сам pkgconfig не имеет таких ограничений.
Также в OpenSuSE и Mageia таких ограничений нет: http://rpmfind.net/linux/rpm2html/search.php?query=pkgconfig%28%2B%2Bdfb%29 

Т.к. имя ++dfb.pc задается апстримом и все зависящие пакеты его используют во всех дистрибутивах без проблем, то прошу убрать данное ограничение и в АЛЬТ.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>145489</commentid>
    <comment_count>1</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2014-02-25 16:55:29 +0400</bug_when>
    <thetext>rpm-4.0.4-alt100.77 -&gt; sisyphus:

* Tue Feb 25 2014 Dmitry V. Levin &lt;ldv@altlinux&gt; 4.0.4-alt100.77
- fixup-binconfig:
  extended library search path stripping algorithm to handle rpaths.
- pkgconfig.{req,prov}:
  allowed pkgconfig names to start with &quot;+&quot; (closes: #29737).</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>