| |
@@ -6,6 +6,8 @@
|
| |
URL: http://code.google.com/p/diskscrub/
|
| |
Source0: http://diskscrub.googlecode.com/files/%{name}-%{version}.tar.bz2
|
| |
|
| |
+ Patch0: genrand-return-value.patch
|
| |
+
|
| |
BuildRequires: gcc
|
| |
%description
|
| |
Scrub writes patterns on files or disk devices to make
|
| |
@@ -19,12 +21,14 @@
|
| |
%prep
|
| |
%setup -q
|
| |
|
| |
+ %autopatch -p1
|
| |
+
|
| |
%build
|
| |
%configure
|
| |
- make %{?_smp_mflags}
|
| |
+ %{make_build}
|
| |
|
| |
%install
|
| |
- make DESTDIR=%{buildroot} install
|
| |
+ %{make_install}
|
| |
|
| |
%files
|
| |
%doc DISCLAIMER COPYING
|
| |
Use the make macros.
The patch just adds a return value to the genrand() function, which is expected to return an int.