drop -o obsoletes and don't double list LICENSE

epel9
Jens Petersen 14 years ago
parent d2a1af1190
commit b9c5c1f388

@ -14,7 +14,7 @@ for Java.
Name: ghc-%{pkg_name}
# part of haskell-platform-2010.2.0.0
Version: 1.2.2.1
Release: 4%{?dist}
Release: 5%{?dist}
Summary: %{common_summary}
Group: System Environment/Libraries
@ -57,7 +57,6 @@ rm -rf $RPM_BUILD_ROOT
rm $RPM_BUILD_ROOT%{_bindir}/*-tests
rm -r $RPM_BUILD_ROOT%{_datadir}/%{pkg_name}-%{version}
echo %doc LICENSE >> %{name}.files
echo %doc README doc/Guide.html examples/Example.hs >> %{name}-devel.files
@ -65,10 +64,14 @@ echo %doc README doc/Guide.html examples/Example.hs >> %{name}-devel.files
rm -rf $RPM_BUILD_ROOT
%ghc_lib_package -o 1.2.2.1-4
%ghc_lib_package
%changelog
* Thu Nov 25 2010 Jens Petersen <petersen@redhat.com> - 1.2.2.1-5
- drop -o obsolete
- don't list license file twice
* Sat Jul 31 2010 Jens Petersen <petersen@redhat.com> - 1.2.2.1-4
- ghc-rpm-macros-0.8.1 for doc obsoletes
- part of haskell-platform-2010.2.0.0

Loading…
Cancel
Save