From c9466b24ad28ccd224e361c04a511820cf61d65b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Cami?= Date: Thu, 6 Jun 2013 21:04:21 +0200 Subject: [PATCH 01/46] Initial package. --- .gitignore | 1 + sources | 1 + unittest-cpp.html | 260 ++++++++++++++++++++++++++++++++++++++++++++++ unittest-cpp.pc | 12 +++ unittest-cpp.spec | 140 +++++++++++++++++++++++++ 5 files changed, 414 insertions(+) create mode 100644 unittest-cpp.html create mode 100644 unittest-cpp.pc create mode 100644 unittest-cpp.spec diff --git a/.gitignore b/.gitignore index e69de29..bf35088 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/unittest-cpp-1.4-c42e68b.tar.gz diff --git a/sources b/sources index e69de29..bef5d99 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +9990fce54efe69ee3de67f4d95d2a1a4 unittest-cpp-1.4-c42e68b.tar.gz diff --git a/unittest-cpp.html b/unittest-cpp.html new file mode 100644 index 0000000..9eb872d --- /dev/null +++ b/unittest-cpp.html @@ -0,0 +1,260 @@ + + + UnitTest++ in brief + + +

UnitTest++ in brief

+

Introduction

+

This little document serves as bare-bones documentation for UnitTest++.

+ +

For background, goals and license details, see:

+ + + +

The documentation, while sparse, aims to be practical, so it should give you enough info to get started using UnitTest++ as fast as possible.

+ +

Building UnitTest++

+

Building UnitTest++ will be specific to each platform and build environment, but it should be straightforward.

+ +

Building with Visual Studio

+

If you are using Visual Studio, go for either of the provided .sln files, depending on version. There are no prefabricated solutions for versions earlier than VS.NET 2003, but we have had reports of people building UnitTest++ with at least VS.NET 2002.

+ +

Building with Make

+

The bundled makefile is written to build with g++. It also needs sed installed in the path, and to be able to use the mv and rm shell commands. The makefile should be usable on most Posix-like platforms.

+ +

Do "make all" to generate a library and test executable. A final build step runs all unit tests to make sure that the result works as expected.

+ +

Packaging

+

You'll probably want to keep the generated library in a shared space in source control, so you can reuse it for multiple test projects. A redistributable package of UnitTest++ would consist of the generated library file, and all of the header files in UnitTest++/src/ and its per-platform subfolders. The tests directory only contains the unit tests for the library, and need not be included.

+ +

Using UnitTest++

+

The source code for UnitTest++ comes with a full test suite written using UnitTest++. This is a great place to learn techniques for testing. There is one sample .cpp file: UnitTest++/src/tests/TestUnitTest++.cpp. It covers most of UnitTest++'s features in an easy-to-grasp context, so start there if you want a quick overview of typical usage.

+ +

Getting started

+

Listed below is a minimal C++ program to run a failing test through UnitTest++.

+ +
+  // test.cpp
+  #include <UnitTest++.h>
+
+  TEST(FailSpectacularly)
+  {
+    CHECK(false);
+  }
+
+  int main()
+  {
+    return UnitTest::RunAllTests();
+  }
+
+ +

UnitTest++.h is a facade header for UnitTest++, so including that should get you all features of the library. All classes and free functions are placed in namespace UnitTest, so you need to either qualify their full names (as with RunAllTests() in the example) or add a using namespace UnitTest; statement in your .cpp files. Note that any mention of UnitTest++ functions and classes in this document assume that the UnitTest namespace has been opened.

+ +

Compiling and linking this program with UnitTest++'s static library into an executable, and running it, will produce the following output (details may vary):

+ +
+  .\test.cpp(5): error: Failure in FailSpectacularly: false
+  FAILED: 1 out of 1 tests failed (1 failures).
+  Test time: 0.00 seconds.
+
+ +

