diff --git a/asterisk-sounds-core.spec b/asterisk-sounds-core.spec index 06e561c..5fb8d08 100644 --- a/asterisk-sounds-core.spec +++ b/asterisk-sounds-core.spec @@ -2,7 +2,7 @@ Name: asterisk-sounds-core Version: 1.4.16 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Core sounds for Asterisk Group: Applications/Internet @@ -43,6 +43,8 @@ Source28: http://downloads.asterisk.org/pub/telephony/sounds/releases/aste BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch +BuildRequires: rpm >= 4.7.2-2 + %description Core sound files for Asterisk. @@ -364,7 +366,7 @@ mkdir fr for file in %{S:20} %{S:21} %{S:22} %{S:23} %{S:24} %{S:25} %{S:26} %{S:27} %{S:28} do - tar tf $file | grep -v '1.g729' | grep -E '.(alaw|g722|g729|gsm|siren7|siren14|sln16|ulaw|wav)$' | sed -e 's!^!%{sounds_dir}/fr/!' > `basename $file .tar.gz`.list + tar --list --file $file | grep -E '.(alaw|g722|g729|gsm|siren7|siren14|sln16|ulaw|wav)$' | sed -e 's!^!%{sounds_dir}/fr/!' > `basename $file .tar.gz`.list tar --extract --directory ./fr/ --file $file done @@ -535,6 +537,9 @@ rm -rf %{buildroot} %doc asterisk-core-sounds-fr-wav-%{version}.list %changelog +* Fri Dec 4 2009 Jeffrey C. Ollie - 1.4.16-3 +- Add fr/1.g729 back and build with new version of RPM. + * Mon Nov 2 2009 Jeffrey C. Ollie - 1.4.16-2 - Remove fr/1.g729 as it's triggering an error in magic_file(3) (BZ#532489)