Re: sdcc - Cross Compiler, Needs Packaging Standards?

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

 



Warren Togami wrote:

BuildRequires: auto-grab-source

%prep
%setup -q
GRAB_SOURCENAME=glibc-2.5-fedora-20061008T1257.tar.bz2
GRAB_HASH=6aa114e3cde495c267ff8a6e55b90bec
GRAB_NAME=glibc
auto-grab-source $GRAB_NAME $GRAB_SOURCENAME $GRAB_HASH

It could be even simpler than this.

BuildRequires: auto-grab-source
Source#: sources

%prep
auto-grab-source glibc
auto-grab-source gcc
auto-grab-source binutils
# auto-grab-source reads the sources file for filenames and hashes
# needs %%{name} parameter because that isn't specified in sources
%setup -q

Warren Togami
wtogami@xxxxxxxxxx

--
fedora-extras-list mailing list
fedora-extras-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-extras-list

[Index of Archives]     [Fedora General Discussion]     [Fedora Art]     [Fedora Docs]     [Fedora Package Review]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite Backpacking]     [KDE Users]

  Powered by Linux