Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package sunwait for openSUSE:Factory checked in at 2021-02-09 21:16:42 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/sunwait (Old) and /work/SRC/openSUSE:Factory/.sunwait.new.28504 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "sunwait" Tue Feb 9 21:16:42 2021 rev:3 rq:870307 version:20201026 Changes: -------- --- /work/SRC/openSUSE:Factory/sunwait/sunwait.changes 2020-01-07 23:52:04.747991621 +0100 +++ /work/SRC/openSUSE:Factory/.sunwait.new.28504/sunwait.changes 2021-02-09 21:16:42.874804517 +0100 @@ -1,0 +2,6 @@ +Mon Feb 8 15:12:06 UTC 2021 - Jan Baier <jba...@suse.com> + +- update to version 20201026 + - Fix error in print.cpp in displaying target time + +------------------------------------------------------------------- Old: ---- sunwait-20190321.tar.xz New: ---- sunwait-20201026.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ sunwait.spec ++++++ --- /var/tmp/diff_new_pack.HBCOeQ/_old 2021-02-09 21:16:43.662805414 +0100 +++ /var/tmp/diff_new_pack.HBCOeQ/_new 2021-02-09 21:16:43.666805418 +0100 @@ -1,7 +1,7 @@ # # spec file for package sunwait # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: sunwait -Version: 20190321 +Version: 20201026 Release: 0 Summary: Sunrise, sunset and twilight calculator License: GPL-2.0-or-later ++++++ debian.changelog ++++++ --- /var/tmp/diff_new_pack.HBCOeQ/_old 2021-02-09 21:16:43.714805473 +0100 +++ /var/tmp/diff_new_pack.HBCOeQ/_new 2021-02-09 21:16:43.718805477 +0100 @@ -1,4 +1,4 @@ -sunwait (20190322) stable; urgency=medium +sunwait (20201026) stable; urgency=medium * update to version 20190322 ++++++ sunwait-20190321.tar.xz -> sunwait-20201026.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sunwait-20190321/SunwaitPi.vcxproj new/sunwait-20201026/SunwaitPi.vcxproj --- old/sunwait-20190321/SunwaitPi.vcxproj 1970-01-01 01:00:00.000000000 +0100 +++ new/sunwait-20201026/SunwaitPi.vcxproj 2020-10-26 21:39:53.000000000 +0100 @@ -0,0 +1,97 @@ +???<?xml version="1.0" encoding="utf-8"?> +<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <ItemGroup Label="ProjectConfigurations"> + <ProjectConfiguration Include="Debug|ARM"> + <Configuration>Debug</Configuration> + <Platform>ARM</Platform> + </ProjectConfiguration> + <ProjectConfiguration Include="Release|ARM"> + <Configuration>Release</Configuration> + <Platform>ARM</Platform> + </ProjectConfiguration> + <ProjectConfiguration Include="Debug|ARM64"> + <Configuration>Debug</Configuration> + <Platform>ARM64</Platform> + </ProjectConfiguration> + <ProjectConfiguration Include="Release|ARM64"> + <Configuration>Release</Configuration> + <Platform>ARM64</Platform> + </ProjectConfiguration> + </ItemGroup> + <PropertyGroup Label="Globals"> + <ProjectGuid>{ed0a918a-2232-4894-99cb-298b5c5041f6}</ProjectGuid> + <Keyword>Linux</Keyword> + <RootNamespace>SunwaitPi</RootNamespace> + <MinimumVisualStudioVersion>15.0</MinimumVisualStudioVersion> + <ApplicationType>Linux</ApplicationType> + <ApplicationTypeRevision>1.0</ApplicationTypeRevision> + <TargetLinuxPlatform>Raspberry</TargetLinuxPlatform> + <LinuxProjectType>{8748239F-558C-44D1-944B-07B09C35B330}</LinuxProjectType> + </PropertyGroup> + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'" Label="Configuration"> + <UseDebugLibraries>true</UseDebugLibraries> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM'" Label="Configuration"> + <UseDebugLibraries>false</UseDebugLibraries> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'" Label="Configuration"> + <UseDebugLibraries>false</UseDebugLibraries> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'" Label="Configuration"> + <UseDebugLibraries>true</UseDebugLibraries> + </PropertyGroup> + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> + <ImportGroup Label="ExtensionSettings" /> + <ImportGroup Label="Shared" /> + <ImportGroup Label="PropertySheets" /> + <PropertyGroup Label="UserMacros" /> + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'"> + <Link /> + <RemotePostBuildEvent> + <Command> + </Command> + <Message> + </Message> + </RemotePostBuildEvent> + <ClCompile> + <PreprocessorDefinitions>__linux__;NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> + </ClCompile> + </ItemDefinitionGroup> + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM'"> + <Link> + <LibraryDependencies> + </LibraryDependencies> + </Link> + <RemotePostBuildEvent> + <Command> + </Command> + <Message> + </Message> + </RemotePostBuildEvent> + </ItemDefinitionGroup> + <ItemGroup> + <None Include="LICENSE" /> + </ItemGroup> + <ItemGroup> + <ClCompile Include="print.cpp" /> + <ClCompile Include="sunriset.cpp" /> + <ClCompile Include="sunwait.cpp" /> + </ItemGroup> + <ItemGroup> + <ClInclude Include="print.h" /> + <ClInclude Include="sunriset.h" /> + <ClInclude Include="sunwait.h" /> + </ItemGroup> + <ItemGroup> + <Text Include="USAGE.txt" /> + </ItemGroup> + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM'"> + <ClCompile /> + <ClCompile> + <PreprocessorDefinitions>__linux__;%(PreprocessorDefinitions)</PreprocessorDefinitions> + </ClCompile> + </ItemDefinitionGroup> + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> + <ImportGroup Label="ExtensionTargets" /> +</Project> \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sunwait-20190321/examples.txt new/sunwait-20201026/examples.txt --- old/sunwait-20190321/examples.txt 1970-01-01 01:00:00.000000000 +0100 +++ new/sunwait-20201026/examples.txt 2020-10-26 21:39:53.000000000 +0100 @@ -0,0 +1,5 @@ +# Return DAY or NIGHT +sunwait poll 43.641488N 71.534851W + +# Wait for 10 minutes before sunset +sunwait wait set offset 10 43.641488N 71.534851W diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sunwait-20190321/makefile new/sunwait-20201026/makefile --- old/sunwait-20190321/makefile 2019-03-21 19:31:53.000000000 +0100 +++ new/sunwait-20201026/makefile 2020-10-26 21:39:53.000000000 +0100 @@ -2,13 +2,15 @@ # # 08/12/2014 IFC 0.6 No changes since 0.5 # 02/05/2015 IFC 0.7 No changes since 0.5, still +# 10/03/2020 TLJ 0.9 Move headers to fix build on osx # C=gcc CFLAGS=-c -Wall LDFLAGS= -lm -lstdc++ -SOURCES=sunwait.cpp sunriset.cpp print.cpp sunwait.h sunriset.h print.h +SOURCES=sunwait.cpp sunriset.cpp print.cpp +HEADERS=sunwait.h sunriset.h print.h OBJECTS=$(SOURCES:.cpp=.o) EXECUTABLE=sunwait @@ -21,6 +23,6 @@ $(C) $(CFLAGS) $< -o $@ clean: - rm *.o sunwait + rm -f *.o sunwait diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sunwait-20190321/openwrt/Makefile new/sunwait-20201026/openwrt/Makefile --- old/sunwait-20190321/openwrt/Makefile 1970-01-01 01:00:00.000000000 +0100 +++ new/sunwait-20201026/openwrt/Makefile 2020-10-26 21:39:53.000000000 +0100 @@ -0,0 +1,39 @@ +include $(TOPDIR)/rules.mk + +PKG_NAME:=sunwait +PKG_VERSION:=1.0 +PKG_RELEASE:=1 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz +PKG_SOURCE_PROTO:=git +PKG_SOURCE_URL:=https://github.com/risacher/sunwait.git +PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) + +include $(INCLUDE_DIR)/package.mk + +define Package/sunwait + SUBMENU:=Utilities + SECTION:=util + CATEGORY:=Utilities + TITLE:=Sunwait + URL:=URL:=https://github.com/risacher/sunwait + DEPENDS:=+libstdcpp +libc +endef + +define Package/sunwait/description + Wait until the specified solar event +endef + +define Build/Compile + $(TARGET_CC) $(TARGET_CPPFLAGS) -o $(PKG_BUILD_DIR)/sunwait.o -c $(PKG_BUILD_DIR)/sunwait.cpp + $(TARGET_CC) $(TARGET_CPPFLAGS) -o $(PKG_BUILD_DIR)/sunriset.o -c $(PKG_BUILD_DIR)/sunriset.cpp + $(TARGET_CC) $(TARGET_CPPFLAGS) -o $(PKG_BUILD_DIR)/print.o -c $(PKG_BUILD_DIR)/print.cpp + $(TARGET_CC) $(TARGET_LDFLAGS) -o $(PKG_BUILD_DIR)/$1 $(PKG_BUILD_DIR)/sunwait.o $(PKG_BUILD_DIR)/sunriset.o $(PKG_BUILD_DIR)/print.o -lm -lstdc++ +endef + +define Package/sunwait/install + $(INSTALL_DIR) $(1)/usr/bin + $(INSTALL_BIN) $(PKG_BUILD_DIR)/sunwait $(1)/usr/bin/ +endef + +$(eval $(call BuildPackage,sunwait)) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sunwait-20190321/openwrt/README new/sunwait-20201026/openwrt/README --- old/sunwait-20190321/openwrt/README 1970-01-01 01:00:00.000000000 +0100 +++ new/sunwait-20201026/openwrt/README 2020-10-26 21:39:53.000000000 +0100 @@ -0,0 +1,25 @@ +This Makefile can be used to build sunwait as a package for OpenWRT. + +Dependency: OpenWRT SDK + +Instructions: +- Download the OpenWRT SDK for your platform from; +https://downloads.openwrt.org/releases/xx.xx.x/targets/{platform}/generic/openwrt-sdk_*.tar.xz + +- Extract it to somewhere; +tar -xf openwrt-sdk_*.Linux-x86_64.tar.xz + +- Enter the sdk root; +cd openwrt-sdk_*.Linux-x86_64 + +- Set it up; +./scripts/feeds update -a + +- Copy the Makefile from this path into the sdk, at; +{sdk root}/package/sunwait/Makefile + +- From the sdk root, build it; +make package/sunwait/compile + +This will create the package that can be installed to your router. + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sunwait-20190321/print.cpp new/sunwait-20201026/print.cpp --- old/sunwait-20190321/print.cpp 2019-03-21 19:31:53.000000000 +0100 +++ new/sunwait-20201026/print.cpp 2020-10-26 21:39:53.000000000 +0100 @@ -203,11 +203,11 @@ , pRun->longitude ); - strftime (buffer, 80, "%d-%b-%Y", &nowTm); + strftime (buffer, 80, "%d-%b-%Y", &targetTm); printf (" Date: %s\n", buffer); - strftime (buffer, 80, "%Z", &nowTm); + strftime (buffer, 80, "%Z", &targetTm); printf (" Timezone: %s\n", buffer); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sunwait-20190321/sunriset.cpp new/sunwait-20201026/sunriset.cpp --- old/sunwait-20190321/sunriset.cpp 2019-03-21 19:31:53.000000000 +0100 +++ new/sunwait-20201026/sunriset.cpp 2020-10-26 21:39:53.000000000 +0100 @@ -92,7 +92,7 @@ /* compute the diurnal arc that the sun traverses to reach the specified altitide altit: */ double cost = (sind(altitude) - sind(pRun->latitude) * sind(sdec)) / (cosd(pRun->latitude) * cosd(sdec)); - if (abs(cost) < 1.0) + if (abs(int(cost)) < 1.0) diurnalArc = 2*acosd(cost)/15.0; /* Diurnal arc, hours */ else if (cost>=1.0) diurnalArc = 0.0; // Polar Night @@ -100,7 +100,7 @@ diurnalArc = 24.0; // Midnight Sun if (pRun->debug == ONOFF_ON) - { printf ("Debug: sunriset.cpp: Sun directly south: %f UTC, Dirunal Arc = %f hours\n", southHour, diurnalArc); + { printf ("Debug: sunriset.cpp: Sun directly south: %f UTC, Diurnal Arc = %f hours\n", southHour, diurnalArc); printf ("Debug: sunriset.cpp: Days since 2000: %li\n", pTarget->daysSince2000); if (diurnalArc >= 24.0) printf ("Debug: sunriset.cpp: No rise or set: Midnight Sun\n"); if (diurnalArc <= 0.0) printf ("Debug: sunriset.cpp: No rise or set: Polar Night\n"); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sunwait-20190321/sunwait.cpp new/sunwait-20201026/sunwait.cpp --- old/sunwait-20190321/sunwait.cpp 2019-03-21 19:31:53.000000000 +0100 +++ new/sunwait-20201026/sunwait.cpp 2020-10-26 21:39:53.000000000 +0100 @@ -19,6 +19,7 @@ // IFC 2014-12-08 0.6 Add timezone handling for output - if required // IFC 2015-04-29 0.7 Timezone and DST fixes - and for date line timings // IFC 2015-05-27 0.8 Resolve 'dodgy day' and cleanup +// TLJ 2020-10-03 0.9 Fix build on osx // #include <stdio.h> @@ -34,7 +35,7 @@ #endif // Linux -#if defined __linux__ +#if defined __linux__ || defined __APPLE__ #include <unistd.h> #endif @@ -395,7 +396,7 @@ /* Windows code: End */ /* Linux code: Start */ - #if defined __linux__ + #if defined __linux__ || defined __APPLE__ gmtime_r (pTimet, pTm); #endif /* Linux code: End */ @@ -415,7 +416,7 @@ /* Windows code: End */ /* Linux code: Start */ - #if defined __linux__ + #if defined __linux__ || defined __APPLE__ localtime_r (pTimet, pTm); #endif /* Linux code: End */ @@ -477,7 +478,7 @@ /* Windows code: End */ /* Linux code: Start */ - #if defined __linux__ + #if defined __linux__ || defined __APPLE__ char buffer [80]; signed long int tmpLong = 0; @@ -1130,7 +1131,7 @@ /* Windows code: End */ /* Linux code: Start */ - #if defined __linux__ + #if defined __linux__ || defined __APPLE__ sleep (waitSeconds); // Linux-only (seconds OK) #endif /* Linux code: End */ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sunwait-20190321/sunwait.h new/sunwait-20201026/sunwait.h --- old/sunwait-20190321/sunwait.h 2019-03-21 19:31:53.000000000 +0100 +++ new/sunwait-20201026/sunwait.h 2020-10-26 21:39:53.000000000 +0100 @@ -13,8 +13,8 @@ #define DEFAULT_LIST 1 /* in 'List' mode, report these number days */ #define DEFAULT_ANGLE 0.83 /* Default twighlight angle. */ -#define DEFAULT_LATITUDE 52.952308 -#define DEFAULT_LONGITUDE 359.048052 /* The Buttercross, Bingham, England */ +#define DEFAULT_LATITUDE 40.108306 +#define DEFAULT_LONGITUDE 271.7427 /* South Side School, Champaign, IL, USA */ #define boolean bool #define NOT_SET 9999999 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sunwait-20190321/sunwait.sln new/sunwait-20201026/sunwait.sln --- old/sunwait-20190321/sunwait.sln 1970-01-01 01:00:00.000000000 +0100 +++ new/sunwait-20201026/sunwait.sln 2020-10-26 21:39:53.000000000 +0100 @@ -0,0 +1,58 @@ +??? +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 16 +VisualStudioVersion = 16.0.29230.47 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "sunwait", "sunwait.vcxproj", "{FA29C146-4135-460F-8445-5F7CFD570B45}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "SunwaitPi", "SunwaitPi.vcxproj", "{ED0A918A-2232-4894-99CB-298B5C5041F6}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|ARM = Debug|ARM + Debug|ARM64 = Debug|ARM64 + Debug|x64 = Debug|x64 + Debug|x86 = Debug|x86 + Release|ARM = Release|ARM + Release|ARM64 = Release|ARM64 + Release|x64 = Release|x64 + Release|x86 = Release|x86 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {FA29C146-4135-460F-8445-5F7CFD570B45}.Debug|ARM.ActiveCfg = Debug|Win32 + {FA29C146-4135-460F-8445-5F7CFD570B45}.Debug|ARM64.ActiveCfg = Debug|Win32 + {FA29C146-4135-460F-8445-5F7CFD570B45}.Debug|x64.ActiveCfg = Debug|x64 + {FA29C146-4135-460F-8445-5F7CFD570B45}.Debug|x64.Build.0 = Debug|x64 + {FA29C146-4135-460F-8445-5F7CFD570B45}.Debug|x86.ActiveCfg = Debug|Win32 + {FA29C146-4135-460F-8445-5F7CFD570B45}.Debug|x86.Build.0 = Debug|Win32 + {FA29C146-4135-460F-8445-5F7CFD570B45}.Release|ARM.ActiveCfg = Release|Win32 + {FA29C146-4135-460F-8445-5F7CFD570B45}.Release|ARM64.ActiveCfg = Release|Win32 + {FA29C146-4135-460F-8445-5F7CFD570B45}.Release|x64.ActiveCfg = Release|x64 + {FA29C146-4135-460F-8445-5F7CFD570B45}.Release|x64.Build.0 = Release|x64 + {FA29C146-4135-460F-8445-5F7CFD570B45}.Release|x86.ActiveCfg = Release|Win32 + {FA29C146-4135-460F-8445-5F7CFD570B45}.Release|x86.Build.0 = Release|Win32 + {ED0A918A-2232-4894-99CB-298B5C5041F6}.Debug|ARM.ActiveCfg = Debug|ARM + {ED0A918A-2232-4894-99CB-298B5C5041F6}.Debug|ARM.Build.0 = Debug|ARM + {ED0A918A-2232-4894-99CB-298B5C5041F6}.Debug|ARM.Deploy.0 = Debug|ARM + {ED0A918A-2232-4894-99CB-298B5C5041F6}.Debug|ARM64.ActiveCfg = Debug|ARM64 + {ED0A918A-2232-4894-99CB-298B5C5041F6}.Debug|ARM64.Build.0 = Debug|ARM64 + {ED0A918A-2232-4894-99CB-298B5C5041F6}.Debug|ARM64.Deploy.0 = Debug|ARM64 + {ED0A918A-2232-4894-99CB-298B5C5041F6}.Debug|x64.ActiveCfg = Debug|ARM + {ED0A918A-2232-4894-99CB-298B5C5041F6}.Debug|x64.Build.0 = Debug|ARM + {ED0A918A-2232-4894-99CB-298B5C5041F6}.Debug|x86.ActiveCfg = Debug|ARM + {ED0A918A-2232-4894-99CB-298B5C5041F6}.Release|ARM.ActiveCfg = Release|ARM + {ED0A918A-2232-4894-99CB-298B5C5041F6}.Release|ARM.Build.0 = Release|ARM + {ED0A918A-2232-4894-99CB-298B5C5041F6}.Release|ARM.Deploy.0 = Release|ARM + {ED0A918A-2232-4894-99CB-298B5C5041F6}.Release|ARM64.ActiveCfg = Release|ARM64 + {ED0A918A-2232-4894-99CB-298B5C5041F6}.Release|ARM64.Build.0 = Release|ARM64 + {ED0A918A-2232-4894-99CB-298B5C5041F6}.Release|ARM64.Deploy.0 = Release|ARM64 + {ED0A918A-2232-4894-99CB-298B5C5041F6}.Release|x64.ActiveCfg = Release|ARM + {ED0A918A-2232-4894-99CB-298B5C5041F6}.Release|x86.ActiveCfg = Release|ARM + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {EA55FCD3-DA38-4E6A-9E2F-E95B88769266} + EndGlobalSection +EndGlobal diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sunwait-20190321/sunwait.vcxproj new/sunwait-20201026/sunwait.vcxproj --- old/sunwait-20190321/sunwait.vcxproj 1970-01-01 01:00:00.000000000 +0100 +++ new/sunwait-20201026/sunwait.vcxproj 2020-10-26 21:39:53.000000000 +0100 @@ -0,0 +1,120 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <ItemGroup Label="ProjectConfigurations"> + <ProjectConfiguration Include="Debug|Win32"> + <Configuration>Debug</Configuration> + <Platform>Win32</Platform> + </ProjectConfiguration> + <ProjectConfiguration Include="Release|Win32"> + <Configuration>Release</Configuration> + <Platform>Win32</Platform> + </ProjectConfiguration> + <ProjectConfiguration Include="Debug|x64"> + <Configuration>Debug</Configuration> + <Platform>x64</Platform> + </ProjectConfiguration> + <ProjectConfiguration Include="Release|x64"> + <Configuration>Release</Configuration> + <Platform>x64</Platform> + </ProjectConfiguration> + </ItemGroup> + <PropertyGroup Label="Globals"> + <VCProjectVersion>16.0</VCProjectVersion> + <ProjectGuid>{FA29C146-4135-460F-8445-5F7CFD570B45}</ProjectGuid> + <Keyword>Win32Proj</Keyword> + </PropertyGroup> + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> + <ConfigurationType>Application</ConfigurationType> + <UseDebugLibraries>true</UseDebugLibraries> + <PlatformToolset>v142</PlatformToolset> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> + <ConfigurationType>Application</ConfigurationType> + <UseDebugLibraries>false</UseDebugLibraries> + <PlatformToolset>v142</PlatformToolset> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> + <ConfigurationType>Application</ConfigurationType> + <UseDebugLibraries>true</UseDebugLibraries> + <PlatformToolset>v142</PlatformToolset> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> + <ConfigurationType>Application</ConfigurationType> + <UseDebugLibraries>false</UseDebugLibraries> + <PlatformToolset>v142</PlatformToolset> + </PropertyGroup> + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> + <ImportGroup Label="ExtensionSettings"> + </ImportGroup> + <ImportGroup Label="Shared"> + </ImportGroup> + <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> + <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> + </ImportGroup> + <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> + <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> + </ImportGroup> + <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> + <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> + </ImportGroup> + <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> + <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> + </ImportGroup> + <PropertyGroup Label="UserMacros" /> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> + <LinkIncremental>true</LinkIncremental> + </PropertyGroup> + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> + <LinkIncremental>true</LinkIncremental> + </PropertyGroup> + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> + <ClCompile> + <PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary> + <WarningLevel>Level3</WarningLevel> + <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> + <Optimization>Disabled</Optimization> + </ClCompile> + <Link> + <TargetMachine>MachineX86</TargetMachine> + <GenerateDebugInformation>true</GenerateDebugInformation> + <SubSystem>Console</SubSystem> + </Link> + </ItemDefinitionGroup> + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> + <ClCompile> + <PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> + <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary> + <WarningLevel>Level3</WarningLevel> + <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> + </ClCompile> + <Link> + <TargetMachine>MachineX86</TargetMachine> + <GenerateDebugInformation>true</GenerateDebugInformation> + <SubSystem>Console</SubSystem> + <EnableCOMDATFolding>true</EnableCOMDATFolding> + <OptimizeReferences>true</OptimizeReferences> + </Link> + </ItemDefinitionGroup> + <ItemGroup> + <ClCompile Include="print.cpp" /> + <ClCompile Include="sunriset.cpp" /> + <ClCompile Include="sunwait.cpp" /> + </ItemGroup> + <ItemGroup> + <ClInclude Include="print.h" /> + <ClInclude Include="sunriset.h" /> + <ClInclude Include="sunwait.h" /> + </ItemGroup> + <ItemGroup> + <Text Include="USAGE.txt" /> + </ItemGroup> + <ItemGroup> + <None Include="LICENSE" /> + <None Include="README.md" /> + </ItemGroup> + <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> + <ImportGroup Label="ExtensionTargets"> + </ImportGroup> +</Project> \ No newline at end of file ++++++ sunwait-no-rpm-opt-flags.patch ++++++ --- /var/tmp/diff_new_pack.HBCOeQ/_old 2021-02-09 21:16:43.866805645 +0100 +++ /var/tmp/diff_new_pack.HBCOeQ/_new 2021-02-09 21:16:43.866805645 +0100 @@ -1,19 +1,28 @@ ---- sunwait/makefile 2020-01-06 12:34:43.516253962 +0100 -+++ sunwait/makefile 2020-01-06 13:07:41.381297590 +0100 -@@ -6,7 +6,7 @@ +--- orig/makefile 2021-02-08 16:10:42.938826333 +0100 ++++ sunwait/makefile 2021-02-08 16:11:22.119084413 +0100 +@@ -7,7 +7,7 @@ C=gcc -CFLAGS=-c -Wall +CFLAGS=-c -Wall $(RPM_OPT_FLAGS) LDFLAGS= -lm -lstdc++ - SOURCES=sunwait.cpp sunriset.cpp print.cpp sunwait.h sunriset.h print.h - OBJECTS=$(SOURCES:.cpp=.o) -@@ -21,6 +21,6 @@ + SOURCES=sunwait.cpp sunriset.cpp print.cpp + HEADERS=sunwait.h sunriset.h print.h +@@ -15,7 +15,7 @@ + EXECUTABLE=sunwait + + all: $(SOURCES) $(EXECUTABLE) +- ++ + $(EXECUTABLE): $(OBJECTS) + $(C) $(OBJECTS) -o $@ $(LDFLAGS) + +@@ -23,6 +23,6 @@ $(C) $(CFLAGS) $< -o $@ clean: -- rm *.o sunwait +- rm -f *.o sunwait + $(RM) *.o sunwait ++++++ sunwait.dsc ++++++ --- /var/tmp/diff_new_pack.HBCOeQ/_old 2021-02-09 21:16:43.898805683 +0100 +++ /var/tmp/diff_new_pack.HBCOeQ/_new 2021-02-09 21:16:43.898805683 +0100 @@ -1,6 +1,6 @@ Format: 1.0 Source: sunwait -Version: 20190321 +Version: 20201026 Binary: sunwait Maintainer: Jan Baier <jba...@suse.com> Architecture: any