]> git.pld-linux.org Git - packages/acpi_call.git/blobdiff - acpi_call.spec
one more alt_kernel fix
[packages/acpi_call.git] / acpi_call.spec
index e7871b6095922628384135cfa739989fb143b5e8..e81c3c5f01413cea12d27fa58b26ed14bffdf3da 100644 (file)
@@ -2,38 +2,27 @@
 # Conditional build:
 %bcond_without dist_kernel     # allow non-distribution kernel
 %bcond_without kernel          # don't build kernel modules
-%bcond_with    userspace       # don't build userspace programs
 %bcond_with    verbose         # verbose build (V=1)
 
 %if %{without kernel}
 %undefine      with_dist_kernel
 %endif
-%if "%{_alt_kernel}" != "%{nil}"
-%undefine      with_userspace
-%endif
-%if %{without userspace}
-# nothing to be placed to debuginfo package
-%define                _enable_debug_packages  0
-%endif
 
-#
-# main package.
-#
 %define                rel     0.3
 %define                pname   acpi_call
-%define                snap    20130705
 Summary:       A linux kernel module that enables calls to ACPI methods through /proc/acpi/call
-Name:          acpi_call%{_alt_kernel}
-Version:       %{snap}
-Release:       0.%{snap}.%{rel}
+Name:          %{pname}%{_alt_kernel}
+Version:       1.1.0
+Release:       %{rel}
 License:       GPL v2
 Group:         Base/Kernel
-# snap from "git clone https://github.com/mkottman/acpi_call.git"
-Source0:       http://sls.warszawa.pl/%{name}-%{version}.tar.gz
-# Source0-md5: f4eb8bb4d4413a5ae65aa7d77f4112c0
+Source0:       https://github.com/mkottman/acpi_call/archive/v%{version}/%{pname}-%{version}.tar.gz
+# Source0-md5: f69d40e130b0e5ed17ce8adb19e6dda1
 URL:           https://github.com/mkottman/acpi_call
 %if %{with kernel}
-%{?with_dist_kernel:BuildRequires:     kernel%{_alt_kernel}-module-build >= 3:2.6.20.2}
+%if %{with dist_kernel}
+BuildRequires: kernel%{_alt_kernel}-module-build >= 3:2.6.20.2
+%endif
 BuildRequires: rpmbuild(macros) >= 1.379
 %endif
 ExclusiveArch: %{ix86} %{x8664}
@@ -45,7 +34,7 @@ A linux kernel module that enables calls to ACPI methods through
 
 %package -n kernel%{_alt_kernel}-misc-acpi_call
 Summary:       A linux kernel module that enables calls to ACPI methods through /proc/acpi/call
-Release:       0.%{snap}.%{rel}@%{_kernel_ver_str}
+Release:       %{rel}@%{_kernel_ver_str}
 Group:         Base/Kernel
 Requires(post,postun): /sbin/depmod
 %if %{with dist_kernel}
@@ -58,7 +47,7 @@ A linux kernel module that enables calls to ACPI methods through
 /proc/acpi/call
 
 %prep
-%setup -q -n acpi_call
+%setup -q
 
 %build
 %if %{with kernel}
This page took 0.060209 seconds and 4 git commands to generate.