New version

- Fix dependencies of the release target (vpodzime)
- Python overrides for the GI-generated bindings (vpodzime)
- Pass version info to the code and use it to load plugins (vpodzime)
This commit is contained in:
Vratislav Podzimek 2015-01-12 18:14:03 +01:00
parent 95c9391807
commit eb93ef9203
3 changed files with 13 additions and 3 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
/libblockdev-0.1.tar.gz
/libblockdev-0.2.tar.gz

View File

@ -1,5 +1,5 @@
Name: libblockdev
Version: 0.1
Version: 0.2
Release: 1%{?dist}
Summary: A library for low-level manipulation with block devices
License: LGPLv2+
@ -13,6 +13,8 @@ BuildRequires: cryptsetup-devel
BuildRequires: device-mapper-devel
BuildRequires: systemd-devel
BuildRequires: dmraid-devel
BuildRequires: python2-devel
BuildRequires: python3-devel
%description
@ -227,7 +229,7 @@ A meta-package that pulls all the libblockdev plugins as dependencies.
CFLAGS="%{optflags}" make %{?_smp_mflags}
%install
CFLAGS="%{optflags}" make PREFIX=%{buildroot} %{?_smp_mflags} install
CFLAGS="%{optflags}" make PREFIX=%{buildroot} SITEDIRS=%{buildroot}%{python2_sitearch},%{buildroot}%{python3_sitearch} %{?_smp_mflags} install
%clean
rm -rf %{buildroot}
@ -258,6 +260,8 @@ rm -rf %{buildroot}
%{_libdir}/libblockdev.so.*
%{_libdir}/girepository*/BlockDev*.typelib
%{_datadir}/gir*/BlockDev*.gir
%{python2_sitearch}
%{python3_sitearch}
%files devel
%{_libdir}/libblockdev.so
@ -342,5 +346,10 @@ rm -rf %{buildroot}
%files plugins-all
%changelog
* Mon Jan 12 2015 Vratislav Podzimek <vpodzime@redhat.com> - 0.2-1
- Fix dependencies of the release target (vpodzime)
- Python overrides for the GI-generated bindings (vpodzime)
- Pass version info to the code and use it to load plugins (vpodzime)
* Wed Dec 10 2014 Vratislav Podzimek <vpodzime@redhat.com> - 0.1-1
- Initial release

View File

@ -1 +1 @@
612ee95ac52a8a912a0eefbf7f6a6fa5 libblockdev-0.1.tar.gz
ff2c2217bee1456a34b6a3d8d6a81ac0 libblockdev-0.2.tar.gz