From 796ff677d7ed1bdd2fb8d3b48572dba6a8e111f6 Mon Sep 17 00:00:00 2001 From: Ronan Le Martret Date: Thu, 3 Jul 2014 08:41:24 +0200 Subject: [PATCH] Clean spec file for yocto compliance. Change-Id: I7e751a2f3dafdf3bdf2059a5aaaba968a4f7e87f Signed-off-by: Ronan Le Martret --- packaging/fdupes.spec | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/packaging/fdupes.spec b/packaging/fdupes.spec index 6ec07c0..c3d1881 100644 --- a/packaging/fdupes.spec +++ b/packaging/fdupes.spec @@ -1,13 +1,13 @@ Name: fdupes Version: 1.40 -Release: 42.66 -License: X11/MIT +Release: 0 +License: MIT Summary: Identifying or deleting duplicate files Url: http://premium.caribe.net/~adrian2/fdupes.html -Group: Productivity/Archiving/Compression +Group: Base/Compression Source0: %{name}-%{version}.tar.bz2 Source1: macros.fdupes -Source1001: fdupes.manifest +Source1001: fdupes.manifest %description FDUPES is a program for identifying or deleting duplicate files @@ -21,8 +21,8 @@ cp %{SOURCE1001} . make %install -install -D -m755 fdupes %{buildroot}/usr/bin/fdupes -install -D -m644 fdupes.1 %{buildroot}/usr/share/man/man1/fdupes.1 +install -D -m755 fdupes %{buildroot}%{_bindir}/fdupes +install -D -m644 fdupes.1 %{buildroot}%{_mandir}/man1/fdupes.1 install -D -m644 %{SOURCE1} %{buildroot}%{_sysconfdir}/rpm/macros.fdupes %files @@ -31,5 +31,4 @@ install -D -m644 %{SOURCE1} %{buildroot}%{_sysconfdir}/rpm/macros.fdupes %doc CHANGES %{_bindir}/fdupes %{_mandir}/*/* -%{_sysconfdir}/rpm - +%config %{_sysconfdir}/rpm -- 2.7.4