diff --git a/MochiKit.spec b/MochiKit.spec index 159ebd7..e8650d5 100644 --- a/MochiKit.spec +++ b/MochiKit.spec @@ -1,13 +1,15 @@ Name: MochiKit Version: 1.4.2 -Release: 4%{?dist} -Summary: A lightweight JavaScript library +Release: 5%{?dist} +Summary: Lightweight JavaScript library Group: Applications/Internet -License: MIT or AFL +License: (MIT or AFL) and BSD URL: http://www.mochikit.com/ Source0: http://www.mochikit.com/dist/%{name}-%{version}.zip Source1: %{name}.conf +# Updated license.txt from upstream (modified to apply to a tarball) +Patch0: 0001-Updated-license-text-to-reflect-original-YAHOO-copyr.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch @@ -20,6 +22,8 @@ that will help you get stuff done, fast. %prep %setup -q +%patch0 -p1 -b .lcns + find \( -name \*.js -o -name \*.css \) -exec sed -i 's/\r//g' {} \; # Fix for bug 440052 - fixes path of MochiKit libs in source @@ -45,6 +49,9 @@ rm -rf $RPM_BUILD_ROOT %config(noreplace) %{_sysconfdir}/httpd/conf.d/%{name}.conf %changelog +* Sat Dec 4 2010 Toshio Kuratomi - 1.4.2-5 +- Fix the license information + * Fri Jul 24 2009 Fedora Release Engineering - 1.4.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild