Hello community, here is the log from the commit of package newtonsoft-json for openSUSE:Factory checked in at 2015-12-24 12:16:10 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/newtonsoft-json (Old) and /work/SRC/openSUSE:Factory/.newtonsoft-json.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "newtonsoft-json" Changes: -------- New Changes file: --- /dev/null 2015-11-02 12:10:47.524024255 +0100 +++ /work/SRC/openSUSE:Factory/.newtonsoft-json.new/newtonsoft-json.changes 2015-12-24 12:16:11.000000000 +0100 @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Tue Nov 24 08:29:01 UTC 2015 - [email protected] + +- initial package based on the SRPM from Raphael Groner + New: ---- newtonsoft-json-7.0.1.tar.gz newtonsoft-json-sign.patch newtonsoft-json-tests-skip-samples.patch newtonsoft-json.changes newtonsoft-json.spec ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ newtonsoft-json.spec ++++++ # # spec file for package newtonsoft-json # # Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %global libname Newtonsoft.Json %bcond_with tests Name: newtonsoft-json Version: 7.0.1 Release: 0 Summary: Popular high-performance JSON framework # almost all files are licensed as MIT/X11, but BSD for LinqBridge.cs # (and LGPLv2.1+ for Tools/7-Zip, not used) License: MIT and BSD-3-Clause URL: http://www.newtonsoft.com/json Source: https://github.com/JamesNK/%{libname}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz # PATCH-MISSING-TAG Patch0: %{name}-sign.patch # PATCH-MISSING-TAG Patch1: %{name}-tests-skip-samples.patch BuildArch: noarch BuildRequires: mono-devel %if %{with tests} # versioned binary enforces nunit version BuildRequires: nunit = 2.6.4 %endif %description %{libname} aka Json.NET is a popular high-performance JSON framework %package devel Summary: Popular high-performance JSON framework Group: Development/Libraries/Other Requires: %{name} = %{version}-%{release} %description devel %{libname} aka Json.NET is a popular high-performance JSON framework %prep %setup -qn%{libname}-%{version} # sign the assembly to get a strong name, https://msdn.microsoft.com/en-us/library/xc31ft41.aspx %patch0 sn -k myKey.snk sed -i /InternalsVisibleTo/d Src/%{libname}/Properties/AssemblyInfo.cs %if %{with tests} # skip files with unmet dependencies (FSharp etc.), FIXME use nuget %patch1 sed -i /DiscriminatedUnionConverterTests.cs/d Src/%{libname}.Tests/%{libname}.Tests.csproj sed -i /Serialization.DependencyInjectionTests.cs/d Src/%{libname}.Tests/%{libname}.Tests.csproj sed -i /Serialization.FSharpTests.cs/d Src/%{libname}.Tests/%{libname}.Tests.csproj sed -i /Serialization.ImmutableCollectionsTests.cs/d Src/%{libname}.Tests/%{libname}.Tests.csproj sed -i /TestObjects.Currency.cs/d Src/%{libname}.Tests/%{libname}.Tests.csproj sed -i /TestObjects.Shape.cs/d Src/%{libname}.Tests/%{libname}.Tests.csproj sed -i /Schema.JsonSchemaBuilderTests.cs/d Src/%{libname}.Tests/%{libname}.Tests.csproj sed -i /Schema.JsonSchemaNodeTests.cs/d Src/%{libname}.Tests/%{libname}.Tests.csproj sed -i /Utilities.StringUtilsTests.cs/d Src/%{libname}.Tests/%{libname}.Tests.csproj %endif %build pushd Src/%{libname} xbuild %{libname}.csproj %install mkdir -p %{buildroot}/%{_prefix}/lib/mono/gac/ gacutil -i Src/%{libname}/bin/Debug/Net45/%{libname}.dll -f -package %{name} -root %{buildroot}/%{_prefix}/lib # pkgconfig mkdir -p %{buildroot}/%{_datadir}/pkgconfig cat <<EOT >>%{buildroot}/%{_datadir}/pkgconfig/%{name}.pc Name: %{libname} Description: %{summary} Version: %{version} Requires: Libs: -r:%{_monodir}/%{name}/%{libname}.dll Libraries=%{_monodir}/%{name}/%{libname}.dll EOT %check %if %{with tests} pushd Src/%{libname}.Tests # FIXME unmet dependencies prevent many tests (Linq, Utilities etc.) xbuild %{libname}.Tests.csproj nunit-console26 -labels -stoponerror bin\Debug\Net45\*.dll #rm -r obj bin %endif %files %defattr(-,root,root,-) %doc *.md Doc/readme.txt Doc/license.txt %{_prefix}/lib/mono/gac/%{libname} %{_prefix}/lib/mono/%{name}/ %files devel %defattr(-,root,root,-) %{_datadir}/pkgconfig/%{name}.pc %changelog ++++++ newtonsoft-json-sign.patch ++++++ --- Src.old/Newtonsoft.Json/Properties/AssemblyInfo.cs 2015-06-22 12:48:49.000000000 +0200 +++ Src/Newtonsoft.Json/Properties/AssemblyInfo.cs 2015-10-10 01:10:01.907315153 +0200 @@ -94,3 +95,5 @@ [assembly: AssemblyVersion("7.0.0.0")] [assembly: AssemblyFileVersion("7.0.1.18621")] [assembly: CLSCompliant(true)] + +[assembly: AssemblyKeyFileAttribute("Dynamic.snk")] ++++++ newtonsoft-json-tests-skip-samples.patch ++++++ --- Src/Newtonsoft.Json.Tests/Newtonsoft.Json.Tests.csproj.old 2015-10-10 12:47:39.121529899 +0200 +++ Src/Newtonsoft.Json.Tests/Newtonsoft.Json.Tests.csproj 2015-10-10 12:48:40.552456667 +0200 @@ -153,7 +153,6 @@ <SubType>Code</SubType> </Compile> <Compile Include="Documentation\Samples\Serializer\DataContractAndDataMember.cs" /> - <Compile Include="Documentation\Samples\Serializer\DefaultSettings.cs" /> <Compile Include="Documentation\Samples\Serializer\DefaultValueAttributeIgnore.cs" /> <Compile Include="Documentation\Samples\Serializer\DefaultValueHandlingIgnore.cs" /> <Compile Include="Documentation\Samples\Serializer\DeserializeAnonymousType.cs" /> @@ -163,12 +162,6 @@ <Compile Include="Documentation\Samples\Serializer\DeserializeExtensionData.cs"> <SubType>Code</SubType> </Compile> - <Compile Include="Documentation\Samples\Serializer\DeserializeImmutableCollections.cs"> - <SubType>Code</SubType> - </Compile> - <Compile Include="Documentation\Samples\Serializer\DeserializeWithDependencyInjection.cs"> - <SubType>Code</SubType> - </Compile> <Compile Include="Documentation\Samples\Serializer\DeserializeMetadataPropertyHandling.cs" /> <Compile Include="Documentation\Samples\Serializer\JsonConstructorAttribute.cs" /> <Compile Include="Documentation\Samples\Serializer\SerializeDateFormatString.cs" /> @@ -209,9 +202,6 @@ <Compile Include="Documentation\Samples\Serializer\SerializeExtensionData.cs"> <SubType>Code</SubType> </Compile> - <Compile Include="Documentation\Samples\Serializer\SerializeImmutableCollections.cs"> - <SubType>Code</SubType> - </Compile> <Compile Include="Documentation\Samples\Serializer\SerializeObject.cs" /> <Compile Include="Documentation\Samples\Serializer\SerializeRawJson.cs" /> <Compile Include="Documentation\Samples\Serializer\SerializeSerializationBinder.cs" />
