[mingw-spice-protocol: 13/14] Modernize the spec file

Kalev Lember kalev at fedoraproject.org
Wed Mar 7 17:44:37 UTC 2012


commit 497a33d96d1786f4ec361ab1567b2973dd8e1e9d
Author: Kalev Lember <kalevlember at gmail.com>
Date:   Wed Mar 7 19:41:42 2012 +0200

    Modernize the spec file

 mingw-spice-protocol.spec |    7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/mingw-spice-protocol.spec b/mingw-spice-protocol.spec
index 98ca618..6e873ab 100644
--- a/mingw-spice-protocol.spec
+++ b/mingw-spice-protocol.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}
 
 Name:           mingw-spice-protocol
 Version:        0.8.0
@@ -14,7 +11,7 @@ URL:            http://www.spice-space.org/
 Source0:        http://www.spice-space.org/download/releases/spice-protocol-%{version}.tar.bz2
 
 BuildArch:      noarch
-BuildRequires:  mingw32-filesystem >= 49
+BuildRequires:  mingw32-filesystem
 
 %description
 Header files describing the spice protocol
@@ -41,7 +38,6 @@ make
 make DESTDIR=%{buildroot} install
 
 %files -n mingw32-spice-protocol
-%defattr(-, root, root, -)
 %doc COPYING NEWS
 %{_mingw32_includedir}/spice-1
 %{_mingw32_datadir}/pkgconfig/spice-protocol.pc
@@ -49,6 +45,7 @@ make DESTDIR=%{buildroot} install
 %changelog
 * Wed Mar 07 2012 Kalev Lember <kalevlember at gmail.com> - 0.8.0-4
 - Renamed the source package to mingw-spice-protocol (#801030)
+- Modernize the spec file
 
 * Mon Feb 27 2012 Erik van Pienbroek <epienbro at fedoraproject.org> - 0.8.0-3
 - Rebuild against the mingw-w64 toolchain


More information about the scm-commits mailing list