https://bugzilla.redhat.com/show_bug.cgi?id=1239067

Michael Schwendt (Fedora Packager Sponsors Group) <[email protected]> 
changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|[email protected]    |[email protected]
              Flags|                            |fedora-review?



--- Comment #1 from Michael Schwendt (Fedora Packager Sponsors Group) 
<[email protected]> ---
> Name:           libaudclient
> Group:          Development/Libraries

The Group tag for runtime libraries has been "System Environment/Libraries" for
many years. Nowadays the Group tag is obsolete:
https://fedoraproject.org/wiki/Packaging:Guidelines#Group_tag


> BuildRequires:  autoconf
> BuildRequires:  automake

Not needed.


> %description
> audacious D-Bus remote control library

The player is called "Audacious" with upper-case 'A' - except for the logo and
file names.


> %package    -n  libaudclient-devel
> Summary:        Development files for libaudclient
> Group:          Development/Libraries/C and C++

Red Hat and Fedora have used group "Development/Libraries" for -devel packages
for many years.


> Requires:       %{name} = %{version}-%{release}

https://fedoraproject.org/wiki/Packaging:Guidelines#Requiring_Base_Package


> %description -n libaudclient-devel
> Development files for libaudclient (to communicate with audacious)

As above.


> ### corrects version mismatch
> sed '/^version/cversion=%{version}' -i audclient.pc

If the comment explained *why* it does that, it would be a better comment. Now
there's a version mismatch in the file, because there are two different
versions and two different ways to retrieve those versions:

  $ grep ^version /usr/lib64/pkgconfig/audclient.pc 
  version=3.5
  $ pkg-config --variable=version audclient
  3.5

  $ grep ^Version /usr/lib64/pkgconfig/audclient.pc 
  Version: 3.5-rc2
  $ pkg-config --atleast-version=3.5 audclient && echo "yes"
  yes
  $ pkg-config --atleast-version=3.5-rc2 audclient && echo "yes"
  yes
  $ pkg-config --atleast-version=3.5-rc3 audclient && echo "yes"
  $


> %build
> %configure
> make %{?_smp_mflags}

Build output is non-verbose. One cannot see which compiler/linker flags are
used. You can insert

  sed -i '\,^.SILENT:,d' buildsys.mk.in

before %configure to fix that. Audacious does that for years, too. ;-)


> %files -n libaudclient-devel
> %dir %{_includedir}/audacious/

Directory ownership is okay, since package audacious-devel is not needed for
installing libaudclient-devel.

[...]

As for the runtime, last audtty in Fedora rebuilds and seems to run with this.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/package-review

Reply via email to