rpms/mono-sharpcvslib/F-8 mono-sharpcvslib.spec, NONE, 1.1 sharpcvslib-cleanups.patch, NONE, 1.1 sharpcvslib-key.patch, NONE, 1.1 sharpcvslib.pc, NONE, 1.1 sources, 1.1, 1.2
Tom Callaway (spot)
fedora-extras-commits at redhat.com
Sun Apr 13 00:03:19 UTC 2008
- Previous message (by thread): rpms/mono-sharpcvslib/F-7 mono-sharpcvslib.spec, NONE, 1.1 sharpcvslib-cleanups.patch, NONE, 1.1 sharpcvslib-key.patch, NONE, 1.1 sharpcvslib.pc, NONE, 1.1 sources, 1.1, 1.2
- Next message (by thread): rpms/mono-sharpcvslib/F-9 mono-sharpcvslib.spec, NONE, 1.1 sharpcvslib-cleanups.patch, NONE, 1.1 sharpcvslib-key.patch, NONE, 1.1 sharpcvslib.pc, NONE, 1.1 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: spot
Update of /cvs/pkgs/rpms/mono-sharpcvslib/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv26974/F-8
Modified Files:
sources
Added Files:
mono-sharpcvslib.spec sharpcvslib-cleanups.patch
sharpcvslib-key.patch sharpcvslib.pc
Log Message:
branching
--- NEW FILE mono-sharpcvslib.spec ---
Name: mono-sharpcvslib
Version: 0.35
Release: 2%{?dist}
Summary: Client cvs library written in C#
URL: http://sharpcvslib.sourceforge.net/
# Exception: Permission is given to use this library in commercial closed-source applications
# See: README.txt
License: GPLv2+ with exceptions
Group: System Environment/Libraries
# Upstream Source is here: http://downloads.sourceforge.net/sharpcvslib/SharpCvsLib-0.35.3721.507-src.zip
# Unfortunately, they use windows separators. This is the same thing, just rezipped with unix separators.
Source0: SharpCvsLib-0.35.3721.507-src-unix.zip
Source1: sharpcvslib.pc
Patch0: sharpcvslib-cleanups.patch
Patch1: sharpcvslib-key.patch
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildRequires: mono-devel, log4net-devel, nant, mono-nunit
BuildRequires: unzip
ExcludeArch: ppc64 ppc
%description
Gives C# projects the ability to communicate with a CVS server.
%package devel
Summary: Client cvs library written in C#
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: pkgconfig
%description devel
Gives C# projects the ability to communicate with a CVS server.
%prep
%setup -q -c -n sharpcvslib-%{version}
# We need this to compile.
%patch0 -p1 -b .cleanups
%patch1 -p1 -b .key
# Get rid of the binary dlls
rm -rf src/lib/*
rm -rf src/tools/nant/*
# There is probably a better way to do this, but this works.
# All these guys are built from source.
mkdir -p src/lib/ext/
cp %{_libdir}/mono/log4net/log4net.dll src/lib/ext/
cp %{_libdir}/mono/2.0/ICSharpCode.SharpZipLib.dll src/lib/
cp %{_libdir}/mono/1.0/nunit.framework.dll src/lib/ext/
%{__sed} -i 's/\r//' src/doc/README.txt
%{__sed} -i 's/\r//' src/doc/COPYING.txt
%build
# create a Strong Name key to allow build to run
sn -k SharpCvsLib.snk
cd src/build
nant -buildfile:SharpCvsLib.build build.all
# This command works mostly, but fails at the end trying to talk to the Windows registry.
nant -buildfile:SharpCvsLib.build netdoc ||:
%install
%{__rm} -rf $RPM_BUILD_ROOT
%{__mkdir_p} $RPM_BUILD_ROOT/%{_libdir}/pkgconfig
cp %{S:1} $RPM_BUILD_ROOT/%{_libdir}/pkgconfig
%{__mkdir_p} $RPM_BUILD_ROOT/%{_libdir}/mono/gac/
gacutil -i src/bin/cvs.exe -f -package sharpcvslib -root ${RPM_BUILD_ROOT}/%{_libdir}/
gacutil -i src/bin/ICSharpCode.SharpCvsLib.dll -f -package sharpcvslib -root ${RPM_BUILD_ROOT}/%{_libdir}
gacutil -i src/bin/ICSharpCode.SharpCvsLib.Tests.dll -f -package sharpcvslib -root ${RPM_BUILD_ROOT}/%{_libdir}
gacutil -i src/bin/ICSharpCode.SharpCvsLib.Tests-sample.dll -f -package sharpcvslib -root ${RPM_BUILD_ROOT}/%{_libdir}
# Cleanup docs
%{__sed} -i 's/\r//' src/doc/api/msdn/SharpCvsLib.log
%{__sed} -i 's/\r//' src/doc/api/msdn/SharpCvsLib.hhp
%{__sed} -i 's/\r//' src/doc/api/msdn/tree.css
%{__sed} -i 's/\r//' src/doc/api/msdn/MSDN.css
%{__sed} -i 's/\r//' src/doc/api/msdn/tree.js
iconv -f iso-8859-1 -t utf-8 -o src/doc/api/msdn/tree.js{.utf8,}
mv src/doc/api/msdn/tree.js{.utf8,}
%clean
%{__rm} -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc src/doc/README.txt src/doc/COPYING.txt src/doc/*.html
%doc src/doc/images/
%{_libdir}/mono/gac/cvs/
%{_libdir}/mono/gac/ICSharpCode.SharpCvsLib*/
%{_libdir}/mono/sharpcvslib/
%files devel
%defattr(-,root,root,-)
%doc src/doc/api/
%{_libdir}/pkgconfig/sharpcvslib.pc
%changelog
* Sat Apr 12 2008 Tom "spot" Callaway <tcallawa at redhat.com> - 0.35-2
- be consistent with case for "C#"
- add ppc to ExcludeArch, due to nant
- use 1.0 nunit.framework.dll, so this will work on F-8
* Thu Apr 10 2008 Tom "spot" Callaway <tcallawa at redhat.com> - 0.35-1
- initial package for Fedora
sharpcvslib-cleanups.patch:
--- NEW FILE sharpcvslib-cleanups.patch ---
diff -up sharpcvslib-0.35/src/build/SharpCvsLib.build.cleanups sharpcvslib-0.35/src/build/SharpCvsLib.build
--- sharpcvslib-0.35/src/build/SharpCvsLib.build.cleanups 2004-02-21 01:22:54.000000000 -0500
+++ sharpcvslib-0.35/src/build/SharpCvsLib.build 2008-04-10 10:09:33.000000000 -0400
@@ -19,7 +19,7 @@
<target name="update.version" description="Generate the assembly info file for the project. Pass in the version number.">
<!-- Gets the version number and places it in a property called build.version -->
- <ifnot propertyexists="assembly.version">
+ <if test="${not property::exists('assembly.version')}">
<version buildtype="monthday"
path="build.number"
revisiontype="automatic"
@@ -48,7 +48,7 @@
<includes name="System.EnterpriseServices.dll" />
</references>
</asminfo>
- </ifnot>
+ </if>
</target>
<target name="setup">
@@ -56,30 +56,28 @@
<mkdir dir="${dir.bin}/tests" />
<copy todir="${dir.bin}">
<fileset basedir="${dir.lib}">
- <includes name="${lib.zip}" />
+ <include name="${lib.zip}" />
</fileset>
</copy>
<copy todir="${dir.bin}">
<fileset basedir="${dir.lib.ext}">
- <includes name="${lib.log4net}" />
- <includes name="${lib.nunit}" />
+ <include name="${lib.log4net}" />
+ <include name="${lib.nunit}" />
</fileset>
</copy>
<copy todir="${dir.bin}">
<fileset basedir="${dir.conf}">
- <includes name="*.config" />
+ <include name="*.config" />
</fileset>
</copy>
<copy file="${dir.conf}/${name.top-level}.${name.project}.${name.tests}.dll.config"
tofile="${dir.bin}/${name.top-level}.${name.project}.${name.tests}-sample.dll.config" />
<copy todir="${dir.bin}">
<fileset basedir="${dir.doc}">
- <includes name="NamespaceSummary.xml" />
+ <include name="NamespaceSummary.xml" />
</fileset>
</copy>
- <call target="update.version" />
- <echo message="Building assembly version ${assembly.version}" />
</target>
<target name="build.all" depends="clean" description="Build all sources by calling all targets in project build files.">
@@ -131,16 +129,16 @@
<property name="doc.privates" value="False" />
<property name="doc.empty-namespaces" value="False" />
- <property name="doc.include-assembly-version" value="True" />
+ <property name="doc.include-assembly-version" value="False" />
<ndoc verbose="true">
<assemblies basedir="${dir.bin}">
- <includes name="${name.top-level}.${name.lib}.dll" />
- <includes name="${name.console.exe}.exe" />
- <excludes name="${name.top-level}.${name.lib}.${name.tests}.dll"/>
+ <include name="${name.top-level}.${name.lib}.dll" />
+ <include name="${name.console.exe}.exe" />
+ <exclude name="${name.top-level}.${name.lib}.${name.tests}.dll"/>
</assemblies>
<summaries basedir="${dir.bin}">
- <includes name="NamespaceSummary.xml"/>
+ <include name="NamespaceSummary.xml"/>
</summaries>
<documenters>
<documenter name="MSDN">
@@ -197,55 +195,55 @@
this will be used for both the source and binary release -->
<copy todir="${dir.dist}/doc">
<fileset basedir="${dir.doc}">
- <includes name="**/*"/>
+ <include name="**/*"/>
</fileset>
</copy>
<!-- Copy the binary and config files from the bin directory -->
<copy todir="${dir.dist}/bin">
<fileset basedir="${dir.base}">
- <includes name="${dir.bin}/*.dll"/>
- <includes name="${dir.bin}/*.exe"/>
- <includes name="${dir.bin}/*.config"/>
+ <include name="${dir.bin}/*.dll"/>
+ <include name="${dir.bin}/*.exe"/>
+ <include name="${dir.bin}/*.config"/>
</fileset>
</copy>
<copy todir="${dir.dist}/bin">
<fileset basedir="${dir.dist}">
- <includes name="doc**"/>
+ <include name="doc**"/>
</fileset>
</copy>
<copy todir="${dir.dist}/src">
<fileset basedir="${dir.base}">
- <includes name="${dir.external-build}**" />
- <includes name="${dir.bin}**" />
- <includes name="${dir.build}**" />
- <includes name="${dir.conf}**" />
- <includes name="${dir.lib}**" />
- <includes name="${dir.src}**" />
- <includes name="${dir.tools}/nant/win32**" />
- <includes name="${dir.tools}/nant/linux**" />
+ <include name="${dir.external-build}**" />
+ <include name="${dir.bin}**" />
+ <include name="${dir.build}**" />
+ <include name="${dir.conf}**" />
+ <include name="${dir.lib}**" />
+ <include name="${dir.src}**" />
+ <include name="${dir.tools}/nant/win32**" />
+ <include name="${dir.tools}/nant/linux**" />
- <includes name="*.build" />
- <includes name="*.bat" />
- <includes name="*.ndoc" />
+ <include name="*.build" />
+ <include name="*.bat" />
+ <include name="*.ndoc" />
- <includes name="*.csproj" />
- <includes name="*.sln" />
+ <include name="*.csproj" />
+ <include name="*.sln" />
- <includes name="*.prjx" />
- <includes name="*.cmbx" />
+ <include name="*.prjx" />
+ <include name="*.cmbx" />
- <includes name="*.project" />
+ <include name="*.project" />
- <excludes name="${dir.doc}**" />
- <excludes name="**/*.log.*" />
- <excludes name="**/*.log" />
- <excludes name="**/obj**" />
+ <exclude name="${dir.doc}**" />
+ <exclude name="**/*.log.*" />
+ <exclude name="**/*.log" />
+ <exclude name="**/obj**" />
</fileset>
</copy>
<copy todir="${dir.dist}/src">
<fileset basedir="${dir.dist}">
- <includes name="doc**"/>
+ <include name="doc**"/>
</fileset>
</copy>
@@ -268,13 +266,13 @@
<zip zipfile="${dir.output}/${name.lib}-${assembly.version}-bin.zip">
<fileset basedir="${dir.dist}">
- <includes name="bin/**/**.*" />
+ <include name="bin/**/**.*" />
</fileset>
</zip>
<zip zipfile="${dir.output}/${name.lib}-${assembly.version}-src.zip">
<fileset basedir="${dir.dist}">
- <includes name="src/**/**.*" />
+ <include name="src/**/**.*" />
</fileset>
</zip>
diff -up sharpcvslib-0.35/src/build/SharpCvsLib.common.xml.cleanups sharpcvslib-0.35/src/build/SharpCvsLib.common.xml
--- sharpcvslib-0.35/src/build/SharpCvsLib.common.xml.cleanups 2004-02-21 01:00:32.000000000 -0500
+++ sharpcvslib-0.35/src/build/SharpCvsLib.common.xml 2008-04-10 10:09:33.000000000 -0400
@@ -27,7 +27,7 @@
CVS may be copied only under the terms of the GNU General Public License,
a copy of which can be found with the CVS distribution kit." />
<property name="assembly.copyright.href" value="http://sharpcvslib.sourceforge.net/license.html" />
- <property name="assembly.description" value="${nant.platform.name}; ${nant.settings.defaultframework}; ${build.date}" />
+ <property name="assembly.description" value="${platform::get-name()}; ${build.date}" />
<property name="assembly.company" value="SharpCvsLib - http://sharpcvslib.sourceforge.net" />
<!-- Compiler information/ settings -->
@@ -38,7 +38,7 @@ a copy of which can be found with the CV
<property name="compile.define" value="DEBUG;TRACE" />
<!-- Directory structure -->
- <property name="dir.base" value="${nant.project.basedir}/.." />
+ <property name="dir.base" value="${project::get-base-directory()}/.." />
<property name="dir.bin" value="${dir.base}/bin" />
<property name="dir.build" value="${dir.base}/build" />
<property name="dir.conf" value="${dir.base}/conf" />
@@ -63,4 +63,4 @@ a copy of which can be found with the CV
[...2515 lines suppressed...]
- Assertion.Assert(line.Equals("Goodbye"));
+ Assert.IsTrue(line.Equals("Goodbye"));
cvsStream.BaseStream.Close();
}
@@ -502,11 +502,11 @@ namespace ICSharpCode.SharpCvsLib.Stream
// Now read the stream.
word = cvsStream.ReadToFirstWS();
- Assertion.Assert(word.Equals("Hello "));
+ Assert.IsTrue(word.Equals("Hello "));
word = cvsStream.ReadToFirstWS();
- Assertion.Assert(word.Equals("World!\n"));
+ Assert.IsTrue(word.Equals("World!\n"));
word = cvsStream.ReadToFirstWS();
- Assertion.Assert(word.Equals("Goodbye\n"));
+ Assert.IsTrue(word.Equals("Goodbye\n"));
cvsStream.BaseStream.Close();
}
diff -up sharpcvslib-0.35/src/src/ICSharpCode.Tests/SharpCvsLib/Tests/AbstractTest.cs.cleanups sharpcvslib-0.35/src/src/ICSharpCode.Tests/SharpCvsLib/Tests/AbstractTest.cs
--- sharpcvslib-0.35/src/src/ICSharpCode.Tests/SharpCvsLib/Tests/AbstractTest.cs.cleanups 2008-04-10 10:10:07.000000000 -0400
+++ sharpcvslib-0.35/src/src/ICSharpCode.Tests/SharpCvsLib/Tests/AbstractTest.cs 2008-04-10 13:26:48.000000000 -0400
@@ -45,7 +45,7 @@ using ICSharpCode.SharpCvsLib.Tests.Conf
using log4net;
// TODO: Change to internalize helpers (remove)
-[assembly: log4net.Config.DOMConfigurator(
+[assembly: log4net.Config.XmlConfigurator(
ConfigFileExtension="config", Watch=true)]
namespace ICSharpCode.SharpCvsLib.Tests {
@@ -155,15 +155,15 @@ namespace ICSharpCode.SharpCvsLib.Tests
System.Console.WriteLine (this.settings.Config.LocalPath);
CVSServerConnection connection = new CVSServerConnection ();
- Assertion.AssertNotNull ("Should have a connection object.", connection);
+ Assert.IsNotNull (connection, "Should have a connection object.");
ICommand command = new CheckoutModuleCommand (working);
- Assertion.AssertNotNull ("Should have a command object.", command);
+ Assert.IsNotNull (command, "Should have a command object.");
try {
connection.Connect (working, this.settings.Config.ValidPassword);
} catch (AuthenticationException) {
- Assertion.Assert ("Failed to authenticate with server.", true);
+ Assert.IsTrue (true, "Failed to authenticate with server.");
}
command.Execute (connection);
diff -up sharpcvslib-0.35/src/src/ICSharpCode.Tests/SharpCvsLib/Tests.build.cleanups sharpcvslib-0.35/src/src/ICSharpCode.Tests/SharpCvsLib/Tests.build
--- sharpcvslib-0.35/src/src/ICSharpCode.Tests/SharpCvsLib/Tests.build.cleanups 2004-01-28 07:55:02.000000000 -0500
+++ sharpcvslib-0.35/src/src/ICSharpCode.Tests/SharpCvsLib/Tests.build 2008-04-10 10:09:33.000000000 -0400
@@ -10,19 +10,28 @@
define="${compile.define}">
<arg value="${compile.unsafe}" />
<arg value="${compile.checked}" />
+ <nowarn>
+ <!-- ignore unused variables -->
+ <warning number="219" />
+ <!-- ignore unused private fields -->
+ <warning number="414" />
+ <!-- ignore unused private methods -->
+ <warning number="169" />
+ </nowarn>
<sources>
- <includes name="**/*.cs" />
- <includes name="../../${name.top-level}/${name.project}/**.cs" />
- <includes name="../../${name.top-level}.${name.console}/${name.project}/**.cs" />
- <excludes name="../../${name.top-level}/${name.project}/AssemblyInfo.cs" />
- <excludes name="../../${name.top-level}.${name.console}/${name.project}/AssemblyInfo.cs" />
+ <include name="**/*.cs" />
+ <include name="../../${name.top-level}/${name.project}/**.cs" />
+ <include name="../../${name.top-level}.${name.console}/${name.project}/**.cs" />
+ <exclude name="../../${name.top-level}/${name.project}/AssemblyInfo.cs" />
+ <exclude name="../../${name.top-level}.${name.console}/${name.project}/AssemblyInfo.cs" />
</sources>
<references>
- <includes name="System.dll" />
- <includes name="${dir.lib}/${lib.zip}" />
- <includes name="${dir.lib.ext}/${lib.log4net}" />
- <includes name="${dir.lib.ext}/${lib.nunit}" />
+ <include name="System.dll" />
+ <include name="System.Configuration.dll" />
+ <include name="${dir.lib}/${lib.zip}" />
+ <include name="${dir.lib.ext}/${lib.log4net}" />
+ <include name="${dir.lib.ext}/${lib.nunit}" />
</references>
</csc>
</target>
@@ -35,23 +44,32 @@
<arg value="${compile.unsafe}" />
<arg value="${compile.checked}" />
+ <nowarn>
+ <!-- ignore unused variables -->
+ <warning number="219" />
+ <!-- ignore unused private fields -->
+ <warning number="414" />
+ <!-- ignore unused private methods -->
+ <warning number="169" />
+ </nowarn>
<sources>
- <includes name="**/*.cs" />
- <includes name="../../${name.top-level}/${name.project}/**.cs" />
- <includes name="../../${name.top-level}.${name.console}/${name.project}/**.cs" />
- <excludes name="../../${name.top-level}/${name.project}/AssemblyInfo.cs" />
- <excludes name="../../${name.top-level}.${name.console}/${name.project}/AssemblyInfo.cs" />
- <excludes name="Commands/*.cs" />
- <excludes name="Console/Commands/*.cs"/>
- <excludes name="FileHandler/*.cs" />
- <excludes name="FileSystem/ManagerTest.cs" />
+ <include name="**/*.cs" />
+ <include name="../../${name.top-level}/${name.project}/**.cs" />
+ <include name="../../${name.top-level}.${name.console}/${name.project}/**.cs" />
+ <exclude name="../../${name.top-level}/${name.project}/AssemblyInfo.cs" />
+ <exclude name="../../${name.top-level}.${name.console}/${name.project}/AssemblyInfo.cs" />
+ <exclude name="Commands/*.cs" />
+ <exclude name="Console/Commands/*.cs"/>
+ <exclude name="FileHandler/*.cs" />
+ <exclude name="FileSystem/ManagerTest.cs" />
</sources>
<references>
- <includes name="System.dll" />
- <includes name="${dir.lib}/${lib.zip}" />
- <includes name="${dir.lib.ext}/${lib.log4net}" />
- <includes name="${dir.lib.ext}/${lib.nunit}" />
+ <include name="System.dll" />
+ <include name="System.Configuration.dll" />
+ <include name="${dir.lib}/${lib.zip}" />
+ <include name="${dir.lib.ext}/${lib.log4net}" />
+ <include name="${dir.lib.ext}/${lib.nunit}" />
</references>
</csc>
</target>
@@ -76,8 +94,8 @@
<target name="tests-to-html" failonerror="false">
<nunit2report out="${dir.bin}/tests/index.html" >
<fileset>
- <includes name="${dir.bin}/tests/${name.top-level}.${name.project}.${name.tests}-sample.dll-results.xml" />
+ <include name="${dir.bin}/tests/${name.top-level}.${name.project}.${name.tests}-sample.dll-results.xml" />
</fileset>
</nunit2report>
</target>
-</project>
\ No newline at end of file
+</project>
diff -up sharpcvslib-0.35/src/src/ICSharpCode.Tests/SharpCvsLib/Tests/Config/SharpCvsLibTestsConfig.cs.cleanups sharpcvslib-0.35/src/src/ICSharpCode.Tests/SharpCvsLib/Tests/Config/SharpCvsLibTestsConfig.cs
--- sharpcvslib-0.35/src/src/ICSharpCode.Tests/SharpCvsLib/Tests/Config/SharpCvsLibTestsConfig.cs.cleanups 2003-11-27 21:49:20.000000000 -0500
+++ sharpcvslib-0.35/src/src/ICSharpCode.Tests/SharpCvsLib/Tests/Config/SharpCvsLibTestsConfig.cs 2008-04-10 10:09:33.000000000 -0400
@@ -201,8 +201,9 @@ namespace ICSharpCode.SharpCvsLib.Tests.
SharpCvsLibTestsConfig config;
try {
config =
- (SharpCvsLibTestsConfig)ConfigurationSettings.GetConfig
- (SharpCvsLibTestsConfigHandler.APP_CONFIG_SECTION);
+ // (SharpCvsLibTestsConfig)ConfigurationSettings.GetConfig
+ // (SharpCvsLibTestsConfigHandler.APP_CONFIG_SECTION);
+ (SharpCvsLibTestsConfig) System.Configuration.ConfigurationManager.GetSection (SharpCvsLibTestsConfigHandler.APP_CONFIG_SECTION);
if (null == config) {
config = new SharpCvsLibTestsConfig ();
diff -up sharpcvslib-0.35/src/src/ICSharpCode.Tests/SharpCvsLib/Util/DateParserTest.cs.cleanups sharpcvslib-0.35/src/src/ICSharpCode.Tests/SharpCvsLib/Util/DateParserTest.cs
--- sharpcvslib-0.35/src/src/ICSharpCode.Tests/SharpCvsLib/Util/DateParserTest.cs.cleanups 2008-04-10 13:22:47.000000000 -0400
+++ sharpcvslib-0.35/src/src/ICSharpCode.Tests/SharpCvsLib/Util/DateParserTest.cs 2008-04-10 13:24:02.000000000 -0400
@@ -98,9 +98,9 @@ namespace ICSharpCode.SharpCvsLib.Util {
int year,
int month,
int day) {
- Assertion.AssertEquals (year, date.Year);
- Assertion.AssertEquals (month, date.Month);
- Assertion.AssertEquals (day, date.Day);
+ Assert.AreEqual (year, date.Year);
+ Assert.AreEqual (month, date.Month);
+ Assert.AreEqual (day, date.Day);
}
private void AssertDateEquals (DateTime date,
int year,
@@ -109,12 +109,12 @@ namespace ICSharpCode.SharpCvsLib.Util {
int hour,
int minute,
int second) {
- Assertion.AssertEquals (year, date.Year);
- Assertion.AssertEquals (month, date.Month);
- Assertion.AssertEquals (day, date.Day);
- Assertion.AssertEquals (hour, date.Hour);
- Assertion.AssertEquals (minute, date.Minute);
- Assertion.AssertEquals (second, date.Second);
+ Assert.AreEqual (year, date.Year);
+ Assert.AreEqual (month, date.Month);
+ Assert.AreEqual (day, date.Day);
+ Assert.AreEqual (hour, date.Hour);
+ Assert.AreEqual (minute, date.Minute);
+ Assert.AreEqual (second, date.Second);
}
}
}
sharpcvslib-key.patch:
--- NEW FILE sharpcvslib-key.patch ---
diff -up sharpcvslib-0.35/src/src/ICSharpCode.Console/SharpCvsLib/Console.build.key sharpcvslib-0.35/src/src/ICSharpCode.Console/SharpCvsLib/Console.build
--- sharpcvslib-0.35/src/src/ICSharpCode.Console/SharpCvsLib/Console.build.key 2008-04-10 14:12:54.000000000 -0400
+++ sharpcvslib-0.35/src/src/ICSharpCode.Console/SharpCvsLib/Console.build 2008-04-10 14:30:44.000000000 -0400
@@ -9,6 +9,7 @@
output="${dir.bin}/${name.console.exe}.exe"
debug="${compile.debug}"
define="${compile.define}"
+ keyfile="../../../../SharpCvsLib.snk"
doc="${dir.bin}/${name.console.exe}.xml">
>
diff -up sharpcvslib-0.35/src/src/ICSharpCode/SharpCvsLib/SharpCvsLib.build.key sharpcvslib-0.35/src/src/ICSharpCode/SharpCvsLib/SharpCvsLib.build
--- sharpcvslib-0.35/src/src/ICSharpCode/SharpCvsLib/SharpCvsLib.build.key 2008-04-10 14:12:54.000000000 -0400
+++ sharpcvslib-0.35/src/src/ICSharpCode/SharpCvsLib/SharpCvsLib.build 2008-04-10 14:28:29.000000000 -0400
@@ -8,6 +8,7 @@
output="${dir.bin}/${name.top-level}.${name.lib}.dll"
debug="${compile.debug}"
define="${compile.define}"
+ keyfile="../../../../SharpCvsLib.snk"
doc="${dir.bin}/${name.top-level}.${name.lib}.xml">
<nowarn>
diff -up sharpcvslib-0.35/src/src/ICSharpCode.Tests/SharpCvsLib/Tests.build.key sharpcvslib-0.35/src/src/ICSharpCode.Tests/SharpCvsLib/Tests.build
--- sharpcvslib-0.35/src/src/ICSharpCode.Tests/SharpCvsLib/Tests.build.key 2008-04-10 14:12:54.000000000 -0400
+++ sharpcvslib-0.35/src/src/ICSharpCode.Tests/SharpCvsLib/Tests.build 2008-04-10 14:31:35.000000000 -0400
@@ -7,6 +7,7 @@
warnaserror="${compile.warnaserror}"
output="${dir.bin}/${name.top-level}.${name.project}.${name.tests}.dll"
debug="${compile.debug}"
+ keyfile="../../../../SharpCvsLib.snk"
define="${compile.define}">
<arg value="${compile.unsafe}" />
<arg value="${compile.checked}" />
@@ -40,6 +41,7 @@
warnaserror="${compile.warnaserror}"
output="${dir.bin}/${name.top-level}.${name.project}.${name.tests}-sample.dll"
debug="${compile.debug}"
+ keyfile="../../../../SharpCvsLib.snk"
define="${compile.define}">
<arg value="${compile.unsafe}" />
--- NEW FILE sharpcvslib.pc ---
prefix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
Name: sharpcvslib
Description: sharpcvslib - Client CVS library written in C#
Version: 0.35
Libs: -r:${libdir}/mono/sharpcvslib/ICSharpCode.SharpCvsLib.dll -r:${libdir}/mono/sharpcvslib/ICSharpCode.SharpCvsLib-Tests.dll -r:${libdir}/mono/sharpcvslib/ICSharpCode.SharpCvsLib.Tests-sample.dll
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/mono-sharpcvslib/F-8/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 12 Apr 2008 23:42:26 -0000 1.1
+++ sources 13 Apr 2008 00:02:38 -0000 1.2
@@ -0,0 +1 @@
+e480d341ff54298ddae2acbedf03d00b SharpCvsLib-0.35.3721.507-src-unix.zip
- Previous message (by thread): rpms/mono-sharpcvslib/F-7 mono-sharpcvslib.spec, NONE, 1.1 sharpcvslib-cleanups.patch, NONE, 1.1 sharpcvslib-key.patch, NONE, 1.1 sharpcvslib.pc, NONE, 1.1 sources, 1.1, 1.2
- Next message (by thread): rpms/mono-sharpcvslib/F-9 mono-sharpcvslib.spec, NONE, 1.1 sharpcvslib-cleanups.patch, NONE, 1.1 sharpcvslib-key.patch, NONE, 1.1 sharpcvslib.pc, NONE, 1.1 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list