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
On Mon 7 December 2009 6:11:39 pm rootoutcast@hushmail.com wrote:
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/
Hi,
Try removing the forward slash at the end of that line..
Source0: http://www.asic- linux.com.mx/~izto/checkinstall/files/source/checkinstall-1.6.1.tgz/ Should be http://www.asic- linux.com.mx/~izto/checkinstall/files/source/checkinstall-1.6.1.tgz
在2009-12-08,rootoutcast@hushmail.com 写道:
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
-- Fedora-packaging mailing list Fedora-packaging@redhat.com https://www.redhat.com/mailman/listinfo/fedora-packaging
packaging@lists.fedoraproject.org