[fuse-exfat] Modernize spec file

Patrick Griffis tingping at rpmfusion.org
Tue Aug 16 18:40:50 CEST 2016


commit 9877e52266bce8b09262927891bf1b3b64507581
Author: Patrick Griffis <tingping at tingping.se>
Date:   Tue Aug 16 12:31:40 2016 -0400

    Modernize spec file

 fuse-exfat.spec | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/fuse-exfat.spec b/fuse-exfat.spec
index 8f9c31a..bbbcb66 100644
--- a/fuse-exfat.spec
+++ b/fuse-exfat.spec
@@ -1,12 +1,12 @@
 Name:           fuse-exfat
 Summary:        Free exFAT file system implementation
 Version:        1.2.4
-Release:        1%{?dist}
+Release:        2%{?dist}
 License:        GPLv2+
 Group:          System Environment/Base
 Source0:        https://github.com/relan/exfat/releases/download/v%{version}/fuse-exfat-%{version}.tar.gz
 URL:            https://github.com/relan/exfat
-BuildRequires:  fuse-devel
+BuildRequires:  pkgconfig(fuse)
 
 %description
 This driver is the first free exFAT file system implementation with write
@@ -15,26 +15,26 @@ to replace FAT32 removing some of it's limitations. exFAT is a standard FS
 for SDXC memory cards.
 
 %prep
-%setup -q
+%autosetup
 
 %build
 %configure
-
-make %{?_smp_mflags}
-
+%make_build
 
 %install
-make install DESTDIR="$RPM_BUILD_ROOT"
+%make_install
 ln -s %{_mandir}/man8/mount.exfat-fuse.8.gz %{buildroot}%{_mandir}/man8/mount.exfat.8.gz
 
-
 %files
-%doc COPYING
+%license COPYING
 %{_sbindir}/mount.exfat-fuse
 %{_sbindir}/mount.exfat
 %{_mandir}/man8/*
 
 %changelog
+* Tue Aug 16 2016 Patrick Griffis <tingping at tingping.se> - 1.2.4-2
+- Modernize spec file
+
 * Sun Jul 24 2016 Patrick Griffis <tingping at tingping.se> - 1.2.4-1
 - Update to 1.2.4
 


More information about the rpmfusion-commits mailing list