Compare commits
1 commit
rawhide
...
epel8-play
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c5f8563f20 |
5 changed files with 1 additions and 1213 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -1 +0,0 @@
|
|||
/gnuradio-*.tar.gz
|
||||
|
|
@ -1,48 +0,0 @@
|
|||
#!/usr/bin/bash
|
||||
|
||||
#
|
||||
# No patents, no problems
|
||||
#
|
||||
|
||||
# Indicate the problems
|
||||
PROBLEMS=(
|
||||
'gr-dtv'
|
||||
'gr-atsc'
|
||||
)
|
||||
|
||||
# Indicate the source (including workaround for rhbz#1926687)
|
||||
URL=$(spectool -S -l ./gnuradio.spec | sed -nE '/^\s*Source/ s/Source0:\s+//g p')
|
||||
|
||||
# Meta variables
|
||||
SOURCE=$(basename $URL)
|
||||
COMPRESSION=${SOURCE##*.}
|
||||
TAR=${SOURCE%.*}
|
||||
|
||||
# check if $SOURCE exists
|
||||
if [ ! -f $SOURCE ]; then
|
||||
# It does not, so we download it
|
||||
echo "DOWNLOADING \"$SOURCE\" FROM \"$URL\""
|
||||
curl -L -O "$URL"
|
||||
fi
|
||||
|
||||
echo "UNCOMPRESS \"$SOURCE\" TO \"$TAR\""
|
||||
if [ "gz" = "$COMPRESSION" ]; then
|
||||
COMPRESSION="gzip"
|
||||
fi
|
||||
$COMPRESSION -d $SOURCE
|
||||
|
||||
# Getting the base DIR inside the tar
|
||||
TAR_BASE=$(tar tf $TAR | head -n1 | sed 's/\/$//')
|
||||
for PROBLEM in ${PROBLEMS[@]};
|
||||
do
|
||||
echo "REMOVING \"$PROBLEM\" FROM \"$TAR\""
|
||||
tar -vf $TAR --delete "${TAR_BASE}/${PROBLEM}"
|
||||
tar -vf $TAR --strip=1 -x "${TAR_BASE}/CMakeLists.txt"
|
||||
tar -vf $TAR --delete "${TAR_BASE}/CMakeLists.txt"
|
||||
sed -i "/^add_subdirectory(${PROBLEM})$/ d" CMakeLists.txt
|
||||
tar -vf $TAR --append CMakeLists.txt --transform="s|CMakeLists.txt|${TAR_BASE}/CMakeLists.txt|"
|
||||
done
|
||||
rm -f CMakeLists.txt
|
||||
|
||||
echo "RECOMPRESS \"$TAR\" TO \"$SOURCE\""
|
||||
$COMPRESSION $TAR
|
||||
1
dead.package
Normal file
1
dead.package
Normal file
|
|
@ -0,0 +1 @@
|
|||
epel8-playground decommissioned : https://pagure.io/epel/issue/136
|
||||
1163
gnuradio.spec
1163
gnuradio.spec
File diff suppressed because it is too large
Load diff
1
sources
1
sources
|
|
@ -1 +0,0 @@
|
|||
SHA512 (gnuradio-3.10.12.0.tar.gz) = c69605f5df4a2a812ff88bcb26f70ae48dca996fdac0d3c4ce855a4706e751a06bcb1680ec05f6ce07f4206bc06885539f3f74f381b2302aa9e5ae068a7dc804
|
||||
Loading…
Add table
Add a link
Reference in a new issue