[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: help with source package font path
- From: "Caius \"kaio\" Chance" <cchance redhat com>
- To: Qianqian Fang <fangqq gmail com>
- Cc: fedora-fonts-list <fedora-fonts-list redhat com>
- Subject: Re: help with source package font path
- Date: Tue, 10 Feb 2009 10:23:45 +1000
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Qianqian Fang wrote:
>
> basically, the installer first unpacked the upstream source tarball, and
> then attempted to "cd wqy-zenhei-fonts-0.8.34", unfortunately, the
> upstream package does not name the folder that way, simply
> "wqy-zenhei/", so the installer quit.
>
> I am wondering which variable controls the source folder name and how
> can I fix this?
Yes, I have experienced same thing before. :)
%setup -q -n %{name}-%{version}.devel
You could set the directory extracted from tarball with any name. In
above example, %{name}-%{version}.devel
i.e. '%setup -q -n wqy-zenhei-fonts-0.8.34' should works for you, but it
should be better to have %{fontname}-fonts-%{version} like naming.
Best Regards,
kaio
- --
Caius Chance, Soft Eng, I18N, Red Hat APAC, cchance AT redhat DOT com
JP (Qual), RHCE, MCSE, CCNA, JLPT4, http://apac.redhat.com/disclaimer
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
iEYEARECAAYFAkmQyRAACgkQmo+B7bGj5dIryQCdE82uCgvJjc+QTDP3nfUUw0NX
bdgAnji03KKWc+ofU2yF3wdaEqEFR++E
=Vw+W
-----END PGP SIGNATURE-----
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]