Cleaned up the spec file from cruft not needed with latest rpm

This commit is contained in:
Kalev Lember 2011-05-20 13:30:59 +03:00
parent b4298c0ccc
commit 11c4c8fba5

View File

@ -8,7 +8,6 @@ Summary: MinGW base filesystem and environment
Group: Development/Libraries
License: GPLv2+
URL: http://hg.et.redhat.com/misc/fedora-mingw--devel/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
Source0: COPYING
@ -77,8 +76,6 @@ sed 's/@VERSION@/%{version}/' < %{SOURCE4} > mingw32-find-requires.sh
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_libexecdir}
@ -147,12 +144,8 @@ install -m 0644 %{SOURCE10} $RPM_BUILD_ROOT/usr/lib/rpm/fileattrs/
mkdir -p $RPM_BUILD_ROOT%{_datadir}/mingw32
install -m 644 %{SOURCE8} $RPM_BUILD_ROOT%{_datadir}/mingw32
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc COPYING
%config(noreplace) %{_sysconfdir}/rpm/macros.mingw32
%config(noreplace) %{_sysconfdir}/profile.d/mingw32.sh
@ -175,6 +168,7 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Fri May 20 2011 Kalev Lember <kalev@smartlink.ee> - 68-1
- Support RPM 4.9 new "fileattr" dep extraction system
- Cleaned up the spec file from cruft not needed with latest rpm
* Sat May 14 2011 Erik van Pienbroek <epienbro@fedoraproject.org> - 67-1
- Don't unset PKG_CONFIG_PATH in the wrapper scripts