I have the following spec file:
Summary: pcore binary
Name: pcore
Version: 0.1
Release: Beta
Epoch: 0
License: Commercial
Group: Applications/Telecommunications
Packager: Kamal Ahmed <kamal.ahmed@xxxxxxxxxxxxxx>
URL: http://pcore.bts.md/
Source: pcore-0.1.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%description
ElementalCORE
%prep
mkdir %{name}-%{version}
%setup -q
%build
#%configure
make
%install
rm -rf "$RPM_BUILD_ROOT"
%makeinstall
rm -f $RPM_BUILD_ROOT%{_infodir}/dir
%clean
rm -rf "$RPM_BUILD_ROOT"
%files
%defattr(-,root,root)
%doc NEWS
but when i do an rpmbuild -bb pcore.spec, i get:
rpmbuild -bb pcore.spec
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.66518
+ umask 022
+ cd /home/kahmed/rpmbuild/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ mkdir pcore-0.1
+ cd /home/kahmed/rpmbuild/BUILD
+ rm -rf pcore-0.1
+ /bin/gzip -dc /home/kahmed/rpmbuild/SOURCES/pcore-0.1.tar.gz
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd pcore-0.1
/var/tmp/rpm-tmp.66518: line 37: cd: pcore-0.1: No such file or directory
Summary: pcore binary
Name: pcore
Version: 0.1
Release: Beta
Epoch: 0
License: Commercial
Group: Applications/Telecommunications
Packager: Kamal Ahmed <kamal.ahmed@xxxxxxxxxxxxxx>
URL: http://pcore.bts.md/
Source: pcore-0.1.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%description
ElementalCORE
%prep
mkdir %{name}-%{version}
%setup -q
%build
#%configure
make
%install
rm -rf "$RPM_BUILD_ROOT"
%makeinstall
rm -f $RPM_BUILD_ROOT%{_infodir}/dir
%clean
rm -rf "$RPM_BUILD_ROOT"
%files
%defattr(-,root,root)
%doc NEWS
but when i do an rpmbuild -bb pcore.spec, i get:
rpmbuild -bb pcore.spec
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.66518
+ umask 022
+ cd /home/kahmed/rpmbuild/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ mkdir pcore-0.1
+ cd /home/kahmed/rpmbuild/BUILD
+ rm -rf pcore-0.1
+ /bin/gzip -dc /home/kahmed/rpmbuild/SOURCES/pcore-0.1.tar.gz
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd pcore-0.1
/var/tmp/rpm-tmp.66518: line 37: cd: pcore-0.1: No such file or directory
-- packaging mailing list packaging@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/packaging