[mingw-atkmm: 3/14] actually use the correct reviewed version of the spec file

epienbro epienbro at fedoraproject.org
Wed Mar 7 15:27:42 UTC 2012


commit e780acab5a221040ea4c8d654f470dc7098afdb4
Author: Thomas Sailer <t.sailer at alumni.ethz.ch>
Date:   Tue Dec 14 23:12:33 2010 +0100

    actually use the correct reviewed version of the spec file

 mingw32-atkmm.spec |   15 +++++----------
 1 files changed, 5 insertions(+), 10 deletions(-)
---
diff --git a/mingw32-atkmm.spec b/mingw32-atkmm.spec
index 7bccaef..5a0db23 100644
--- a/mingw32-atkmm.spec
+++ b/mingw32-atkmm.spec
@@ -14,7 +14,6 @@ License:        LGPLv2+
 Group:          Development/Libraries
 URL:            http://www.gtkmm.org/
 Source0:        http://ftp.gnome.org/pub/GNOME/sources/atkmm/2.22/atkmm-%{version}.tar.bz2
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildArch:      noarch
 
@@ -28,7 +27,8 @@ BuildRequires:  mingw32-glibmm24 >= 2.24
 BuildRequires:  pkgconfig
 
 Requires:       pkgconfig
-
+# mingw32-atkmm files used to be part of mingw32-gtkmm24
+Conflicts:      mingw32-gtkmm24 < 2.21.1
 
 %description
 atkmm provides a C++ interface for the ATK library. Highlights
@@ -37,7 +37,7 @@ comprehensive set of widget classes that can be freely combined to
 quickly create complex user interfaces.
 
 
-%{_mingw32_debug_package}
+%{?_mingw32_debug_package}
 
 
 %prep
@@ -50,19 +50,14 @@ make %{?_smp_mflags}
 
 
 %install
-rm -rf $RPM_BUILD_ROOT
 make DESTDIR=$RPM_BUILD_ROOT install
 
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-
 %files
-%defattr(-,root,root)
+%defattr(-,root,root,-)
 %doc COPYING
 %{_mingw32_includedir}/atkmm-1.6
-%{_mingw32_libdir}/atkmm-1.6/include/atkmmconfig.h
+%{_mingw32_libdir}/atkmm-1.6
 %{_mingw32_libdir}/pkgconfig/atkmm-1.6.pc
 %{_mingw32_libdir}/libatkmm-1.6.la
 %{_mingw32_libdir}/libatkmm-1.6.dll.a


More information about the scm-commits mailing list