From a35ddadd387f9f615fd8321c7cde60727b764822 Mon Sep 17 00:00:00 2001 From: David Cantrell Date: May 22 2010 01:35:54 +0000 Subject: - Spec file cleanups to comply with current packaging policies --- diff --git a/gpart.spec b/gpart.spec index c7c8919..64c77f0 100644 --- a/gpart.spec +++ b/gpart.spec @@ -1,7 +1,7 @@ Summary: A program for recovering corrupt partition tables Name: gpart Version: 0.1h -Release: 12%{?dist} +Release: 13%{?dist} License: GPLv2+ Group: Applications/System URL: http://www.stud.uni-hannover.de/user/76201/gpart/ @@ -17,7 +17,7 @@ Patch5: %{name}-0.1h-makefile.patch Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: glibc-kernheaders -ExclusiveArch: %{ix86} +ExclusiveArch: %{ix86} %description Gpart is a small tool which tries to guess what partitions are on a PC @@ -33,25 +33,28 @@ type harddisk in case the primary partition table was damaged. %patch5 -p1 -b .makefile %build -%{__make} %{?_smp_mflags} +make %{?_smp_mflags} %install -%{__rm} -rf %{buildroot} -%{__mkdir} -p %{buildroot}%{_bindir} -%{__mkdir} -p %{buildroot}%{_mandir}/man8 -%{__install} -m 0755 src/%{name} %{buildroot}%{_bindir}/%{name} -%{__install} -m 0644 man/%{name}.8 %{buildroot}%{_mandir}/man8/%{name}.8 +rm -rf %{buildroot} +mkdir -p %{buildroot}%{_bindir} +mkdir -p %{buildroot}%{_mandir}/man8 +install -m 0755 src/%{name} %{buildroot}%{_bindir}/%{name} +install -m 0644 man/%{name}.8 %{buildroot}%{_mandir}/man8/%{name}.8 %clean -%{__rm} -rf %{buildroot} +rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc COPYING Changes LSM README %{_bindir}/%{name} -%{_mandir}/man8/%{name}.8.gz +%{_mandir}/man8/%{name}.8* %changelog +* Fri May 21 2010 David Cantrell - 0.1h-13 +- Spec file cleanups to comply with current packaging policies + * Fri Jul 24 2009 Fedora Release Engineering - 0.1h-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild