[PackageKit/f16] Ensure the moc files are re-generated by manually deleting them.

Richard Hughes rhughes at fedoraproject.org
Tue Aug 2 10:21:54 UTC 2011


commit 732dcf005bf0abaea7f74c18efbd291df6c80b42
Author: Richard Hughes <richard at hughsie.com>
Date:   Tue Aug 2 11:10:15 2011 +0100

    Ensure the moc files are re-generated by manually deleting them.

 PackageKit.spec |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/PackageKit.spec b/PackageKit.spec
index ddc555c..07c7273 100644
--- a/PackageKit.spec
+++ b/PackageKit.spec
@@ -3,7 +3,7 @@
 Summary:   Package management service
 Name:      PackageKit
 Version:   0.6.17
-Release:   1%{?dist}
+Release:   2%{?dist}
 License:   GPLv2+ and LGPLv2+
 URL:       http://www.packagekit.org
 Source0:   http://www.packagekit.org/releases/%{name}-%{version}.tar.xz
@@ -262,10 +262,12 @@ user to restart the computer or remove and re-insert the device.
 %endif
         --with-default-backend=yum,zif \
         --disable-local \
-        --disable-ruck \
         --disable-strict \
         --disable-tests
 
+rm lib/packagekit-qt/src/*.moc
+rm lib/packagekit-qt2/*.moc
+
 make %{?_smp_mflags}
 
 %install
@@ -464,6 +466,9 @@ update-mime-database %{_datadir}/mime &> /dev/null || :
 %{_includedir}/PackageKit/backend/*.h
 
 %changelog
+* Tue Aug 02 2011 Richard Hughes  <rhughes at redhat.com> - 0.6.17-2
+- Ensure the moc files are re-generated by manually deleting them.
+
 * Mon Aug 01 2011 Richard Hughes  <rhughes at redhat.com> - 0.6.17-1
 - New upstream release.
 - Manually convert the results of GetDetails to unicode.


More information about the scm-commits mailing list