[packages/linux-fusion] - rel 2

2015-01-27 Thread baggins
commit bddc560999d18a1038b78d9799a0fb1c0fd6377b
Author: Jan Rękorajski 
Date:   Tue Jan 27 19:34:10 2015 +0100

- rel 2

 linux-fusion.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/linux-fusion.spec b/linux-fusion.spec
index ca944e4..5a1a31d 100644
--- a/linux-fusion.spec
+++ b/linux-fusion.spec
@@ -18,7 +18,7 @@ exit 1
 %define_enable_debug_packages  0
 %endif
 
-%definerel 1
+%definerel 2
 %definepname   linux-fusion
 Summary:   Fusion and One Linux kernel modules
 Summary(pl.UTF-8): Moduły Fusion i One dla jądra Linuksa


 gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/linux-fusion.git/commitdiff/bddc560999d18a1038b78d9799a0fb1c0fd6377b

___
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit


[packages/linux-fusion] - rel 2 - fix kernel packages

2013-01-21 Thread baggins
commit fb70470f5774a16c145eee432f07b059c654e942
Author: Jan Rękorajski 
Date:   Tue Jan 22 00:10:45 2013 +0100

- rel 2
- fix kernel packages

 linux-fusion.spec | 41 +
 1 file changed, 21 insertions(+), 20 deletions(-)
---
diff --git a/linux-fusion.spec b/linux-fusion.spec
index 4c984ea..2a859e2 100644
--- a/linux-fusion.spec
+++ b/linux-fusion.spec
@@ -9,11 +9,12 @@
 %undefine  with_dist_kernel
 %endif
 
+%definerel 2
+%definepname   linux-fusion
 Summary:   Fusion and One Linux kernel modules
 Summary(pl.UTF-8): Moduły Fusion i One dla jądra Linuksa
-Name:  linux-fusion
+Name:  %{pname}%{_alt_kernel}
 Version:   9.0.0
-%definerel 1
 Release:   %{rel}
 License:   GPL v2+
 Group: Base/Kernel
@@ -61,40 +62,40 @@ Plik nagłówkowy dla urządzenia IPC One.
 
 Linux One to nowe API IPC wykorzystywane przez Comę.
 
-%package -n kernel-char-fusion
+%package -n kernel%{_alt_kernel}-char-fusion
 Summary:   Fusion module for Linux kernel
 Summary(pl.UTF-8): Moduł Fusion dla jądra Linuksa
 Release:   %{rel}@%{_kernel_ver_str}
 Group: Base/Kernel
 Requires(post,postun): /sbin/depmod
 %if %{with dist_kernel}
-%requires_releq_kernel_up
-Requires(postun):  %releq_kernel_up
+%requires_releq_kernel
+Requires(postun):  %releq_kernel
 %endif
 
-%description -n kernel-char-fusion
+%description -n kernel%{_alt_kernel}-char-fusion
 Fusion module for Linux kernel.
 
-%description -n kernel-char-fusion -l pl.UTF-8
+%description -n kernel%{_alt_kernel}-char-fusion -l pl.UTF-8
 Moduł Fusion dla jądra Linuksa.
 
-%package -n kernel-one
+%package -n kernel%{_alt_kernel}-misc-one
 Summary:   One IPC module for Linux kernel
 Summary(pl.UTF-8): Moduł IPC One dla jądra Linuksa
 Release:   %{rel}@%{_kernel_ver_str}
 Group: Base/Kernel
 Requires(post,postun): /sbin/depmod
 %if %{with dist_kernel}
-%requires_releq_kernel_up
-Requires(postun):  %releq_kernel_up
+%requires_releq_kernel
+Requires(postun):  %releq_kernel
 %endif
 
-%description -n kernel-one
+%description -n kernel%{_alt_kernel}-misc-one
 One IPC module for Linux kernel.
 
 Linux One is the new IPC API used by Coma.
 
-%description -n kernel-one -l pl.UTF-8
+%description -n kernel%{_alt_kernel}-misc-one -l pl.UTF-8
 Moduł IPC One dla jądra Linuksa.
 
 Linux One to nowe API IPC wykorzystywane przez Comę.
@@ -131,22 +132,22 @@ install include/linux/one.h 
$RPM_BUILD_ROOT%{_includedir}/linux
 cd linux/drivers/char/fusion
 %install_kernel_modules -m fusion -d kernel/drivers/char
 cd ../../../../one
-%install_kernel_modules -m linux-one -d kernel
+%install_kernel_modules -m linux-one -d misc
 %endif
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post  -n kernel-char-fusion
+%post  -n kernel%{_alt_kernel}-char-fusion
 %depmod %{_kernel_ver}
 
-%postun-n kernel-char-fusion
+%postun-n kernel%{_alt_kernel}-char-fusion
 %depmod %{_kernel_ver}
 
-%post  -n kernel-one
+%post  -n kernel%{_alt_kernel}-misc-one
 %depmod %{_kernel_ver}
 
-%postun-n kernel-one
+%postun-n kernel%{_alt_kernel}-misc-one
 %depmod %{_kernel_ver}
 
 %if %{with userspace}
@@ -162,11 +163,11 @@ rm -rf $RPM_BUILD_ROOT
 %endif
 
 %if %{with kernel}
-%files -n kernel-char-fusion
+%files -n kernel%{_alt_kernel}-char-fusion
 %defattr(644,root,root,755)
 /lib/modules/%{_kernel_ver}/kernel/drivers/char/fusion.ko*
 
-%files -n kernel-one
+%files -n kernel%{_alt_kernel}-misc-one
 %defattr(644,root,root,755)
-/lib/modules/%{_kernel_ver}/kernel/linux-one.ko*
+/lib/modules/%{_kernel_ver}/misc/linux-one.ko*
 %endif


 gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/linux-fusion.git/commitdiff/fb70470f5774a16c145eee432f07b059c654e942

___
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit