commit 351baff518d7c5f02e83795958f610f21eace017
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Wed Jun 28 10:32:40 2017 +0200
Update to 1.61
.gitignore | 3 +--
ndiswrapper.spec | 21 ++++++++-------------
sources | 2 +-
3 files changed, 10 insertions(+), 16 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index de26292..52ae49b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1 @@
-/ndiswrapper-1.59.tar.gz
-/ndiswrapper-1.60.tar.gz
+ndiswrapper-*.tar.gz
diff --git a/ndiswrapper.spec b/ndiswrapper.spec
index e73c4a2..f7e7af1 100644
--- a/ndiswrapper.spec
+++ b/ndiswrapper.spec
@@ -2,13 +2,12 @@
Summary: Ndiswrapper wraps around Windows WLAN drivers within Linux
Name: ndiswrapper
-Version: 1.60
-Release: 3%{?pre}%{?dist}
+Version: 1.61
+Release: 1%{?pre}%{?dist}
License: GPLv2
Group: System Environment/Kernel
URL:
http://ndiswrapper.sourceforge.net
Source0:
http://downloads.sf.net/ndiswrapper/ndiswrapper-%{version}%{?pre}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Patch0: Fixed-compilation-issue-with-utils.patch
BuildRequires: perl-generators
@@ -35,23 +34,16 @@
http://ndiswrapper.sourceforge.net
%build
-make %{?_smp_mflags} -C utils CFLAGS="${RPM_OPT_FLAGS} -I`pwd`/driver"
+%make_build -C utils CFLAGS="%{optflags} -I`pwd`/driver"
%install
-rm -rf $RPM_BUILD_ROOT
-make -C utils DESTDIR=$RPM_BUILD_ROOT install
-mkdir -m755 -p $RPM_BUILD_ROOT/%{_sysconfdir}/ndiswrapper
-
-
-%clean
-rm -rf $RPM_BUILD_ROOT
+%make_install -C utils
+mkdir -m755 -p %{buildroot}%{_sysconfdir}/ndiswrapper
%files
-%defattr(0644,root,root,0755)
%doc README AUTHORS ChangeLog INSTALL
-%defattr(0755,root,root)
%dir %{_sysconfdir}/ndiswrapper
%{_sbindir}/ndiswrapper
/sbin/loadndisdriver
@@ -59,6 +51,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Wed Jun 28 2017 Nicolas Chauvet <kwizart(a)gmail.com> - 1.61-1
+- Update to 1.61
+
* Mon Mar 20 2017 RPM Fusion Release Engineering <kwizart(a)rpmfusion.org> - 1.60-3
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
diff --git a/sources b/sources
index c76f780..d3b7d83 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-c534d8d5b0c584fabf7d397f6922c5d4 ndiswrapper-1.60.tar.gz
+fe6056a87dfaa1ea7a4500919baf7905 ndiswrapper-1.61.tar.gz