From f9aa9153b47cab71b120bea222c2190a40d0edc1 Mon Sep 17 00:00:00 2001 From: Gustavo Costa Date: Apr 18 2023 16:22:49 +0000 Subject: Update to 0.5 (rhbz#2187771) --- diff --git a/.gitignore b/.gitignore index 780af3b..9d984f0 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /trurl-0.2.tar.gz /trurl-0.3.tar.gz /trurl-0.4.tar.gz +/trurl-0.5.tar.gz diff --git a/90e0183fe55563012460f8ce46bf95364249b563.patch b/90e0183fe55563012460f8ce46bf95364249b563.patch new file mode 100644 index 0000000..e4f7d1c --- /dev/null +++ b/90e0183fe55563012460f8ce46bf95364249b563.patch @@ -0,0 +1,22 @@ +From 90e0183fe55563012460f8ce46bf95364249b563 Mon Sep 17 00:00:00 2001 +From: Daniel Stenberg +Date: Mon, 17 Apr 2023 23:59:15 +0200 +Subject: [PATCH] version: bump to 0.5 + +Should have been done *before* the release (tag) ... +--- + version.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/version.h b/version.h +index dbac37b..2209a18 100644 +--- a/version.h ++++ b/version.h +@@ -22,6 +22,6 @@ + * + ***************************************************************************/ + +-#define TRURL_VERSION_TXT "0.4" ++#define TRURL_VERSION_TXT "0.5" + + #endif diff --git a/sources b/sources index 4bebd08..8b8764a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (trurl-0.4.tar.gz) = 7d106bf7dd39fb39316a9890bc562a5824dc046acfa50b97954e87ba455b479a2b86cfbf09a130dd39000abbc2e0fdc7038109410cf44c97812489d410693a01 +SHA512 (trurl-0.5.tar.gz) = 1bf81030e8c904e551180b5c51f37ebe382345f397165695b47554e3c712c568351a53a7527891807f89127ea270b72632b24388db4c8efee3e9994cae1def47 diff --git a/trurl.spec b/trurl.spec index 5ecbc0b..b6e5be3 100644 --- a/trurl.spec +++ b/trurl.spec @@ -1,5 +1,5 @@ Name: trurl -Version: 0.4 +Version: 0.5 Release: 1%{?dist} Summary: Command line tool for URL parsing and manipulation @@ -7,11 +7,13 @@ License: curl URL: https://curl.se/trurl Source0: https://github.com/curl/trurl/archive/%{name}-%{version}/%{name}-%{version}.tar.gz +# version: bump to 0.5 +Patch0: https://github.com/curl/trurl/commit/90e0183fe55563012460f8ce46bf95364249b563.patch + BuildRequires: make BuildRequires: gcc -BuildRequires: perl-interpreter BuildRequires: pkgconfig(libcurl) -BuildRequires: perl(Test::More) +BuildRequires: python3-devel %description A small command line tool that parses and manipulates URLs, designed to help @@ -21,7 +23,7 @@ shell script authors everywhere. %autosetup -n %{name}-%{name}-%{version} %build -%make_build +%make_build CFLAGS="%{build_cflags}" %check make test @@ -36,6 +38,12 @@ make test %{_mandir}/man1/%{name}.1* %changelog +* Tue Apr 18 2023 Gustavo Costa - 0.5-1 +- Update to 0.5 (rhbz#2187771) +- Use python to run tests +- Set CFLAGS +- Add patch to update the version + * Tue Apr 11 2023 Gustavo Costa - 0.4-1 - Update to 0.4 (rhbz#2185147)