[mingw32-pixman] Spec cleanup
Kalev Lember
kalev at fedoraproject.org
Sat Jul 16 11:29:05 UTC 2011
commit f3a65ca14eb594f8b4027542a4dd99588e195026
Author: Kalev Lember <kalevlember at gmail.com>
Date: Sat Jul 16 14:19:42 2011 +0300
Spec cleanup
- Use automatic mingw dep extraction
- Cleaned up the spec file for modern rpmbuild
mingw32-pixman.spec | 16 +++-------------
1 files changed, 3 insertions(+), 13 deletions(-)
---
diff --git a/mingw32-pixman.spec b/mingw32-pixman.spec
index 376e866..b1caba9 100644
--- a/mingw32-pixman.spec
+++ b/mingw32-pixman.spec
@@ -1,8 +1,5 @@
%global __strip %{_mingw32_strip}
%global __objdump %{_mingw32_objdump}
-%global _use_internal_dependency_generator 0
-%global __find_requires %{_mingw32_findrequires}
-%global __find_provides %{_mingw32_findprovides}
%define __debug_install_post %{_mingw32_debug_install_post}
Name: mingw32-pixman
@@ -17,10 +14,9 @@ Group: Development/Libraries
Source0: http://cairographics.org/releases/pixman-%{version}.tar.gz
Source1: make-pixman-snapshot.sh
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
-BuildRequires: mingw32-filesystem >= 52
+BuildRequires: mingw32-filesystem >= 68
BuildRequires: mingw32-gcc
BuildRequires: mingw32-binutils
BuildRequires: mingw32-dlfcn
@@ -55,17 +51,10 @@ make %{?_smp_mflags} V=1
%install
-rm -rf $RPM_BUILD_ROOT
-
make DESTDIR=$RPM_BUILD_ROOT install
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-
%files
-%defattr(-,root,root,-)
%doc COPYING
%{_mingw32_bindir}/libpixman-1-0.dll
%{_mingw32_includedir}/pixman-1
@@ -75,13 +64,14 @@ rm -rf $RPM_BUILD_ROOT
%files static
-%defattr(-,root,root,-)
%{_mingw32_libdir}/libpixman-1.a
%changelog
* Sat Jul 16 2011 Kalev Lember <kalevlember at gmail.com> - 0.22.2-1
- Update to 0.22.2
+- Use automatic mingw dep extraction
+- Cleaned up the spec file for modern rpmbuild
* Sun May 08 2011 Kalev Lember <kalev at smartlink.ee> - 0.22.0-1
- Update to 0.22.0
More information about the scm-commits
mailing list