Ship license as per packaging guidelines, plugins-all should depend on base library too, Add dev docs
This commit is contained in:
parent
1cd17fa03a
commit
d95486968e
@ -1,6 +1,6 @@
|
||||
Name: libblockdev
|
||||
Version: 0.7
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: A library for low-level manipulation with block devices
|
||||
License: LGPLv2+
|
||||
URL: https://github.com/vpodzime/libblockdev
|
||||
@ -213,6 +213,7 @@ with the libblockdev-swap plugin/library.
|
||||
|
||||
%package plugins-all
|
||||
Summary: Meta-package that pulls all the libblockdev plugins as dependencies
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
Requires: %{name}-btrfs%{?_isa} = %{version}-%{release}
|
||||
Requires: %{name}-crypto%{?_isa} = %{version}-%{release}
|
||||
Requires: %{name}-dm%{?_isa} = %{version}-%{release}
|
||||
@ -235,8 +236,6 @@ CFLAGS="%{optflags}" make %{?_smp_mflags}
|
||||
%install
|
||||
CFLAGS="%{optflags}" make PREFIX=%{buildroot} SITEDIRS=%{buildroot}%{python2_sitearch},%{buildroot}%{python3_sitearch} %{?_smp_mflags} install
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
%postun -p /sbin/ldconfig
|
||||
@ -261,6 +260,8 @@ rm -rf %{buildroot}
|
||||
|
||||
|
||||
%files
|
||||
%{!?_licensedir:%global license %%doc}
|
||||
%license LICENSE
|
||||
%{_libdir}/libblockdev.so.*
|
||||
%{_libdir}/girepository*/BlockDev*.typelib
|
||||
%{_datadir}/gir*/BlockDev*.gir
|
||||
@ -268,6 +269,7 @@ rm -rf %{buildroot}
|
||||
%{python3_sitearch}
|
||||
|
||||
%files devel
|
||||
%doc features.rst specs.rst
|
||||
%{_libdir}/libblockdev.so
|
||||
%{_includedir}/blockdev
|
||||
%{_includedir}/blockdev/blockdev.h
|
||||
@ -361,6 +363,11 @@ rm -rf %{buildroot}
|
||||
%files plugins-all
|
||||
|
||||
%changelog
|
||||
* Sun Mar 22 2015 Peter Robinson <pbrobinson@fedoraproject.org> 0.7-2
|
||||
- Ship license as per packaging guidelines
|
||||
- plugins-all should depend on base library too
|
||||
- Add dev docs
|
||||
|
||||
* Fri Feb 27 2015 Vratislav Podzimek <vpodzime@redhat.com> - 0.7-1
|
||||
- Be ready for mdadm --examine to not provide some of the values we want (vpodzime)
|
||||
- Add exit code information to exec logging (vpodzime)
|
||||
|
Loading…
Reference in New Issue
Block a user