commit f20dd951aa50a972f5e087628a2680b439bdaee2
Author: Elan Ruusamäe <[email protected]>
Date:   Tue Jan 14 23:41:03 2014 +0200

    up to 1.0.5, dracut subpackage

 bcache-tools.spec | 30 +++++++++++++++++++++++++-----
 1 file changed, 25 insertions(+), 5 deletions(-)
---
diff --git a/bcache-tools.spec b/bcache-tools.spec
index caf3d8f..cd1ca6e 100644
--- a/bcache-tools.spec
+++ b/bcache-tools.spec
@@ -1,12 +1,12 @@
 Summary:       Userspace tools for bcache
 Summary(pl.UTF-8):     Narzędzia przestrzeni użytkownika do bcache
 Name:          bcache-tools
-Version:       1.0.4
+Version:       1.0.5
 Release:       1
 License:       GPL v2
 Group:         Applications/System
 Source0:       
https://github.com/g2p/bcache-tools/archive/v%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: 1d510401744326ae7c813dc1eb927642
+# Source0-md5: 5f013fa499d1923a5bf282b59fbcf7ba
 URL:           http://bcache.evilpiepirate.org/
 BuildRequires: libblkid-devel
 BuildRequires: libuuid-devel
@@ -27,6 +27,19 @@ mechanizm bcache.
 Bcache to łata na jądro Linuksa, pozwalająca wykorzystywać dyski SSD
 jako pamięć podręczną dla innych urządzeń blokowych.
 
+%package -n dracut-bcache
+Summary:       bcache support for Dracut
+Summary(pl.UTF-8):     Obsługa bcache dla Dracuta
+Group:         Applications/System
+Requires:      %{name} = %{version}-%{release}
+Requires:      dracut
+
+%description -n dracut-bcache
+bcache support for Dracut.
+
+%description -n dracut-bcache -l pl.UTF-8
+Obsługa bcache dla Dracuta.
+
 %prep
 %setup -q
 
@@ -42,6 +55,13 @@ install -d 
$RPM_BUILD_ROOT{%{_sbindir},/lib/udev/rules.d,%{_datadir}/initramfs-t
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
+# not supported in pld
+# initramfs-tools subpackage?
+%{__rm} $RPM_BUILD_ROOT%{_datadir}/initramfs-tools/hooks/bcache
+
+# not supported in pld
+%{__rm} $RPM_BUILD_ROOT%{_prefix}/lib/initcpio/install/bcache
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -56,8 +76,8 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man8/bcache-super-show.8*
 %{_mandir}/man8/make-bcache.8*
 %{_mandir}/man8/probe-bcache.8*
-# dracut subpackage?
+
+%files -n dracut-bcache
+%defattr(644,root,root,755)
 %dir /lib/dracut/modules.d/90bcache
 %attr(755,root,root) /lib/dracut/modules.d/90bcache/module-setup.sh
-# initramfs-tools subpackage?
-%attr(755,root,root) %{_datadir}/initramfs-tools/hooks/bcache
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/bcache-tools.git/commitdiff/0da02813bfc4a177c514186f268b6708a7af5668

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to