forked from pool/obs-service-format_spec_file
- update fetch-licenses and bump version
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-format_spec_file?expand=0&rev=116
This commit is contained in:
parent
a0a3bbfcab
commit
2d5a4d1e54
@ -1,4 +1,8 @@
|
||||
curl -s "https://docs.google.com/spreadsheet/pub?hl=en_US&hl=en_US&key=0AqPp4y2wyQsbdGQ1V3pRRDg5NEpGVWpubzdRZ0tjUWc&single=true&gid=0&output=txt" | grep -v "New format" > licenses_changes.txt
|
||||
grep ^SUSE- licenses_changes.txt | cut -d' ' -f1 | while read l; do
|
||||
echo "$l+ $l+" >> licenses_changes.txt ;
|
||||
done
|
||||
|
||||
for i in `w3m -dump -cols 1000 http://spdx.org/licenses/ | grep "License Text" | sed -e 's, *Y *License Text,,; s, *License Text,,; s,.* ,,;'`; do
|
||||
echo "$i $i" >> licenses_changes.txt ;
|
||||
echo "$i+ $i+" >> licenses_changes.txt ;
|
||||
@ -6,4 +10,3 @@ done
|
||||
sort -o licenses_changes.txt -u licenses_changes.txt
|
||||
( echo "First line" ; cat licenses_changes.txt ) > t
|
||||
mv t licenses_changes.txt
|
||||
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Feb 17 07:10:40 UTC 2013 - coolo@suse.com
|
||||
|
||||
- update fetch-licenses and bump version
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 1 11:57:05 UTC 2013 - coolo@suse.com
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user