[mingw-liboil: 13/13] Dropped unneeded RPM tags
epienbro
epienbro at fedoraproject.org
Wed Mar 7 19:43:06 UTC 2012
commit 29350e36613a85d0776d798200fb4276f085bd29
Author: Erik van Pienbroek <epienbro at fedoraproject.org>
Date: Wed Mar 7 20:41:48 2012 +0100
Dropped unneeded RPM tags
mingw-liboil.spec | 32 ++------------------------------
1 files changed, 2 insertions(+), 30 deletions(-)
---
diff --git a/mingw-liboil.spec b/mingw-liboil.spec
index 0ed0a80..21641d8 100644
--- a/mingw-liboil.spec
+++ b/mingw-liboil.spec
@@ -1,8 +1,5 @@
%define __strip %{mingw32_strip}
%define __objdump %{mingw32_objdump}
-%define _use_internal_dependency_generator 0
-%define __find_requires %{mingw32_findrequires}
-%define __find_provides %{mingw32_findprovides}
Summary: Library of Optimized Inner Loops, CPU optimized functions
Name: mingw-liboil
@@ -17,8 +14,6 @@ Source: http://liboil.freedesktop.org/download/liboil-%{version}.tar.gz
# https://bugzilla.redhat.com/show_bug.cgi?id=435771
Patch4: liboil-0.3.13-disable-ppc64-opts.patch
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
-
BuildArch: noarch
BuildRequires: mingw32-filesystem >= 40
@@ -50,27 +45,10 @@ significant optimization using various techniques, especially by using
extended instructions provided by modern CPUs (Altivec, MMX, SSE, etc.).
-#%package devel
-#Summary: Development files and static library for liboil
-#Group: Development/Libraries
-#Requires: %{name} = %{version}-%{release}, pkgconfig
-
-#%description devel
-#Liboil is a library of simple functions that are optimized for various CPUs.
-#These functions are generally loops implementing simple algorithms, such as
-#converting an array of N integers to floating-poing numbers or multiplying
-#and summing an array of N numbers. Clearly such functions are candidates for
-#significant optimization using various techniques, especially by using
-#extended instructions provided by modern CPUs (Altivec, MMX, SSE, etc.).
-
%prep
%setup -q -n liboil-%{version}
%patch4 -p0 -b .disable-ppc64-opts
-# Disable Altivec, so that liboil doesn't SIGILL on non-Altivec PPCs
-# See https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=252179#c15
-#sed -i 's/CFLAGS="$CFLAGS "-maltivec""/CFLAGS="$CFLAGS "-fno-tree-vectorize -Wa,-maltivec""/' configure
-#sed -i 's/LIBOIL_CFLAGS -maltivec/LIBOIL_CFLAGS -fno-tree-vectorize -Wa,-maltivec/' configure
%build
%{mingw32_configure}
@@ -82,8 +60,8 @@ sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
# /bin/sh: ./build_prototypes_doc: No such file or directory
make %{?_smp_mflags}
+
%install
-rm -rf %{buildroot}
make install DESTDIR=%{buildroot}
# Remove static libraries but DON'T remove *.dll.a files.
@@ -96,16 +74,9 @@ rm -rf $RPM_BUILD_ROOT%{_mingw_mandir}
# Remove documentation too.
rm -rf $RPM_BUILD_ROOT%{mingw32_datadir}/gtk-doc
-%clean
-rm -rf %{buildroot}
-
%files -n mingw32-liboil
-%defattr(-,root,root,-)
%doc AUTHORS COPYING BUG-REPORTING NEWS README
-
-#%files devel
-#%defattr(-,root,root,-)
%{mingw32_bindir}/oil-bugreport.exe
%{mingw32_includedir}/*
%{mingw32_bindir}/liboil-0.3*.dll
@@ -117,6 +88,7 @@ rm -rf %{buildroot}
* Wed Mar 07 2012 Erik van Pienbroek <epienbro at fedoraproject.org> - 0.3.16-6
- Renamed the source package to mingw-liboil (RHBZ #800919)
- Use mingw macros without leading underscore
+- Dropped unneeded RPM tags
* Mon Feb 27 2012 Erik van Pienbroek <epienbro at fedoraproject.org> - 0.3.16-5
- Rebuild against the mingw-w64 toolchain
More information about the scm-commits
mailing list