I I am trying to right a .spec file for checkinstall I'm following
the directions on
https://fedoraproject.org/wiki/PackageMaintainers/CreatingPackageHow
To
I run rpmbuild -ba checkinstall.spec and get
RPM build errors:
File /home/makerpm/rpmbuild/SOURCES is smaller than 13 bytes
Bad exit status from /var/tmp/rpm-tmp.4SyjIO (%prep)
my spec file is below
Name: checkinstall
Version: 1.6.1
Release: 1%{?dist}
Summary: Installs a compiled program from the program's source
directory
Group: Development/System
License: GPLv2
URL:
http://www.asic-linux.com.mx/~izto/checkinstall/index.php
Source0:
http://www.asic-
linux.com.mx/~izto/checkinstall/files/source/checkinstall-1.6.1.tgz/
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-
%{release}-XXXXXX)
BuildRequires: make
Requires: make install
%description
checkinstall will create a Slackware, RPM or Debian compatible
package and install it using your distribution's standard package
administration utilities.
%prep
%setup -q
%build
%configure
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
this is my first packaging attempt any help would be appreciated
Thanks