Fix FTBFS, use %%license
This commit is contained in:
parent
40cfbfab5c
commit
65d54decc8
@ -1,12 +1,20 @@
|
|||||||
Name: babeltrace
|
Name: babeltrace
|
||||||
Version: 1.2.1
|
Version: 1.2.1
|
||||||
Release: 4%{?dist}
|
Release: 5%{?dist}
|
||||||
|
Summary: Trace Viewer and Converter, mainly for the Common Trace Format
|
||||||
License: MIT and GPLv2
|
License: MIT and GPLv2
|
||||||
URL: http://www.efficios.com/babeltrace
|
URL: http://www.efficios.com/babeltrace
|
||||||
Source0: http://www.efficios.com/files/%{name}/%{name}-%{version}.tar.bz2
|
Source0: http://www.efficios.com/files/%{name}/%{name}-%{version}.tar.bz2
|
||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
Summary: Trace Viewer and Converter, mainly for the Common Trace Format
|
|
||||||
BuildRequires: pkgconfig bison flex glib2-devel popt-devel libuuid-devel libtool
|
BuildRequires: bison
|
||||||
|
BuildRequires: flex
|
||||||
|
BuildRequires: glib2-devel
|
||||||
|
BuildRequires: libuuid-devel
|
||||||
|
BuildRequires: libtool autoconf automake
|
||||||
|
BuildRequires: popt-devel
|
||||||
|
# For check
|
||||||
|
BuildRequires: perl-Test-Harness
|
||||||
Requires: lib%{name}%{?_isa} = %{version}-%{release}
|
Requires: lib%{name}%{?_isa} = %{version}-%{release}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -41,7 +49,7 @@ to/from another trace format.
|
|||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{version}
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
#Re-run libtoolize and autoreconf to remove rpath
|
#Re-run libtoolize and autoreconf to remove rpath
|
||||||
@ -56,20 +64,20 @@ make check
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
make DESTDIR=%{buildroot} install
|
make DESTDIR=%{buildroot} install
|
||||||
rm -vf %{buildroot}%{_libdir}/*.la
|
find %{buildroot} -type f -name "*.la" -delete
|
||||||
|
|
||||||
%post -n lib%{name} -p /sbin/ldconfig
|
%post -n lib%{name} -p /sbin/ldconfig
|
||||||
%postun -n lib%{name} -p /sbin/ldconfig
|
%postun -n lib%{name} -p /sbin/ldconfig
|
||||||
|
|
||||||
%files
|
%files
|
||||||
|
%doc ChangeLog
|
||||||
%{_bindir}/%{name}*
|
%{_bindir}/%{name}*
|
||||||
%doc ChangeLog LICENSE gpl-2.0.txt mit-license.txt
|
|
||||||
|
|
||||||
%{_mandir}/man1/*.1*
|
%{_mandir}/man1/*.1*
|
||||||
|
|
||||||
%files -n lib%{name}
|
%files -n lib%{name}
|
||||||
|
%{!?_licensedir:%global license %%doc}
|
||||||
|
%license LICENSE gpl-2.0.txt mit-license.txt
|
||||||
%{_libdir}/*.so.*
|
%{_libdir}/*.so.*
|
||||||
%doc ChangeLog LICENSE gpl-2.0.txt mit-license.txt
|
|
||||||
|
|
||||||
%files -n lib%{name}-devel
|
%files -n lib%{name}-devel
|
||||||
%{_prefix}/include/*
|
%{_prefix}/include/*
|
||||||
@ -78,6 +86,9 @@ rm -vf %{buildroot}%{_libdir}/*.la
|
|||||||
%{_libdir}/pkgconfig/babeltrace-ctf.pc
|
%{_libdir}/pkgconfig/babeltrace-ctf.pc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Jul 19 2015 Peter Robinson <pbrobinson@fedoraproject.org> 1.2.1-5
|
||||||
|
- Fix FTBFS, use %%license
|
||||||
|
|
||||||
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.1-4
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.1-4
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user