[jfsutils] Install in /usr to satisfy "Fedora packages MUST NOT place files or directories in the /bin, /sbin,

François Cami fcami at fedoraproject.org
Thu Sep 5 11:59:36 UTC 2013


commit 70afba66bef45479bfce98482755c84fd646d4f5
Author: François Cami <fcami at fedoraproject.org>
Date:   Thu Sep 5 13:59:14 2013 +0200

    Install in /usr to satisfy "Fedora packages MUST NOT place files or directories in the /bin, /sbin, /lib or /lib64 directories."

 jfsutils.spec |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/jfsutils.spec b/jfsutils.spec
index 28fa088..a38b88c 100644
--- a/jfsutils.spec
+++ b/jfsutils.spec
@@ -1,7 +1,7 @@
 Summary: Utilities for managing the JFS filesystem
 Name: jfsutils
 Version: 1.1.15
-Release: 1%{?dist}
+Release: 2%{?dist}
 Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
 Patch0: jfsutils-1.1.15_stdint.patch
 URL: http://jfs.sourceforge.net/
@@ -28,7 +28,7 @@ find . -type f -name *.[ch] -exec chmod -x {} \;
 %patch0 -p1
 
 %build
-%configure --sbindir=/sbin
+%configure 
 make %{?_smp_mflags}
 
 %install
@@ -40,11 +40,14 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(-,root,root)
-/sbin/*
+%{_sbindir}/*
 %{_mandir}/man8/*
 %doc AUTHORS COPYING NEWS ChangeLog
 
 %changelog
+* Thu Sep 05 2013 François Cami <fcami at fedoraproject.org> - 1.1.15-2
+- Install in /usr
+
 * Mon Sep 02 2013 François Cami <fcami at fedoraproject.org> - 1.1.15-1
 - Update to latest upstream.
 


More information about the scm-commits mailing list