]> git.pld-linux.org Git - packages/gmock.git/commitdiff
add -devel, cleanup bogus ldconfig auto/th/gmock-1.6.0-3
authorElan Ruusamäe <glen@delfi.ee>
Sat, 7 Sep 2013 22:12:18 +0000 (01:12 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Sat, 7 Sep 2013 22:12:18 +0000 (01:12 +0300)
gmock.spec

index a7bccfeb60e46d98d41135d45d477eccf457be76..17bc4a12366decbbb22d6eb27b825078803a798c 100644 (file)
@@ -1,7 +1,7 @@
 Summary:       Google C++ Mocking Framework
 Name:          gmock
 Version:       1.6.0
-Release:       2
+Release:       3
 License:       BSD
 Group:         Development/Libraries
 Source0:       https://googlemock.googlecode.com/files/%{name}-%{version}.zip
@@ -14,11 +14,20 @@ BuildRequires:      gtest-devel >= 1.5.0
 BuildRequires: libtool
 BuildRequires: python
 BuildRequires: sed >= 4.0
-Requires:      gtest-devel
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
+Google C++ Mocking Framework.
+
+%package devel
+Summary:       Google C++ Mocking Framework
+Group:         Development/Libraries
+Requires:      gtest-devel >= 1.5.0
+Provides:      %{name} = %{version}-%{release}
+Obsoletes:     gmock < 1.6.0-3
+
+%description devel
 Inspired by jMock, EasyMock, and Hamcrest, and designed with C++'s
 specifics in mind, Google C++ Mocking Framework (or Google Mock for
 short) is a library for writing and using C++ mock classes.
@@ -59,10 +68,7 @@ rm -rf $RPM_BUILD_ROOT
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post  -p /sbin/ldconfig
-%postun        -p /sbin/ldconfig
-
-%files
+%files devel
 %defattr(644,root,root,755)
 %doc CHANGES CONTRIBUTORS COPYING README
 %attr(755,root,root) %{_bindir}/gmock-config
This page took 0.033612 seconds and 4 git commands to generate.