mirror of
https://abf.rosa.ru/djam/thrift.git
synced 2025-02-23 17:32:46 +00:00
Name -devel according to ROSA policy (fix rpmlint errors)
This commit is contained in:
parent
f4710dfd30
commit
78cc0753e7
1 changed files with 8 additions and 4 deletions
12
thrift.spec
12
thrift.spec
|
@ -51,6 +51,8 @@
|
|||
# ROSA: w/a problems with interlinking
|
||||
%define _disable_ld_no_undefined 1
|
||||
|
||||
%define devname %mklibname %{name} -d
|
||||
|
||||
Name: thrift
|
||||
Version: 0.10.0
|
||||
Release: 15
|
||||
|
@ -120,14 +122,16 @@ development combines a software stack with a code generation engine to
|
|||
build services that work efficiently and seamlessly between C++, Java,
|
||||
Python, %{?php_langname}and other languages.
|
||||
|
||||
%package devel
|
||||
%package -n %{devname}
|
||||
Summary: Development files for %{name}
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
Requires: pkgconfig
|
||||
Requires: boost-devel
|
||||
# compat with Fedora
|
||||
Provides: %{name}-devel
|
||||
|
||||
%description devel
|
||||
The %{name}-devel package contains libraries and header files for
|
||||
%description -n %{devname}
|
||||
This package contains libraries and header files for
|
||||
developing applications that use %{name}.
|
||||
|
||||
%package qt
|
||||
|
@ -467,7 +471,7 @@ find %{buildroot} -name \*.py -exec grep -q /usr/bin/env {} \; -print | xargs -r
|
|||
%{_libdir}/libthriftqt.so
|
||||
%{_libdir}/libthriftqt-%{version}.so
|
||||
|
||||
%files devel
|
||||
%files -n %{devname}
|
||||
%{_includedir}/thrift
|
||||
%exclude %{_includedir}/thrift/fb303
|
||||
%{_libdir}/*.so
|
||||
|
|
Loading…
Add table
Reference in a new issue