UnitTest++ attempts to report every failure in an IDE-friendly format, depending on platform (e.g. you can double-click it in Visual Studio's error list.) The exit code will be the number of failed tests, so that a failed test run always returns a non-zero exit code.

+ +

Test macros

+

To add a test, simply put the following code in a .cpp file of your choice:

+ +
+  TEST(YourTestName)
+  {
+  }
+
+ +

The TEST macro contains enough machinery to turn this slightly odd-looking syntax into legal C++, and automatically register the test in a global list. This test list forms the basis of what is executed by RunAllTests().

+ +

If you want to re-use a set of test data for more than one test, or provide setup/teardown for tests, you can use the TEST_FIXTURE macro instead. The macro requires that you pass it a class name that it will instantiate, so any setup and teardown code should be in its constructor and destructor.

+ +
+  struct SomeFixture
+  {
+    SomeFixture() { /* some setup */ }
+    ~SomeFixture() { /* some teardown */ }
+
+    int testData;
+  };
+ 
+  TEST_FIXTURE(SomeFixture, YourTestName)
+  {
+    int temp = testData;
+  }
+
+ +

Note how members of the fixture are used as if they are a part of the test, since the macro-generated test class derives from the provided fixture class.

+ +

Suite macros

+

Tests can be grouped into suites, using the SUITE macro. A suite serves as a namespace for test names, so that the same test name can be used in two difference contexts.

+ +
+  SUITE(YourSuiteName)
+  {
+    TEST(YourTestName)
+    {
+    }
+
+    TEST(YourOtherTestName)
+    {
+    }
+  }
+
+ +

This will place the tests into a C++ namespace called YourSuiteName, and make the suite name available to UnitTest++. RunAllTests() can be called for a specific suite name, so you can use this to build named groups of tests to be run together.

+ +

Simple check macros

+

In test cases, we want to check the results of our system under test. UnitTest++ provides a number of check macros that handle comparison and proper failure reporting.

+ +

The most basic variety is the boolean CHECK macro:

+ +
+  CHECK(false); // fails
+
+ +

It will fail if the boolean expression evaluates to false.

+ +

For equality checks, it's generally better to use CHECK_EQUAL:

+ +
+  CHECK_EQUAL(10, 20); // fails
+  CHECK_EQUAL("foo", "bar"); // fails
+
+ +

Note how CHECK_EQUAL is overloaded for C strings, so you don't have to resort to strcmp or similar. There is no facility for case-insensitive comparison or string searches, so you may have to drop down to a plain boolean CHECK with help from the CRT:

+ +
+  CHECK(std::strstr("zaza", "az") != 0); // succeeds
+
+ +

For floating-point comparison, equality isn't necessarily well-defined, so you should prefer the CHECK_CLOSE macro:

+ +
+  CHECK_CLOSE(3.14, 3.1415, 0.01); // succeeds
+
+ +

All of the macros are tailored to avoid unintended side-effects, for example:

+ +
+  TEST(CheckMacrosHaveNoSideEffects)
+  {
+    int i = 4;
+    CHECK_EQUAL(5, ++i); // succeeds
+    CHECK_EQUAL(5, i); // succeeds
+  }
+
+ +

The check macros guarantee that the ++i expression isn't repeated internally, as demonstrated above.

+ +

Array check macros

+

There is a set of check macros for array comparison as well:

+ +
+  const float oned[2] = { 10, 20 };
+  CHECK_ARRAY_EQUAL(oned, oned, 2); // succeeds
+  CHECK_ARRAY_CLOSE(oned, oned, 2, 0.00); // succeeds
+
+  const float twod[2][3] = { {0, 1, 2}, {2, 3, 4} };
+  CHECK_ARRAY2D_CLOSE(twod, twod, 2, 3, 0.00); // succeeds
+
+ +

The array equal macro compares elements using operator==, so CHECK_ARRAY_EQUAL won't work for an array of C strings, for example.

+ +

The array close macros are similar to the regular CHECK_CLOSE macro, and are really only useful for scalar types, that can be compared in terms of a difference between two array elements.

+ +

Note that the one-dimensional array macros work for std::vector as well, as it can be indexed just as a C array.

+ +

Exception check macros

+

Finally, there's a CHECK_THROW macro, which asserts that its enclosed expression throws the specified type:

+ +
+  struct TestException {};
+  CHECK_THROW(throw TestException(), TestException); // succeeds
+
+ +

UnitTest++ natively catches exceptions if your test code doesn't. So if your code under test throws any exception UnitTest++ will fail the test and report either using the what() method for std::exception derivatives or just a plain message for unknown exception types.

+ +

Should your test or code raise an irrecoverable error (an Access Violation on Win32, for example, or a signal on Linux), UnitTest++ will attempt to map them to an exception and fail the test, just as for other unhandled exceptions.

+ +

Time constraints

+

UnitTest++ can fail a test if it takes too long to complete, using so-called time constraints.

+ +

They come in two flavors; local and global time constraints.

+ +

Local time constraints are limited to the current scope, like so:

+ +
+  TEST(YourTimedTest)
+  {
+     // Lengthy setup...
+
+     {
+        UNITTEST_TIME_CONSTRAINT(50);
+
+        // Do time-critical stuff
+     }
+
+     // Lengthy teardown...
+  }
+
+ +

The test will fail if the "Do time-critical stuff" block takes longer than 50 ms to complete. The time-consuming setup and teardown are not measured, since the time constraint is scope-bound. It's perfectly valid to have multiple local time constraints in the same test, as long as there is only one per block.

+ +

A global time constraint, on the other hand, requires that all of the tests in a test run are faster than a specified amount of time. This allows you, when you run a suite of tests, to ask UnitTest++ to fail it entirely if any test exceeds the global constraint. The max time is passed as a parameter to an overload of RunAllTests().

+ +

If you want to use a global time constraint, but have one test that is notoriously slow, you can exempt it from inspection by using the UNITTEST_TIME_CONSTRAINT_EXEMPT macro anywhere inside the test body.

+ +
+  TEST(NotoriouslySlowTest)
+  {
+     UNITTEST_TIME_CONSTRAINT_EXEMPT();
+
+     // Oh boy, this is going to take a while
+     ...
+  }
+
+ +

Test runners

+

The RunAllTests() function has an overload that lets you customize the behavior of the runner, such as global time constraints, custom reporters, which suite to run, etc.

+ +
+  int RunAllTests(TestReporter& reporter, TestList const& list, char const* suiteName, int const maxTestTimeInMs);
+
+ +

If you attempt to pass custom parameters to RunAllTests(), note that the list parameter should have the value Test::GetTestList().

+ +

The parameterless RunAllTests() is a simple wrapper for this one, with sensible defaults.

+ +

Example setup

+

How to create a new test project varies depending on your environment, but here are some directions on common file structure and usage.

+ +

The general idea is that you keep one Main.cpp file with the entry-point which calls RunAllTests().

+ +

Then you can simply compile and link new .cpp files at will, typically one per test suite.

+ +
+   + ShaverTests/
+   |
+   +- Main.cpp
+   |
+   +- TestBrush.cpp   
+   +- TestEngine.cpp
+   +- TestRazor.cpp   
+
+ +

Each of the Test*.cpp files will contain one or more TEST macro incantations with the associated test code. There are no source-level dependencies between Main.cpp and Test*.cpp, as the TEST macro handles the registration and setup necessary for RunAllTests() to find all tests compiled into the same final executable.

+ +

UnitTest++ does not require this structure, even if this is how the library itself does it. As long as your test project contains one or more TESTs and calls RunAllTests() at one point or another, it will be handled by UnitTest++.

+ +

It's common to make the generated executable start as a post-build step, so that merely building your test project will run the tests as well. Since the exit code is the count of failures, a failed test will generally break the build, as most build engines will fail a build if any step returns a non-zero exit code.

+ + + \ No newline at end of file diff --git a/unittest-cpp.pc b/unittest-cpp.pc new file mode 100644 index 0000000..25eedf2 --- /dev/null +++ b/unittest-cpp.pc @@ -0,0 +1,12 @@ +prefix= +exec_prefix= +libdir= +includedir= + +Name: unittest-cpp +Description: unittest-cpp is a unit testing framework for C++ +Version: 1.4.0 +Requires: +Conflicts: +Libs: -L${libdir} -lUnitTest++ +Cflags: -I${includedir}/unittest++ diff --git a/unittest-cpp.spec b/unittest-cpp.spec new file mode 100644 index 0000000..5e518af --- /dev/null +++ b/unittest-cpp.spec @@ -0,0 +1,140 @@ + +%global _hardened_build 1 +%global commit c42e68bb999d01da9ec71b67ff1a2cbd6ec1b6a6 +%global shortcommit %(c=%{commit}; echo ${c:0:7}) +%global commitdate 20130509 +%global gitversion .%{commitdate}git%{shortcommit} +%global oldname UnitTest++ + +Name: unittest-cpp +# 1.4 is the last version of the old sf.net project. +Version: 1.4 +# so we're postrelease. +Release: 9%{gitversion}%{?dist} +Summary: Lightweight unit testing framework for C++ +License: MIT +Group: Development/Libraries + +# old Url: http://sf.net/projects/unittest-cpp +URL: https://github.com/%{name}/%{name} +Source0: https://github.com/%{name}/%{name}/archive/%{commit}/%{name}-%{version}-%{shortcommit}.tar.gz + +# unittest-cpp.pc file courtesy of Luke Benstead +Source1: %{name}.pc + +# documentation from 1.4 tarball: docs/UnitTest++.html +Source2: %{name}.html + +BuildRequires: autoconf +BuildRequires: libtool + +%description +%{name} is a lightweight unit testing framework for C++. +Simplicity, portability, speed, and small footprint are all +very important aspects of %{name}. + +%package devel +Summary: Object files for development using %{name} +Group: Development/Libraries +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description devel +The %{name}-devel package contains the object files +necessary for developing test programs. + +%package static +Summary: Static library for %{name} +Group: Development/Libraries +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description static +The %{name}-static package contains the object files +necessary for statically linking test programs. + +%prep +%setup -q -n %{name}-%{commit} +cp -p %SOURCE1 %SOURCE2 . +# autoreconf will complain about missing NEWS and README files +touch NEWS +ln README.md README +# autoreconf will add a GPLv3 license text in COPYING +ln LICENSE COPYING +autoreconf -i + +%build +%configure +# rpmlint unused-direct-shlib-dependency +sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool +# fill out our .pc template +sed -i -e " + s,^prefix=,prefix=%{_prefix},g + s,^exec_prefix=,exec_prefix=%{_exec_prefix},g + s,^libdir=,libdir=%{_libdir},g + s,^includedir=,includedir=%{_includedir},g + " %{name}.pc +make %{?_smp_mflags} + +%check +make check + +%install +mkdir -p %{buildroot}%{_includedir}/%{name} +mkdir -p %{buildroot}%{_libdir} +mkdir -p %{buildroot}%{_datadir}/pkgconfig +make DESTDIR=%{buildroot} install +install -p -m 644 %{name}.pc %{buildroot}%{_datadir}/pkgconfig/ +rm -f %{buildroot}%{_libdir}/lib%{oldname}.la + +%files +%doc AUTHORS LICENSE README.md +%{_libdir}/lib%{oldname}.so.* + +%files devel +%doc %{name}.html +%{_includedir}/%{oldname} +%{_libdir}/lib%{oldname}.so +%{_datadir}/pkgconfig/%{name}.pc + +%files static +%{_libdir}/lib%{oldname}.a + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%changelog +* Fri May 31 2013 François Cami - 1.4-9.20130509gitc42e68b +- Use github directly for git tarball generation. +- Move autoreconf to %%build. +- Add %%check. +- Removed duplicate files. +- All changes suggested by Björn Esser. + +* Thu May 30 2013 François Cami - 1.4-8.20130530gitc42e68bb +- Switch upstream from http://sf.net/projects/unittest-cpp + to https://github.com/unittest-cpp/unittest-cpp +- Rebase sources to c42e68bb999d01da9ec71b67ff1a2cbd6ec1b6a6 +- Use consistent naming as much as possible. +- Use autotools to build both shared and static libraries. + +* Wed Mar 13 2013 François Cami - 1.4-7 +- Fix linker flags breakage. + +* Tue Mar 12 2013 François Cami - 1.4-6 +- Replace %%define with %%global. + +* Wed Mar 6 2013 François Cami - 1.4-5 +- Remove unneeded space in sed expression. + +* Wed Mar 6 2013 François Cami - 1.4-4 +- Use consistent naming in .pc file (fix by Luke Benstead). + +* Wed Feb 27 2013 François Cami - 1.4-3 +- Use multi-line, single-instance sed, courtesy of Dennis Johnson. + +* Sat Feb 23 2013 François Cami - 1.4-2 +- Change package name. Add .pc file courtesy of Luke Benstead. + +* Sat Feb 02 2013 François Cami - 1.4-1 +- Initial Fedora RPM. + From f4e1093f2dcd4aa322f2309d1615711d62adf1b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Cami?= Date: Thu, 6 Jun 2013 21:22:37 +0200 Subject: [PATCH 02/46] Make -static depend on -devel; cosmetic fixes to .spec. --- unittest-cpp.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/unittest-cpp.spec b/unittest-cpp.spec index 5e518af..ad09118 100644 --- a/unittest-cpp.spec +++ b/unittest-cpp.spec @@ -10,7 +10,7 @@ Name: unittest-cpp # 1.4 is the last version of the old sf.net project. Version: 1.4 # so we're postrelease. -Release: 9%{gitversion}%{?dist} +Release: 10%{gitversion}%{?dist} Summary: Lightweight unit testing framework for C++ License: MIT Group: Development/Libraries @@ -103,6 +103,9 @@ rm -f %{buildroot}%{_libdir}/lib%{oldname}.la %postun -p /sbin/ldconfig %changelog +* Thu Jun 06 2013 François Cami - 1.4-10.20130509gitc42e68b +- Make -static depend on -devel. Suggested by Michael Schwendt. + * Fri May 31 2013 François Cami - 1.4-9.20130509gitc42e68b - Use github directly for git tarball generation. - Move autoreconf to %%build. @@ -110,12 +113,13 @@ rm -f %{buildroot}%{_libdir}/lib%{oldname}.la - Removed duplicate files. - All changes suggested by Björn Esser. -* Thu May 30 2013 François Cami - 1.4-8.20130530gitc42e68bb +* Thu May 30 2013 François Cami - 1.4-8.20130509gitc42e68bb - Switch upstream from http://sf.net/projects/unittest-cpp to https://github.com/unittest-cpp/unittest-cpp - Rebase sources to c42e68bb999d01da9ec71b67ff1a2cbd6ec1b6a6 - Use consistent naming as much as possible. - Use autotools to build both shared and static libraries. +- Most changes suggested by Michael Schwendt. * Wed Mar 13 2013 François Cami - 1.4-7 - Fix linker flags breakage. From f5ca3e365c1d43fb49035179e1aa5dd2aec8e317 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Sun, 4 Aug 2013 00:37:43 -0500 Subject: [PATCH 03/46] - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild --- unittest-cpp.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/unittest-cpp.spec b/unittest-cpp.spec index ad09118..288c24e 100644 --- a/unittest-cpp.spec +++ b/unittest-cpp.spec @@ -10,7 +10,7 @@ Name: unittest-cpp # 1.4 is the last version of the old sf.net project. Version: 1.4 # so we're postrelease. -Release: 10%{gitversion}%{?dist} +Release: 11%{gitversion}%{?dist} Summary: Lightweight unit testing framework for C++ License: MIT Group: Development/Libraries @@ -103,6 +103,9 @@ rm -f %{buildroot}%{_libdir}/lib%{oldname}.la %postun -p /sbin/ldconfig %changelog +* Sun Aug 04 2013 Fedora Release Engineering - 1.4-11.20130509gitc42e68b +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + * Thu Jun 06 2013 François Cami - 1.4-10.20130509gitc42e68b - Make -static depend on -devel. Suggested by Michael Schwendt. From e391a77f5eb2e6f76c74c26354c45fc3b3fe7cb2 Mon Sep 17 00:00:00 2001 From: Luke Benstead Date: Wed, 20 Nov 2013 21:32:00 +0000 Subject: [PATCH 04/46] Fix broken .pc file and update to latest version --- .gitignore | 2 ++ sources | 2 +- unittest-cpp.pc | 4 ++-- unittest-cpp.spec | 4 ++-- 4 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index bf35088..e6867c9 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,3 @@ /unittest-cpp-1.4-c42e68b.tar.gz +/unittest-cpp-e76d25a01c91b38ff8a5182dd690360186136ce7.tar.gz +/unittest-cpp-1.4-e76d25a.tar.gz diff --git a/sources b/sources index bef5d99..91c6a77 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -9990fce54efe69ee3de67f4d95d2a1a4 unittest-cpp-1.4-c42e68b.tar.gz +13826b0994044280f45d03542a0778be unittest-cpp-1.4-e76d25a.tar.gz diff --git a/unittest-cpp.pc b/unittest-cpp.pc index 25eedf2..045baa3 100644 --- a/unittest-cpp.pc +++ b/unittest-cpp.pc @@ -3,10 +3,10 @@ exec_prefix= libdir= includedir= -Name: unittest-cpp +Name: unittest++ Description: unittest-cpp is a unit testing framework for C++ Version: 1.4.0 Requires: Conflicts: Libs: -L${libdir} -lUnitTest++ -Cflags: -I${includedir}/unittest++ +Cflags: -I${includedir}/UnitTest++ diff --git a/unittest-cpp.spec b/unittest-cpp.spec index 288c24e..2f5e49d 100644 --- a/unittest-cpp.spec +++ b/unittest-cpp.spec @@ -1,8 +1,8 @@ %global _hardened_build 1 -%global commit c42e68bb999d01da9ec71b67ff1a2cbd6ec1b6a6 +%global commit e76d25a01c91b38ff8a5182dd690360186136ce7 %global shortcommit %(c=%{commit}; echo ${c:0:7}) -%global commitdate 20130509 +%global commitdate 20130823 %global gitversion .%{commitdate}git%{shortcommit} %global oldname UnitTest++ From 730267c484fe7b4d37a8b6836267876526a46382 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Cami?= Date: Fri, 22 Nov 2013 11:34:04 +0100 Subject: [PATCH 05/46] misc spec fixes --- unittest-cpp.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/unittest-cpp.spec b/unittest-cpp.spec index 2f5e49d..01fab38 100644 --- a/unittest-cpp.spec +++ b/unittest-cpp.spec @@ -10,7 +10,7 @@ Name: unittest-cpp # 1.4 is the last version of the old sf.net project. Version: 1.4 # so we're postrelease. -Release: 11%{gitversion}%{?dist} +Release: 12%{gitversion}%{?dist} Summary: Lightweight unit testing framework for C++ License: MIT Group: Development/Libraries @@ -103,6 +103,12 @@ rm -f %{buildroot}%{_libdir}/lib%{oldname}.la %postun -p /sbin/ldconfig %changelog +* Fri Nov 22 2013 François Cami - 1.4-12.20130823gite76d25a +- Misc. spec fixes. + +* Thu Nov 21 2013 Luke Benstead - 1.4-11.20130823gite76d25a +- Bump to latest upstream. + * Sun Aug 04 2013 Fedora Release Engineering - 1.4-11.20130509gitc42e68b - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild From b9706f651f4e28f7da6958b094bb6e15619059d0 Mon Sep 17 00:00:00 2001 From: Luke Benstead Date: Fri, 22 Nov 2013 10:40:02 +0000 Subject: [PATCH 06/46] Rename the .pc file to be consistent with other platforms --- unittest-cpp.pc => unittest++.pc | 0 unittest-cpp.spec | 5 ++++- 2 files changed, 4 insertions(+), 1 deletion(-) rename unittest-cpp.pc => unittest++.pc (100%) diff --git a/unittest-cpp.pc b/unittest++.pc similarity index 100% rename from unittest-cpp.pc rename to unittest++.pc diff --git a/unittest-cpp.spec b/unittest-cpp.spec index 01fab38..a64c717 100644 --- a/unittest-cpp.spec +++ b/unittest-cpp.spec @@ -10,7 +10,7 @@ Name: unittest-cpp # 1.4 is the last version of the old sf.net project. Version: 1.4 # so we're postrelease. -Release: 12%{gitversion}%{?dist} +Release: 13%{gitversion}%{?dist} Summary: Lightweight unit testing framework for C++ License: MIT Group: Development/Libraries @@ -103,6 +103,9 @@ rm -f %{buildroot}%{_libdir}/lib%{oldname}.la %postun -p /sbin/ldconfig %changelog +* Fri Nov 22 2013 Luke Benstead - 1.4-13.20130823gite76d25a +- Rename the .pc file to be consistent with other platforms + * Fri Nov 22 2013 François Cami - 1.4-12.20130823gite76d25a - Misc. spec fixes. From b1c98f414d5488f4feedee0ba68f2965c7e59d5d Mon Sep 17 00:00:00 2001 From: Luke Benstead Date: Fri, 22 Nov 2013 10:54:04 +0000 Subject: [PATCH 07/46] Fix up the spec file after the recent .pc rename --- unittest-cpp.spec | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/unittest-cpp.spec b/unittest-cpp.spec index a64c717..56559d7 100644 --- a/unittest-cpp.spec +++ b/unittest-cpp.spec @@ -10,7 +10,7 @@ Name: unittest-cpp # 1.4 is the last version of the old sf.net project. Version: 1.4 # so we're postrelease. -Release: 13%{gitversion}%{?dist} +Release: 14%{gitversion}%{?dist} Summary: Lightweight unit testing framework for C++ License: MIT Group: Development/Libraries @@ -19,8 +19,8 @@ Group: Development/Libraries URL: https://github.com/%{name}/%{name} Source0: https://github.com/%{name}/%{name}/archive/%{commit}/%{name}-%{version}-%{shortcommit}.tar.gz -# unittest-cpp.pc file courtesy of Luke Benstead -Source1: %{name}.pc +# unittest++.pc file courtesy of Luke Benstead +Source1: unittest++.pc # documentation from 1.4 tarball: docs/UnitTest++.html Source2: %{name}.html @@ -71,7 +71,7 @@ sed -i -e " s,^exec_prefix=,exec_prefix=%{_exec_prefix},g s,^libdir=,libdir=%{_libdir},g s,^includedir=,includedir=%{_includedir},g - " %{name}.pc + " unittest++.pc make %{?_smp_mflags} %check @@ -82,7 +82,7 @@ mkdir -p %{buildroot}%{_includedir}/%{name} mkdir -p %{buildroot}%{_libdir} mkdir -p %{buildroot}%{_datadir}/pkgconfig make DESTDIR=%{buildroot} install -install -p -m 644 %{name}.pc %{buildroot}%{_datadir}/pkgconfig/ +install -p -m 644 unittest++.pc %{buildroot}%{_datadir}/pkgconfig/ rm -f %{buildroot}%{_libdir}/lib%{oldname}.la %files @@ -93,7 +93,7 @@ rm -f %{buildroot}%{_libdir}/lib%{oldname}.la %doc %{name}.html %{_includedir}/%{oldname} %{_libdir}/lib%{oldname}.so -%{_datadir}/pkgconfig/%{name}.pc +%{_datadir}/pkgconfig/unittest++.pc %files static %{_libdir}/lib%{oldname}.a @@ -103,6 +103,9 @@ rm -f %{buildroot}%{_libdir}/lib%{oldname}.la %postun -p /sbin/ldconfig %changelog +* Fri Nov 22 2013 Luke Benstead - 1.4-14.20130823gite76d25a +- Fix .spec file after previous change + * Fri Nov 22 2013 Luke Benstead - 1.4-13.20130823gite76d25a - Rename the .pc file to be consistent with other platforms From c760923b5ceef9b6e2ab1ccf67b982f207196272 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Sat, 7 Jun 2014 21:52:19 -0500 Subject: [PATCH 08/46] - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild --- unittest-cpp.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/unittest-cpp.spec b/unittest-cpp.spec index 56559d7..525f8dc 100644 --- a/unittest-cpp.spec +++ b/unittest-cpp.spec @@ -10,7 +10,7 @@ Name: unittest-cpp # 1.4 is the last version of the old sf.net project. Version: 1.4 # so we're postrelease. -Release: 14%{gitversion}%{?dist} +Release: 15%{gitversion}%{?dist} Summary: Lightweight unit testing framework for C++ License: MIT Group: Development/Libraries @@ -103,6 +103,9 @@ rm -f %{buildroot}%{_libdir}/lib%{oldname}.la %postun -p /sbin/ldconfig %changelog +* Sun Jun 08 2014 Fedora Release Engineering - 1.4-15.20130823gite76d25a +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + * Fri Nov 22 2013 Luke Benstead - 1.4-14.20130823gite76d25a - Fix .spec file after previous change From 98fd8efc731a033b1d9154707e60e4e55427f928 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Mon, 18 Aug 2014 07:01:39 +0000 Subject: [PATCH 09/46] - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild --- unittest-cpp.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/unittest-cpp.spec b/unittest-cpp.spec index 525f8dc..99dd4bf 100644 --- a/unittest-cpp.spec +++ b/unittest-cpp.spec @@ -10,7 +10,7 @@ Name: unittest-cpp # 1.4 is the last version of the old sf.net project. Version: 1.4 # so we're postrelease. -Release: 15%{gitversion}%{?dist} +Release: 16%{gitversion}%{?dist} Summary: Lightweight unit testing framework for C++ License: MIT Group: Development/Libraries @@ -103,6 +103,9 @@ rm -f %{buildroot}%{_libdir}/lib%{oldname}.la %postun -p /sbin/ldconfig %changelog +* Mon Aug 18 2014 Fedora Release Engineering - 1.4-16.20130823gite76d25a +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + * Sun Jun 08 2014 Fedora Release Engineering - 1.4-15.20130823gite76d25a - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild From 41674ac6cdb16efb8ce36747c95b848a8e5194f6 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Sat, 2 May 2015 18:21:06 +0200 Subject: [PATCH 10/46] Rebuilt for GCC 5 C++11 ABI change --- unittest-cpp.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/unittest-cpp.spec b/unittest-cpp.spec index 99dd4bf..91f86f7 100644 --- a/unittest-cpp.spec +++ b/unittest-cpp.spec @@ -10,7 +10,7 @@ Name: unittest-cpp # 1.4 is the last version of the old sf.net project. Version: 1.4 # so we're postrelease. -Release: 16%{gitversion}%{?dist} +Release: 17%{gitversion}%{?dist} Summary: Lightweight unit testing framework for C++ License: MIT Group: Development/Libraries @@ -103,6 +103,9 @@ rm -f %{buildroot}%{_libdir}/lib%{oldname}.la %postun -p /sbin/ldconfig %changelog +* Sat May 02 2015 Kalev Lember - 1.4-17.20130823gite76d25a +- Rebuilt for GCC 5 C++11 ABI change + * Mon Aug 18 2014 Fedora Release Engineering - 1.4-16.20130823gite76d25a - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild From 4144359a980cfebfe29e9708743d4812a09f9062 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Fri, 19 Jun 2015 01:35:25 +0000 Subject: [PATCH 11/46] - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild --- unittest-cpp.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/unittest-cpp.spec b/unittest-cpp.spec index 91f86f7..3df6bb5 100644 --- a/unittest-cpp.spec +++ b/unittest-cpp.spec @@ -10,7 +10,7 @@ Name: unittest-cpp # 1.4 is the last version of the old sf.net project. Version: 1.4 # so we're postrelease. -Release: 17%{gitversion}%{?dist} +Release: 18%{gitversion}%{?dist} Summary: Lightweight unit testing framework for C++ License: MIT Group: Development/Libraries @@ -103,6 +103,9 @@ rm -f %{buildroot}%{_libdir}/lib%{oldname}.la %postun -p /sbin/ldconfig %changelog +* Fri Jun 19 2015 Fedora Release Engineering - 1.4-18.20130823gite76d25a +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + * Sat May 02 2015 Kalev Lember - 1.4-17.20130823gite76d25a - Rebuilt for GCC 5 C++11 ABI change From 2497ae6c1c66701ae484f6650c85dced2b0cdc10 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 5 Feb 2016 02:22:45 +0000 Subject: [PATCH 12/46] - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild --- unittest-cpp.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/unittest-cpp.spec b/unittest-cpp.spec index 3df6bb5..6124b05 100644 --- a/unittest-cpp.spec +++ b/unittest-cpp.spec @@ -10,7 +10,7 @@ Name: unittest-cpp # 1.4 is the last version of the old sf.net project. Version: 1.4 # so we're postrelease. -Release: 18%{gitversion}%{?dist} +Release: 19%{gitversion}%{?dist} Summary: Lightweight unit testing framework for C++ License: MIT Group: Development/Libraries @@ -103,6 +103,9 @@ rm -f %{buildroot}%{_libdir}/lib%{oldname}.la %postun -p /sbin/ldconfig %changelog +* Fri Feb 05 2016 Fedora Release Engineering - 1.4-19.20130823gite76d25a +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + * Fri Jun 19 2015 Fedora Release Engineering - 1.4-18.20130823gite76d25a - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild From fd1e4414682d751db10baa3219f966fafbe7e9f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Cami?= Date: Mon, 28 Mar 2016 17:39:57 +0200 Subject: [PATCH 13/46] update to 1.6.0 + replace our .pc file by upstream's add fix for https://github.com/unittest-cpp/unittest-cpp/issues/105 --- .gitignore | 1 + sources | 2 +- unittest-cpp.spec | 45 +++++++++++++++++++++++++-------------------- 3 files changed, 27 insertions(+), 21 deletions(-) diff --git a/.gitignore b/.gitignore index e6867c9..594150a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /unittest-cpp-1.4-c42e68b.tar.gz /unittest-cpp-e76d25a01c91b38ff8a5182dd690360186136ce7.tar.gz /unittest-cpp-1.4-e76d25a.tar.gz +/unittest-cpp-1.6.0-b69b63a.tar.gz diff --git a/sources b/sources index 91c6a77..ee96cde 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -13826b0994044280f45d03542a0778be unittest-cpp-1.4-e76d25a.tar.gz +037da7ba592b7124e6689378b128b92b unittest-cpp-1.6.0-b69b63a.tar.gz diff --git a/unittest-cpp.spec b/unittest-cpp.spec index 6124b05..b0f52e8 100644 --- a/unittest-cpp.spec +++ b/unittest-cpp.spec @@ -1,16 +1,14 @@ %global _hardened_build 1 -%global commit e76d25a01c91b38ff8a5182dd690360186136ce7 +%global commit b69b63ac2bf4a967b35e853026abb68b3f8442ad %global shortcommit %(c=%{commit}; echo ${c:0:7}) -%global commitdate 20130823 +%global commitdate 20160301 %global gitversion .%{commitdate}git%{shortcommit} %global oldname UnitTest++ Name: unittest-cpp -# 1.4 is the last version of the old sf.net project. -Version: 1.4 -# so we're postrelease. -Release: 19%{gitversion}%{?dist} +Version: 1.6.0 +Release: 1%{gitversion}%{?dist} Summary: Lightweight unit testing framework for C++ License: MIT Group: Development/Libraries @@ -19,8 +17,9 @@ Group: Development/Libraries URL: https://github.com/%{name}/%{name} Source0: https://github.com/%{name}/%{name}/archive/%{commit}/%{name}-%{version}-%{shortcommit}.tar.gz -# unittest++.pc file courtesy of Luke Benstead -Source1: unittest++.pc +# 2013: unittest++.pc file courtesy of Luke Benstead +# 2016: upstream ships its own file instead. +#Source1: unittest++.pc # documentation from 1.4 tarball: docs/UnitTest++.html Source2: %{name}.html @@ -53,36 +52,38 @@ necessary for statically linking test programs. %prep %setup -q -n %{name}-%{commit} -cp -p %SOURCE1 %SOURCE2 . +#cp -p %SOURCE1 %SOURCE2 . +cp -p %SOURCE2 . # autoreconf will complain about missing NEWS and README files touch NEWS ln README.md README # autoreconf will add a GPLv3 license text in COPYING ln LICENSE COPYING autoreconf -i +# upstream https://github.com/unittest-cpp/unittest-cpp/issues/105 +sed -i -e "s,pkgincludedir\ =\ \$(includedir)\/UnitTest++\/,pkgincludedir\ =\ \$(includedir)\/,g" Makefile.in %build %configure # rpmlint unused-direct-shlib-dependency sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool # fill out our .pc template -sed -i -e " - s,^prefix=,prefix=%{_prefix},g - s,^exec_prefix=,exec_prefix=%{_exec_prefix},g - s,^libdir=,libdir=%{_libdir},g - s,^includedir=,includedir=%{_includedir},g - " unittest++.pc +#sed -i -e " +# s,^prefix=,prefix=%{_prefix},g +# s,^exec_prefix=,exec_prefix=%{_exec_prefix},g +# s,^libdir=,libdir=%{_libdir},g +# s,^includedir=,includedir=%{_includedir},g +# " unittest++.pc make %{?_smp_mflags} %check make check %install -mkdir -p %{buildroot}%{_includedir}/%{name} -mkdir -p %{buildroot}%{_libdir} -mkdir -p %{buildroot}%{_datadir}/pkgconfig +#mkdir -p %{buildroot}%{_libdir} +#mkdir -p %{buildroot}%{_datadir}/pkgconfig make DESTDIR=%{buildroot} install -install -p -m 644 unittest++.pc %{buildroot}%{_datadir}/pkgconfig/ +#install -p -m 644 unittest++.pc %{buildroot}%{_datadir}/pkgconfig/ rm -f %{buildroot}%{_libdir}/lib%{oldname}.la %files @@ -93,7 +94,8 @@ rm -f %{buildroot}%{_libdir}/lib%{oldname}.la %doc %{name}.html %{_includedir}/%{oldname} %{_libdir}/lib%{oldname}.so -%{_datadir}/pkgconfig/unittest++.pc +#%{_datadir}/pkgconfig/unittest++.pc +%{_libdir}/pkgconfig/UnitTest++.pc %files static %{_libdir}/lib%{oldname}.a @@ -103,6 +105,9 @@ rm -f %{buildroot}%{_libdir}/lib%{oldname}.la %postun -p /sbin/ldconfig %changelog +* Mon Mar 28 2016 François Cami - 1.6.0-1.20160301gitb69b63a +- Update to 1.6.0 + drop our .pc file (ship upstream's instead). + * Fri Feb 05 2016 Fedora Release Engineering - 1.4-19.20130823gite76d25a - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild From 981d3f8160a237b0fe9136b28f522ffe19c07edc Mon Sep 17 00:00:00 2001 From: Raphael Groner Date: Tue, 7 Jun 2016 12:38:25 +0200 Subject: [PATCH 14/46] bump to v1.6.1, rhbz#1333400 --- .gitignore | 1 + sources | 2 +- unittest++.pc | 12 ------------ unittest-cpp.spec | 10 ++++++++-- 4 files changed, 10 insertions(+), 15 deletions(-) delete mode 100644 unittest++.pc diff --git a/.gitignore b/.gitignore index 594150a..e15e911 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /unittest-cpp-e76d25a01c91b38ff8a5182dd690360186136ce7.tar.gz /unittest-cpp-1.4-e76d25a.tar.gz /unittest-cpp-1.6.0-b69b63a.tar.gz +/unittest-cpp-1.6.1-b69b63a.tar.gz diff --git a/sources b/sources index ee96cde..e304983 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -037da7ba592b7124e6689378b128b92b unittest-cpp-1.6.0-b69b63a.tar.gz +037da7ba592b7124e6689378b128b92b unittest-cpp-1.6.1-b69b63a.tar.gz diff --git a/unittest++.pc b/unittest++.pc deleted file mode 100644 index 045baa3..0000000 --- a/unittest++.pc +++ /dev/null @@ -1,12 +0,0 @@ -prefix= -exec_prefix= -libdir= -includedir= - -Name: unittest++ -Description: unittest-cpp is a unit testing framework for C++ -Version: 1.4.0 -Requires: -Conflicts: -Libs: -L${libdir} -lUnitTest++ -Cflags: -I${includedir}/UnitTest++ diff --git a/unittest-cpp.spec b/unittest-cpp.spec index b0f52e8..95caedf 100644 --- a/unittest-cpp.spec +++ b/unittest-cpp.spec @@ -7,8 +7,8 @@ %global oldname UnitTest++ Name: unittest-cpp -Version: 1.6.0 -Release: 1%{gitversion}%{?dist} +Version: 1.6.1 +Release: 1%{?dist} Summary: Lightweight unit testing framework for C++ License: MIT Group: Development/Libraries @@ -105,6 +105,12 @@ rm -f %{buildroot}%{_libdir}/lib%{oldname}.la %postun -p /sbin/ldconfig %changelog +* Tue Jun 07 2016 Raphael Groner - 1.6.1-1 +- bump to v1.6.1, rhbz#1333400 + +* Tue Jun 07 2016 Raphael Groner - 1.6.1-1 +- bump to v1.6.1, rhbz#1333400 + * Mon Mar 28 2016 François Cami - 1.6.0-1.20160301gitb69b63a - Update to 1.6.0 + drop our .pc file (ship upstream's instead). From d6f3cbc43eaacf86e3f53dedfafb7305ec3b421b Mon Sep 17 00:00:00 2001 From: Raphael Groner Date: Tue, 7 Jun 2016 13:06:24 +0200 Subject: [PATCH 15/46] fix changelog --- unittest-cpp.spec | 3 --- 1 file changed, 3 deletions(-) diff --git a/unittest-cpp.spec b/unittest-cpp.spec index 95caedf..c42b2e8 100644 --- a/unittest-cpp.spec +++ b/unittest-cpp.spec @@ -108,9 +108,6 @@ rm -f %{buildroot}%{_libdir}/lib%{oldname}.la * Tue Jun 07 2016 Raphael Groner - 1.6.1-1 - bump to v1.6.1, rhbz#1333400 -* Tue Jun 07 2016 Raphael Groner - 1.6.1-1 -- bump to v1.6.1, rhbz#1333400 - * Mon Mar 28 2016 François Cami - 1.6.0-1.20160301gitb69b63a - Update to 1.6.0 + drop our .pc file (ship upstream's instead). From b847f2a5a21d89d5e0cfa03ef0e82cd6a709f02d Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 11 Feb 2017 16:45:19 +0000 Subject: [PATCH 16/46] - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild --- unittest-cpp.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/unittest-cpp.spec b/unittest-cpp.spec index c42b2e8..dbcf4c9 100644 --- a/unittest-cpp.spec +++ b/unittest-cpp.spec @@ -8,7 +8,7 @@ Name: unittest-cpp Version: 1.6.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Lightweight unit testing framework for C++ License: MIT Group: Development/Libraries @@ -105,6 +105,9 @@ rm -f %{buildroot}%{_libdir}/lib%{oldname}.la %postun -p /sbin/ldconfig %changelog +* Sat Feb 11 2017 Fedora Release Engineering - 1.6.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + * Tue Jun 07 2016 Raphael Groner - 1.6.1-1 - bump to v1.6.1, rhbz#1333400 From 07878704fb05cd8dcd0d34f5697ea78eb23b2448 Mon Sep 17 00:00:00 2001 From: Builder Date: Sat, 10 Jun 2017 20:13:27 +0200 Subject: [PATCH 17/46] v2.0.0, rhbz#1413235 --- .gitignore | 1 + sources | 2 +- unittest-cpp.spec | 7 +++++-- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index e15e911..56d22e5 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /unittest-cpp-1.4-e76d25a.tar.gz /unittest-cpp-1.6.0-b69b63a.tar.gz /unittest-cpp-1.6.1-b69b63a.tar.gz +/unittest-cpp-2.0.0-b69b63a.tar.gz diff --git a/sources b/sources index e304983..b2cb5aa 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -037da7ba592b7124e6689378b128b92b unittest-cpp-1.6.1-b69b63a.tar.gz +SHA512 (unittest-cpp-2.0.0-b69b63a.tar.gz) = bac1371a2c1a0a67eb0899208afeab318e10edf093460624bcc1fdcfcf7f89e49816aaebe3c7fe8feb58c90b1cdea29a0ab67efd1a38e2aebc2588de6a1d7a28 diff --git a/unittest-cpp.spec b/unittest-cpp.spec index dbcf4c9..6285217 100644 --- a/unittest-cpp.spec +++ b/unittest-cpp.spec @@ -7,8 +7,8 @@ %global oldname UnitTest++ Name: unittest-cpp -Version: 1.6.1 -Release: 2%{?dist} +Version: 2.0.0 +Release: 1%{?dist} Summary: Lightweight unit testing framework for C++ License: MIT Group: Development/Libraries @@ -105,6 +105,9 @@ rm -f %{buildroot}%{_libdir}/lib%{oldname}.la %postun -p /sbin/ldconfig %changelog +* Sat Jun 10 2017 Builder - 2.0.0-1 +- new version + * Sat Feb 11 2017 Fedora Release Engineering - 1.6.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild From 5fcac3f3581926b75edea691955cb7241100c380 Mon Sep 17 00:00:00 2001 From: Raphael Groner Date: Sat, 10 Jun 2017 20:51:55 +0200 Subject: [PATCH 18/46] fix changelog --- unittest-cpp.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unittest-cpp.spec b/unittest-cpp.spec index 6285217..90acd0b 100644 --- a/unittest-cpp.spec +++ b/unittest-cpp.spec @@ -105,7 +105,7 @@ rm -f %{buildroot}%{_libdir}/lib%{oldname}.la %postun -p /sbin/ldconfig %changelog -* Sat Jun 10 2017 Builder - 2.0.0-1 +* Sat Jun 10 2017 Raphael Groner - 2.0.0-1 - new version * Sat Feb 11 2017 Fedora Release Engineering - 1.6.1-2 From 483099187ae790be6a3b12164e5bf5fce0b9385a Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 27 Jul 2017 21:00:57 +0000 Subject: [PATCH 19/46] - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild --- unittest-cpp.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/unittest-cpp.spec b/unittest-cpp.spec index 90acd0b..b001d1f 100644 --- a/unittest-cpp.spec +++ b/unittest-cpp.spec @@ -8,7 +8,7 @@ Name: unittest-cpp Version: 2.0.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Lightweight unit testing framework for C++ License: MIT Group: Development/Libraries @@ -105,6 +105,9 @@ rm -f %{buildroot}%{_libdir}/lib%{oldname}.la %postun -p /sbin/ldconfig %changelog +* Thu Jul 27 2017 Fedora Release Engineering - 2.0.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + * Sat Jun 10 2017 Raphael Groner - 2.0.0-1 - new version From 0e67d3e836b1bcec2c2cdd5548a85fcc758cb9c7 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 3 Aug 2017 09:48:47 +0000 Subject: [PATCH 20/46] - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild --- unittest-cpp.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/unittest-cpp.spec b/unittest-cpp.spec index b001d1f..dd11288 100644 --- a/unittest-cpp.spec +++ b/unittest-cpp.spec @@ -8,7 +8,7 @@ Name: unittest-cpp Version: 2.0.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Lightweight unit testing framework for C++ License: MIT Group: Development/Libraries @@ -105,6 +105,9 @@ rm -f %{buildroot}%{_libdir}/lib%{oldname}.la %postun -p /sbin/ldconfig %changelog +* Thu Aug 03 2017 Fedora Release Engineering - 2.0.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + * Thu Jul 27 2017 Fedora Release Engineering - 2.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild From c043601b93e41a841db00200abe2e698040fd83e Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 9 Feb 2018 20:03:24 +0000 Subject: [PATCH 21/46] - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- unittest-cpp.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/unittest-cpp.spec b/unittest-cpp.spec index dd11288..13e9fad 100644 --- a/unittest-cpp.spec +++ b/unittest-cpp.spec @@ -8,7 +8,7 @@ Name: unittest-cpp Version: 2.0.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Lightweight unit testing framework for C++ License: MIT Group: Development/Libraries @@ -105,6 +105,9 @@ rm -f %{buildroot}%{_libdir}/lib%{oldname}.la %postun -p /sbin/ldconfig %changelog +* Fri Feb 09 2018 Fedora Release Engineering - 2.0.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + * Thu Aug 03 2017 Fedora Release Engineering - 2.0.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild From 154a3a8282bceb2979c82d609fbd8c925bfa7713 Mon Sep 17 00:00:00 2001 From: Richard Shaw Date: Mon, 19 Feb 2018 09:43:16 -0600 Subject: [PATCH 22/46] Update build requirements for gcc/gcc-c++ per https://fedoraproject.org/wiki/Packaging:C_and_C%2B%2B#BuildRequires_and_Requires --- unittest-cpp.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/unittest-cpp.spec b/unittest-cpp.spec index 13e9fad..15b6e3c 100644 --- a/unittest-cpp.spec +++ b/unittest-cpp.spec @@ -24,6 +24,7 @@ Source0: https://github.com/%{name}/%{name}/archive/%{commit}/%{name}-%{v # documentation from 1.4 tarball: docs/UnitTest++.html Source2: %{name}.html +BuildRequires: gcc-c++ BuildRequires: autoconf BuildRequires: libtool From 447c37b6a406dff5abdaffddfeea6a1e9e0c9c9f Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 14 Jul 2018 08:15:33 +0000 Subject: [PATCH 23/46] - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- unittest-cpp.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/unittest-cpp.spec b/unittest-cpp.spec index 15b6e3c..84210be 100644 --- a/unittest-cpp.spec +++ b/unittest-cpp.spec @@ -8,7 +8,7 @@ Name: unittest-cpp Version: 2.0.0 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Lightweight unit testing framework for C++ License: MIT Group: Development/Libraries @@ -106,6 +106,9 @@ rm -f %{buildroot}%{_libdir}/lib%{oldname}.la %postun -p /sbin/ldconfig %changelog +* Sat Jul 14 2018 Fedora Release Engineering - 2.0.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + * Fri Feb 09 2018 Fedora Release Engineering - 2.0.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild From d196ad48b94756ef20dd7ae9709e8c07b0821552 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Tue, 22 Jan 2019 18:41:14 +0100 Subject: [PATCH 24/46] Remove obsolete ldconfig scriptlets References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko --- unittest-cpp.spec | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/unittest-cpp.spec b/unittest-cpp.spec index 84210be..d08a7c4 100644 --- a/unittest-cpp.spec +++ b/unittest-cpp.spec @@ -101,9 +101,7 @@ rm -f %{buildroot}%{_libdir}/lib%{oldname}.la %files static %{_libdir}/lib%{oldname}.a -%post -p /sbin/ldconfig - -%postun -p /sbin/ldconfig +%ldconfig_scriptlets %changelog * Sat Jul 14 2018 Fedora Release Engineering - 2.0.0-5 From 482b0befd78c8979f4d7d3949d90a97d66bc0dfa Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Mon, 28 Jan 2019 20:18:29 +0100 Subject: [PATCH 25/46] Remove obsolete Group tag References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag --- unittest-cpp.spec | 3 --- 1 file changed, 3 deletions(-) diff --git a/unittest-cpp.spec b/unittest-cpp.spec index d08a7c4..a20aed7 100644 --- a/unittest-cpp.spec +++ b/unittest-cpp.spec @@ -11,7 +11,6 @@ Version: 2.0.0 Release: 5%{?dist} Summary: Lightweight unit testing framework for C++ License: MIT -Group: Development/Libraries # old Url: http://sf.net/projects/unittest-cpp URL: https://github.com/%{name}/%{name} @@ -35,7 +34,6 @@ very important aspects of %{name}. %package devel Summary: Object files for development using %{name} -Group: Development/Libraries Requires: %{name}%{?_isa} = %{version}-%{release} %description devel @@ -44,7 +42,6 @@ necessary for developing test programs. %package static Summary: Static library for %{name} -Group: Development/Libraries Requires: %{name}%{?_isa} = %{version}-%{release} %description static From bc2566e4c49dd5acf7475e56e260859fb13279b8 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sun, 3 Feb 2019 10:50:29 +0000 Subject: [PATCH 26/46] - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- unittest-cpp.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/unittest-cpp.spec b/unittest-cpp.spec index a20aed7..cf48c8c 100644 --- a/unittest-cpp.spec +++ b/unittest-cpp.spec @@ -8,7 +8,7 @@ Name: unittest-cpp Version: 2.0.0 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Lightweight unit testing framework for C++ License: MIT @@ -101,6 +101,9 @@ rm -f %{buildroot}%{_libdir}/lib%{oldname}.la %ldconfig_scriptlets %changelog +* Sun Feb 03 2019 Fedora Release Engineering - 2.0.0-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + * Sat Jul 14 2018 Fedora Release Engineering - 2.0.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild From ee7812e05549f2573edef6515f1ab6beed56b4a9 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 27 Jul 2019 02:31:50 +0000 Subject: [PATCH 27/46] - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- unittest-cpp.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/unittest-cpp.spec b/unittest-cpp.spec index cf48c8c..ad5eb36 100644 --- a/unittest-cpp.spec +++ b/unittest-cpp.spec @@ -8,7 +8,7 @@ Name: unittest-cpp Version: 2.0.0 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Lightweight unit testing framework for C++ License: MIT @@ -101,6 +101,9 @@ rm -f %{buildroot}%{_libdir}/lib%{oldname}.la %ldconfig_scriptlets %changelog +* Sat Jul 27 2019 Fedora Release Engineering - 2.0.0-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + * Sun Feb 03 2019 Fedora Release Engineering - 2.0.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild From c6606e3d5e474afb55cd6fa5c0a0db52be192c80 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 31 Jan 2020 02:37:46 +0000 Subject: [PATCH 28/46] - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- unittest-cpp.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/unittest-cpp.spec b/unittest-cpp.spec index ad5eb36..949cad2 100644 --- a/unittest-cpp.spec +++ b/unittest-cpp.spec @@ -8,7 +8,7 @@ Name: unittest-cpp Version: 2.0.0 -Release: 7%{?dist} +Release: 8%{?dist} Summary: Lightweight unit testing framework for C++ License: MIT @@ -101,6 +101,9 @@ rm -f %{buildroot}%{_libdir}/lib%{oldname}.la %ldconfig_scriptlets %changelog +* Fri Jan 31 2020 Fedora Release Engineering - 2.0.0-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + * Sat Jul 27 2019 Fedora Release Engineering - 2.0.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild From 0d218cdeb673fd7637127c88b9787b61550a8c43 Mon Sep 17 00:00:00 2001 From: Leigh Scott Date: Fri, 14 Feb 2020 19:34:52 +0000 Subject: [PATCH 29/46] Update to 2.0.0 release --- .gitignore | 1 + sources | 2 +- unittest-cpp.spec | 47 +++++++++++++---------------------------------- 3 files changed, 15 insertions(+), 35 deletions(-) diff --git a/.gitignore b/.gitignore index 56d22e5..e73f789 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /unittest-cpp-1.6.0-b69b63a.tar.gz /unittest-cpp-1.6.1-b69b63a.tar.gz /unittest-cpp-2.0.0-b69b63a.tar.gz +/unittest-cpp-2.0.0.tar.gz diff --git a/sources b/sources index b2cb5aa..1905b5b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (unittest-cpp-2.0.0-b69b63a.tar.gz) = bac1371a2c1a0a67eb0899208afeab318e10edf093460624bcc1fdcfcf7f89e49816aaebe3c7fe8feb58c90b1cdea29a0ab67efd1a38e2aebc2588de6a1d7a28 +SHA512 (unittest-cpp-2.0.0.tar.gz) = 39318f4ed31534c116679a3257bf1438a6c4b3bef1894dfd40aea934950c6c8197af6a7f61539b8e9ddc67327c9388d7e8a6f8a3e0e966ad26c07554e2429cab diff --git a/unittest-cpp.spec b/unittest-cpp.spec index 949cad2..8d2993c 100644 --- a/unittest-cpp.spec +++ b/unittest-cpp.spec @@ -1,27 +1,16 @@ - %global _hardened_build 1 -%global commit b69b63ac2bf4a967b35e853026abb68b3f8442ad -%global shortcommit %(c=%{commit}; echo ${c:0:7}) -%global commitdate 20160301 -%global gitversion .%{commitdate}git%{shortcommit} %global oldname UnitTest++ Name: unittest-cpp Version: 2.0.0 -Release: 8%{?dist} +Release: 9%{?dist} Summary: Lightweight unit testing framework for C++ License: MIT -# old Url: http://sf.net/projects/unittest-cpp URL: https://github.com/%{name}/%{name} -Source0: https://github.com/%{name}/%{name}/archive/%{commit}/%{name}-%{version}-%{shortcommit}.tar.gz - -# 2013: unittest++.pc file courtesy of Luke Benstead -# 2016: upstream ships its own file instead. -#Source1: unittest++.pc - +Source0: %url/archive/v%{version}/%{name}-%{version}.tar.gz # documentation from 1.4 tarball: docs/UnitTest++.html -Source2: %{name}.html +Source1: %{name}.html BuildRequires: gcc-c++ BuildRequires: autoconf @@ -49,50 +38,37 @@ The %{name}-static package contains the object files necessary for statically linking test programs. %prep -%setup -q -n %{name}-%{commit} -#cp -p %SOURCE1 %SOURCE2 . -cp -p %SOURCE2 . +%autosetup +cp -p %SOURCE1 . # autoreconf will complain about missing NEWS and README files touch NEWS ln README.md README # autoreconf will add a GPLv3 license text in COPYING ln LICENSE COPYING autoreconf -i -# upstream https://github.com/unittest-cpp/unittest-cpp/issues/105 -sed -i -e "s,pkgincludedir\ =\ \$(includedir)\/UnitTest++\/,pkgincludedir\ =\ \$(includedir)\/,g" Makefile.in %build %configure # rpmlint unused-direct-shlib-dependency sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool -# fill out our .pc template -#sed -i -e " -# s,^prefix=,prefix=%{_prefix},g -# s,^exec_prefix=,exec_prefix=%{_exec_prefix},g -# s,^libdir=,libdir=%{_libdir},g -# s,^includedir=,includedir=%{_includedir},g -# " unittest++.pc -make %{?_smp_mflags} +%make_build %check make check %install -#mkdir -p %{buildroot}%{_libdir} -#mkdir -p %{buildroot}%{_datadir}/pkgconfig -make DESTDIR=%{buildroot} install -#install -p -m 644 unittest++.pc %{buildroot}%{_datadir}/pkgconfig/ +%make_install rm -f %{buildroot}%{_libdir}/lib%{oldname}.la %files -%doc AUTHORS LICENSE README.md +%doc AUTHORS README.md +%license LICENSE %{_libdir}/lib%{oldname}.so.* %files devel -%doc %{name}.html +%doc %{name}.html %{_includedir}/%{oldname} %{_libdir}/lib%{oldname}.so -#%{_datadir}/pkgconfig/unittest++.pc %{_libdir}/pkgconfig/UnitTest++.pc %files static @@ -101,6 +77,9 @@ rm -f %{buildroot}%{_libdir}/lib%{oldname}.la %ldconfig_scriptlets %changelog +* Fri Feb 14 2020 Leigh Scott - 2.0.0-9 +- Update to 2.0.0 release + * Fri Jan 31 2020 Fedora Release Engineering - 2.0.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild From f78728944b348b61200dd5e0a406633440934c30 Mon Sep 17 00:00:00 2001 From: Leigh Scott Date: Fri, 14 Feb 2020 20:20:56 +0000 Subject: [PATCH 30/46] Fix configure.ac version test --- fix_version_2.0.0.patch | 12 ++++++++++++ unittest-cpp.spec | 6 ++++-- 2 files changed, 16 insertions(+), 2 deletions(-) create mode 100644 fix_version_2.0.0.patch diff --git a/fix_version_2.0.0.patch b/fix_version_2.0.0.patch new file mode 100644 index 0000000..f7249fc --- /dev/null +++ b/fix_version_2.0.0.patch @@ -0,0 +1,12 @@ +--- a/configure.ac ++++ b/configure.ac +@@ -3,7 +3,7 @@ + + AC_PREREQ([2.69]) + AC_INIT([UnitTest++], +- m4_esyscmd_s([git describe --tags | cut -c2-]), ++ [2.0.0], + [pjohnmeyer@gmail.com], + [unittest-cpp]) + + diff --git a/unittest-cpp.spec b/unittest-cpp.spec index 8d2993c..4d68967 100644 --- a/unittest-cpp.spec +++ b/unittest-cpp.spec @@ -11,6 +11,8 @@ URL: https://github.com/%{name}/%{name} Source0: %url/archive/v%{version}/%{name}-%{version}.tar.gz # documentation from 1.4 tarball: docs/UnitTest++.html Source1: %{name}.html +# Fix configure.ac version test +Patch0: fix_version_2.0.0.patch BuildRequires: gcc-c++ BuildRequires: autoconf @@ -38,7 +40,7 @@ The %{name}-static package contains the object files necessary for statically linking test programs. %prep -%autosetup +%autosetup -p1 cp -p %SOURCE1 . # autoreconf will complain about missing NEWS and README files touch NEWS @@ -63,7 +65,7 @@ rm -f %{buildroot}%{_libdir}/lib%{oldname}.la %files %doc AUTHORS README.md %license LICENSE -%{_libdir}/lib%{oldname}.so.* +%{_libdir}/lib%{oldname}.so.2* %files devel %doc %{name}.html From 67528f46abd0165cac49d24f99a7fd125528be41 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 29 Jul 2020 13:18:56 +0000 Subject: [PATCH 31/46] - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- unittest-cpp.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/unittest-cpp.spec b/unittest-cpp.spec index 4d68967..b3afe34 100644 --- a/unittest-cpp.spec +++ b/unittest-cpp.spec @@ -3,7 +3,7 @@ Name: unittest-cpp Version: 2.0.0 -Release: 9%{?dist} +Release: 10%{?dist} Summary: Lightweight unit testing framework for C++ License: MIT @@ -79,6 +79,9 @@ rm -f %{buildroot}%{_libdir}/lib%{oldname}.la %ldconfig_scriptlets %changelog +* Wed Jul 29 2020 Fedora Release Engineering - 2.0.0-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Fri Feb 14 2020 Leigh Scott - 2.0.0-9 - Update to 2.0.0 release From 69ad0566750a4188876bea25b79c770209d1b13f Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 1 Aug 2020 09:33:29 +0000 Subject: [PATCH 32/46] - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- unittest-cpp.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/unittest-cpp.spec b/unittest-cpp.spec index b3afe34..f317c95 100644 --- a/unittest-cpp.spec +++ b/unittest-cpp.spec @@ -3,7 +3,7 @@ Name: unittest-cpp Version: 2.0.0 -Release: 10%{?dist} +Release: 11%{?dist} Summary: Lightweight unit testing framework for C++ License: MIT @@ -79,6 +79,10 @@ rm -f %{buildroot}%{_libdir}/lib%{oldname}.la %ldconfig_scriptlets %changelog +* Sat Aug 01 2020 Fedora Release Engineering - 2.0.0-11 +- Second attempt - Rebuilt for + https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Wed Jul 29 2020 Fedora Release Engineering - 2.0.0-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild From 45369494f35d57592235cbc98750d479cd114c14 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Sat, 9 Jan 2021 00:24:34 +0000 Subject: [PATCH 33/46] Add BuildRequires: make https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot --- unittest-cpp.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/unittest-cpp.spec b/unittest-cpp.spec index f317c95..3f9933a 100644 --- a/unittest-cpp.spec +++ b/unittest-cpp.spec @@ -14,6 +14,7 @@ Source1: %{name}.html # Fix configure.ac version test Patch0: fix_version_2.0.0.patch +BuildRequires: make BuildRequires: gcc-c++ BuildRequires: autoconf BuildRequires: libtool From fb6c1360a5fe6502f2d704127c519eab3135795e Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 27 Jan 2021 22:41:18 +0000 Subject: [PATCH 34/46] - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- unittest-cpp.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/unittest-cpp.spec b/unittest-cpp.spec index 3f9933a..0fe1d46 100644 --- a/unittest-cpp.spec +++ b/unittest-cpp.spec @@ -3,7 +3,7 @@ Name: unittest-cpp Version: 2.0.0 -Release: 11%{?dist} +Release: 12%{?dist} Summary: Lightweight unit testing framework for C++ License: MIT @@ -80,6 +80,9 @@ rm -f %{buildroot}%{_libdir}/lib%{oldname}.la %ldconfig_scriptlets %changelog +* Wed Jan 27 2021 Fedora Release Engineering - 2.0.0-12 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + * Sat Aug 01 2020 Fedora Release Engineering - 2.0.0-11 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild From 212c3c70d4ed3994d37b357f8ea08a78b1bf59ca Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 23 Jul 2021 20:03:34 +0000 Subject: [PATCH 35/46] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- unittest-cpp.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/unittest-cpp.spec b/unittest-cpp.spec index 0fe1d46..187eb70 100644 --- a/unittest-cpp.spec +++ b/unittest-cpp.spec @@ -3,7 +3,7 @@ Name: unittest-cpp Version: 2.0.0 -Release: 12%{?dist} +Release: 13%{?dist} Summary: Lightweight unit testing framework for C++ License: MIT @@ -80,6 +80,9 @@ rm -f %{buildroot}%{_libdir}/lib%{oldname}.la %ldconfig_scriptlets %changelog +* Fri Jul 23 2021 Fedora Release Engineering - 2.0.0-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + * Wed Jan 27 2021 Fedora Release Engineering - 2.0.0-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild From 4652f4a1d2e56def53d07d141960987cf368b0d7 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 22 Jan 2022 03:32:35 +0000 Subject: [PATCH 36/46] - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- unittest-cpp.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/unittest-cpp.spec b/unittest-cpp.spec index 187eb70..0d01ea7 100644 --- a/unittest-cpp.spec +++ b/unittest-cpp.spec @@ -3,7 +3,7 @@ Name: unittest-cpp Version: 2.0.0 -Release: 13%{?dist} +Release: 14%{?dist} Summary: Lightweight unit testing framework for C++ License: MIT @@ -80,6 +80,9 @@ rm -f %{buildroot}%{_libdir}/lib%{oldname}.la %ldconfig_scriptlets %changelog +* Sat Jan 22 2022 Fedora Release Engineering - 2.0.0-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + * Fri Jul 23 2021 Fedora Release Engineering - 2.0.0-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild From 46cfb287b8fc4004a213f092f88c7a32c4a01c63 Mon Sep 17 00:00:00 2001 From: Troy Dawson Date: Mon, 31 Jan 2022 17:48:24 -0800 Subject: [PATCH 37/46] epel8-playground decommissioned : https://pagure.io/epel/issue/136 --- .gitignore | 0 dead.package | 1 + sources | 0 3 files changed, 1 insertion(+) delete mode 100644 .gitignore create mode 100644 dead.package delete mode 100644 sources diff --git a/.gitignore b/.gitignore deleted file mode 100644 index e69de29..0000000 diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..a72aec0 --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +epel8-playground decommissioned : https://pagure.io/epel/issue/136 diff --git a/sources b/sources deleted file mode 100644 index e69de29..0000000 From 8c322233f638a3e0170c8f21bb21e930f7013a3a Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 23 Jul 2022 11:24:59 +0000 Subject: [PATCH 38/46] Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- unittest-cpp.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/unittest-cpp.spec b/unittest-cpp.spec index 0d01ea7..0ee162f 100644 --- a/unittest-cpp.spec +++ b/unittest-cpp.spec @@ -3,7 +3,7 @@ Name: unittest-cpp Version: 2.0.0 -Release: 14%{?dist} +Release: 15%{?dist} Summary: Lightweight unit testing framework for C++ License: MIT @@ -80,6 +80,9 @@ rm -f %{buildroot}%{_libdir}/lib%{oldname}.la %ldconfig_scriptlets %changelog +* Sat Jul 23 2022 Fedora Release Engineering - 2.0.0-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + * Sat Jan 22 2022 Fedora Release Engineering - 2.0.0-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild From b563fa7382c534c4f9a9aa78908e92a3c8e2ed3b Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 21 Jan 2023 05:50:28 +0000 Subject: [PATCH 39/46] Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- unittest-cpp.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/unittest-cpp.spec b/unittest-cpp.spec index 0ee162f..f5feaf9 100644 --- a/unittest-cpp.spec +++ b/unittest-cpp.spec @@ -3,7 +3,7 @@ Name: unittest-cpp Version: 2.0.0 -Release: 15%{?dist} +Release: 16%{?dist} Summary: Lightweight unit testing framework for C++ License: MIT @@ -80,6 +80,9 @@ rm -f %{buildroot}%{_libdir}/lib%{oldname}.la %ldconfig_scriptlets %changelog +* Sat Jan 21 2023 Fedora Release Engineering - 2.0.0-16 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + * Sat Jul 23 2022 Fedora Release Engineering - 2.0.0-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild From ee4e46c601415ecf75a24f10e0fb6653c93e39f0 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 22 Jul 2023 17:08:21 +0000 Subject: [PATCH 40/46] Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- unittest-cpp.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/unittest-cpp.spec b/unittest-cpp.spec index f5feaf9..768171a 100644 --- a/unittest-cpp.spec +++ b/unittest-cpp.spec @@ -3,7 +3,7 @@ Name: unittest-cpp Version: 2.0.0 -Release: 16%{?dist} +Release: 17%{?dist} Summary: Lightweight unit testing framework for C++ License: MIT @@ -80,6 +80,9 @@ rm -f %{buildroot}%{_libdir}/lib%{oldname}.la %ldconfig_scriptlets %changelog +* Sat Jul 22 2023 Fedora Release Engineering - 2.0.0-17 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + * Sat Jan 21 2023 Fedora Release Engineering - 2.0.0-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild From ff69852fc2a32112cc3ac1e2cb424155e9c77ddc Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 27 Jan 2024 07:08:25 +0000 Subject: [PATCH 41/46] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- unittest-cpp.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/unittest-cpp.spec b/unittest-cpp.spec index 768171a..dc8553c 100644 --- a/unittest-cpp.spec +++ b/unittest-cpp.spec @@ -3,7 +3,7 @@ Name: unittest-cpp Version: 2.0.0 -Release: 17%{?dist} +Release: 18%{?dist} Summary: Lightweight unit testing framework for C++ License: MIT @@ -80,6 +80,9 @@ rm -f %{buildroot}%{_libdir}/lib%{oldname}.la %ldconfig_scriptlets %changelog +* Sat Jan 27 2024 Fedora Release Engineering - 2.0.0-18 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Sat Jul 22 2023 Fedora Release Engineering - 2.0.0-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild From e25fdc0e2d9ca894b93b95d014b0cb3b26046641 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 20 Jul 2024 08:17:26 +0000 Subject: [PATCH 42/46] Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild --- unittest-cpp.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/unittest-cpp.spec b/unittest-cpp.spec index dc8553c..00be629 100644 --- a/unittest-cpp.spec +++ b/unittest-cpp.spec @@ -3,7 +3,7 @@ Name: unittest-cpp Version: 2.0.0 -Release: 18%{?dist} +Release: 19%{?dist} Summary: Lightweight unit testing framework for C++ License: MIT @@ -80,6 +80,9 @@ rm -f %{buildroot}%{_libdir}/lib%{oldname}.la %ldconfig_scriptlets %changelog +* Sat Jul 20 2024 Fedora Release Engineering - 2.0.0-19 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + * Sat Jan 27 2024 Fedora Release Engineering - 2.0.0-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From 9d2caee865ceb4e2cf1bcb18aaa02e018e9142c5 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sun, 19 Jan 2025 13:47:18 +0000 Subject: [PATCH 43/46] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild --- unittest-cpp.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/unittest-cpp.spec b/unittest-cpp.spec index 00be629..15056aa 100644 --- a/unittest-cpp.spec +++ b/unittest-cpp.spec @@ -3,7 +3,7 @@ Name: unittest-cpp Version: 2.0.0 -Release: 19%{?dist} +Release: 20%{?dist} Summary: Lightweight unit testing framework for C++ License: MIT @@ -80,6 +80,9 @@ rm -f %{buildroot}%{_libdir}/lib%{oldname}.la %ldconfig_scriptlets %changelog +* Sun Jan 19 2025 Fedora Release Engineering - 2.0.0-20 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + * Sat Jul 20 2024 Fedora Release Engineering - 2.0.0-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild From 09799363de0ce40aaee424d6e534f206ebcf8541 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 25 Jul 2025 19:47:57 +0000 Subject: [PATCH 44/46] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild --- unittest-cpp.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/unittest-cpp.spec b/unittest-cpp.spec index 15056aa..ad558f8 100644 --- a/unittest-cpp.spec +++ b/unittest-cpp.spec @@ -3,7 +3,7 @@ Name: unittest-cpp Version: 2.0.0 -Release: 20%{?dist} +Release: 21%{?dist} Summary: Lightweight unit testing framework for C++ License: MIT @@ -80,6 +80,9 @@ rm -f %{buildroot}%{_libdir}/lib%{oldname}.la %ldconfig_scriptlets %changelog +* Fri Jul 25 2025 Fedora Release Engineering - 2.0.0-21 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + * Sun Jan 19 2025 Fedora Release Engineering - 2.0.0-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild From 8612b55400019d9633944a679aca01bb1e6a7191 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 17 Jan 2026 19:37:18 +0000 Subject: [PATCH 45/46] Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild --- unittest-cpp.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/unittest-cpp.spec b/unittest-cpp.spec index ad558f8..94c5a2e 100644 --- a/unittest-cpp.spec +++ b/unittest-cpp.spec @@ -3,7 +3,7 @@ Name: unittest-cpp Version: 2.0.0 -Release: 21%{?dist} +Release: 22%{?dist} Summary: Lightweight unit testing framework for C++ License: MIT @@ -80,6 +80,9 @@ rm -f %{buildroot}%{_libdir}/lib%{oldname}.la %ldconfig_scriptlets %changelog +* Sat Jan 17 2026 Fedora Release Engineering - 2.0.0-22 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild + * Fri Jul 25 2025 Fedora Release Engineering - 2.0.0-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild From 30879a45dae5c97b649937b8164d483df870b89c Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 17 Jul 2026 08:11:59 +0000 Subject: [PATCH 46/46] Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild --- unittest-cpp.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/unittest-cpp.spec b/unittest-cpp.spec index 94c5a2e..1b07cd7 100644 --- a/unittest-cpp.spec +++ b/unittest-cpp.spec @@ -3,7 +3,7 @@ Name: unittest-cpp Version: 2.0.0 -Release: 22%{?dist} +Release: 23%{?dist} Summary: Lightweight unit testing framework for C++ License: MIT @@ -80,6 +80,9 @@ rm -f %{buildroot}%{_libdir}/lib%{oldname}.la %ldconfig_scriptlets %changelog +* Fri Jul 17 2026 Fedora Release Engineering - 2.0.0-23 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild + * Sat Jan 17 2026 Fedora Release Engineering - 2.0.0-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild