From 53b25ee1ca75ec720dd6f7d3b939999c0811c637 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Thu, 25 May 2023 08:32:48 +0200 Subject: [PATCH] Orphaned for 6+ weeks --- .gitignore | 1 - README.md | 3 -- changelog | 2 - dead.package | 1 + sources | 1 - wyhash.spec | 126 --------------------------------------------------- 6 files changed, 1 insertion(+), 133 deletions(-) delete mode 100644 .gitignore delete mode 100644 README.md delete mode 100644 changelog create mode 100644 dead.package delete mode 100644 sources delete mode 100644 wyhash.spec diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 5494e3a..0000000 --- a/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/wyhash-wyhash_final.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index bee77e8..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# wyhash - -The wyhash package diff --git a/changelog b/changelog deleted file mode 100644 index b196415..0000000 --- a/changelog +++ /dev/null @@ -1,2 +0,0 @@ -* Sat Mar 06 2021 Benjamin A. Beasley - 1.20210306gitfinal -- Initial package diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..5204a84 --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +Orphaned for 6+ weeks diff --git a/sources b/sources deleted file mode 100644 index c912fcc..0000000 --- a/sources +++ /dev/null @@ -1 +0,0 @@ -SHA512 (wyhash-wyhash_final.tar.gz) = 8f71005a478cbc65fc0c9314620cbbfd42c1fc76d114771f5d8cf82424727116803ff7f8ded2d8abef664f87424676d07f5fe7f6b8084c9e9141dbe96b4af8f4 diff --git a/wyhash.spec b/wyhash.spec deleted file mode 100644 index 656f45c..0000000 --- a/wyhash.spec +++ /dev/null @@ -1,126 +0,0 @@ -# Upstream has haphazard versioning: after going through “v1”-“v6”, they -# selected a version “final1”, and are now working on “final2”. They also keep -# all old versions in the git repository. We will package only based on the -# “final” version numbers. When “final2” is released, this package will move -# forward to that version, with “final1” offered in a parallel-installable -# compat package. -# -# Since versioning is so wonky, we treat the git tag as a snapshot version. -%global tag wyhash_final -%global snapdate 20200311 - -Name: wyhash -Summary: No hash function is perfect, but some are useful -Version: final1^%{snapdate}git%{tag} -Release: %autorelease - -# SPDX -License: Unlicense -URL: https://github.com/wangyi-fudan/wyhash -Source0: %{url}/archive/%{tag}/wyhash-%{tag}.tar.gz - -# https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval -ExcludeArch: %{ix86} - -BuildRequires: gcc-c++ -BuildRequires: make - -# We need the delimiter in the “compat” version because the name ends, and the -# version starts, with a letter. See -# https://docs.fedoraproject.org/en-US/packaging-guidelines/Naming/#multiple. -%global baseversion %(echo '%{version}' | cut -d '^' -f 1) -%global compat_name wyhash_%{baseversion} - -# No compiled code is installed, so this would be empty. -%global debug_package %{nil} - -%global common_description %{expand: -No hash function is perfect, but some are useful. - -wyhash and wyrand are the ideal 64-bit hash function and PRNG respectively: - -solid: wyhash passed SMHasher, wyrand passed BigCrush, practrand. - -portable: 64-bit/32-bit system, big/little endian. - -fastest: Efficient on 64-bit machines, especially for short keys. - -simplest: In the sense of code size.} - -%description %{common_description} - - -%package devel -Summary: %{summary} - -BuildArch: noarch - -# Since this is a header-only library, dependent packages must require one of -# the -static virtual Provides. -Provides: wyhash-static = %{version}-%{release} - -Provides: %{compat_name}-devel = %{version}-%{release} -Provides: %{compat_name}-static = %{version}-%{release} - -%description devel %{common_description} - -Dependent packages that require version %{baseversion} in particular should use -the virtual Provides for %{compat_name}-devel/%{compat_name}-static, and should -add -I%{_includedir}/%{compat_name} to their compiler flags. - - -%package doc -Summary: Documentation for wyhash -BuildArch: noarch - -%description doc %{common_description} - - -%prep -%autosetup -n wyhash-%{tag} - -# Build the tests with the distribution’s preferred flags -sed -r -i \ - -e 's/ -O3\b//g' \ - -e 's/ -march=native\b/ \$\(CXXFLAGS\) \$\(LDFLAGS\)/g' \ - makefile - - -%build -%set_build_flags -# We build only the test executable, not the benchmarks. -%make_build test_vector CXX="${CXX-g++}" - - -%install -# We install only the main wyhash header; others, like wyhash32 and o1hash, are -# not yet properly versioned. We put it in a subdirectory of _includedir for -# parallel-installability; dependent packages requiring particular versions -# will have to adjust their CFLAGS. -install -D -p -m 0644 -t %{buildroot}%{_includedir}/%{compat_name} wyhash.h - -# For this package, which tracks the latest version, we also allow the header -# to be used without adding the subdirectory to the CFLAGS. -ln -s %{compat_name}/wyhash.h %{buildroot}%{_includedir}/wyhash.h - - -%check -./test_vector - - -%files devel -%license LICENSE - -%{_includedir}/%{compat_name}/ -%{_includedir}/wyhash.h - - -%files doc -%license LICENSE -%doc README.md -# An academic paper on the algorithm: -%doc *.docx - - -%changelog -%autochangelog