mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
.tar.gz -> .tar.bz2
This commit is contained in:
parent
4637dfaa3e
commit
c92b54b3d3
2 changed files with 4 additions and 5 deletions
|
|
@ -8,10 +8,9 @@ Version: %ver
|
|||
Release: %rel
|
||||
Copyright: GPL
|
||||
Group: System/Libraries
|
||||
Source: ftp://ftp.alsa-project.org/pub/lib/alsa-lib-%{ver}.tar.gz
|
||||
Source: ftp://ftp.alsa-project.org/pub/lib/alsa-lib-%{ver}.tar.bz2
|
||||
BuildRoot: /tmp/alsa-lib-%{ver}
|
||||
Packager: Helge Jensen <slog@slog.dk>
|
||||
URL: http://alsa.jcu.cz
|
||||
URL: http://www.alsa-project.org
|
||||
Docdir: %{prefix}/usr/doc
|
||||
Requires: alsa-driver
|
||||
|
||||
|
|
|
|||
|
|
@ -2,12 +2,12 @@
|
|||
|
||||
source=.
|
||||
version=`cat $source/../version`
|
||||
package=$source/../../alsa-lib-$version.tar.gz
|
||||
package=$source/../../alsa-lib-$version.tar.bz2
|
||||
|
||||
make -C .. pack
|
||||
|
||||
if [ ! -r $package ]; then
|
||||
package=$source/../alsa-lib-$version.tar.gz
|
||||
package=$source/../alsa-lib-$version.tar.bz2
|
||||
if [ ! -r $package ]; then
|
||||
echo "Error: wrong package: $package"
|
||||
exit 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue