diff --git a/.gitignore b/.gitignore index 3d0f86e..7aaec0f 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /libblockdev-0.1.tar.gz +/libblockdev-0.2.tar.gz diff --git a/libblockdev.spec b/libblockdev.spec index 2aa64e6..d1af988 100644 --- a/libblockdev.spec +++ b/libblockdev.spec @@ -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 - 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 - 0.1-1 - Initial release diff --git a/sources b/sources index 21c17f2..7efbf7a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -612ee95ac52a8a912a0eefbf7f6a6fa5 libblockdev-0.1.tar.gz +ff2c2217bee1456a34b6a3d8d6a81ac0 libblockdev-0.2.tar.gz