SPECS: acerhk.spec - no kernel version in src.rpm name
arekm
arekm at pld-linux.org
Wed Oct 24 11:30:30 CEST 2007
Author: arekm Date: Wed Oct 24 09:30:30 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- no kernel version in src.rpm name
---- Files affected:
SPECS:
acerhk.spec (1.20 -> 1.21)
---- Diffs:
================================================================
Index: SPECS/acerhk.spec
diff -u SPECS/acerhk.spec:1.20 SPECS/acerhk.spec:1.21
--- SPECS/acerhk.spec:1.20 Fri Oct 12 14:49:43 2007
+++ SPECS/acerhk.spec Wed Oct 24 11:30:25 2007
@@ -3,23 +3,22 @@
# Conditional build:
%bcond_without dist_kernel # without distribution kernel
#
-%define _rel 7
+%define _rel 8
%define _orig_name acerhk
Summary: Linux driver for Acer notebook special Hot Keys
Summary(pl.UTF-8): Sterownik dla Linuksa obsługujący specjalne klawisze w notebookach Acer
-Name: kernel-misc-%{_orig_name}
+Name: %{_orig_name}
Version: 0.5.35
-Release: %{_rel}@%{_kernel_ver_str}
+Release: %{_rel}
License: GPL
Group: Base/Kernel
-Source0: http://www.cakey.de/acerhk/archives/%{_orig_name}-%{version}.tar.bz2
+Source0: http://www.cakey.de/acerhk/archives/%{name}-%{version}.tar.bz2
# Source0-md5: 551285657c8ba338f23595af257d21df
URL: http://www.cakey.de/acerhk/
BuildRequires: %{kgcc_package}
%{?with_dist_kernel:BuildRequires: kernel-module-build >= 3:2.6.20.2}
BuildRequires: rpmbuild(macros) >= 1.379
-%{?with_dist_kernel:%requires_releq_kernel}
Requires(post,postun): /sbin/depmod
ExclusiveArch: %{ix86}
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -33,8 +32,23 @@
Sterownik dla Linuksa pozwalający uaktywnić specjalne przyciski w
notebookach Acer.
+%package -n kernel%{_alt_kernel}-misc-acerhk
+Summary: Linux driver for Acer notebook special Hot Keys
+Summary(pl.UTF-8): Sterownik dla Linuksa obsługujący specjalne klawisze w notebookach Acer
+Release: %{_rel}@%{_kernel_ver_str}
+Group: Base/Kernel
+%{?with_dist_kernel:%requires_releq_kernel}
+Requires(post,postun): /sbin/depmod
+
+%description -n kernel%{_alt_kernel}-misc-acerhk
+This is a Linux driver for Acer notebook special Hot Keys.
+
+%description -n kernel%{_alt_kernel}-misc-acerhk -l pl.UTF-8
+Sterownik dla Linuksa pozwalający uaktywnić specjalne przyciski w
+notebookach Acer.
+
%prep
-%setup -q -n %{_orig_name}-%{version}
+%setup -q
%build
%build_kernel_modules -m %{modules}
@@ -47,13 +61,13 @@
%clean
rm -rf $RPM_BUILD_ROOT
-%post -n kernel-misc-%{_orig_name}
+%post -n kernel%{_alt_kernel}-misc-%{_orig_name}
%depmod %{_kernel_ver}
-%postun -n kernel-misc-%{_orig_name}
+%postun -n kernel%{_alt_kernel}-misc-%{_orig_name}
%depmod %{_kernel_ver}
-%files
+%files -n kernel%{_alt_kernel}-misc-%{_orig_name}
%defattr(644,root,root,755)
%doc NEWS INSTALL README doc/*
/lib/modules/%{_kernel_ver}/misc/*.ko*
@@ -64,6 +78,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.21 2007/10/24 09:30:25 arekm
+- no kernel version in src.rpm name
+
Revision 1.20 2007/10/12 12:49:43 arekm
- rel 7
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/acerhk.spec?r1=1.20&r2=1.21&f=u
More information about the pld-cvs-commit
mailing list