Re: Fedora Update Policy

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I removed the %debug_package (I thought it was necessary to get  a debug verison of the package).

I have the setup situation where there are multiple source files and the destination directory needs
to be renamed; e.g., from CppAD-%{version} to cppad-%{version}.

I tried to follow the documentation for this under 'Using %serup in a Multi-soruce Spec File` on
http://ftp.rpm.org/max-rpm/s1-rpm-inside-macros.html#S3-RPM-INSIDE-SETUP-MULTI-SOURCE

Here is my setup (just below prep) that does not seem to work:
#
# Remove previous cppad-%%{version} and unpack Source0 into cppad-%%{version}
%setup -q -n cppad-%{version}
# Unpack Source1 into the directory cppad-%%{version}/doc
# use -T to prevent deleting the previous unpacking
%setup -q -T -a 1 -n cppad-%{version}/doc


Here is the fedpkg mockbuild output just before the errror:
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf cppad-20210000.5
+ /usr/bin/gzip -dc /builddir/build/SOURCES/20210000.5.tar.gz
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd cppad-20210000.5
/var/tmp/rpm-tmp.kMD9nj: line 40: cd: cppad-20210000.5: No such file or directory

At the stopping point here is the build directory and its contents:
BUILD>pwd
/var/lib/mock/fedora-rawhide-x86_64/root/builddir/build/BUILD
BUILD>ls
CppAD-20210000.5
_______________________________________________
packaging mailing list -- packaging@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to packaging-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/packaging@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux