salimma pushed to rust-nu-ansi-term (rawhide). "Initial Fedora
package (..more)"
by notificationsï¼ fedoraproject.org
Notification time stamped 2022-04-01 03:49:58 UTC
From c5da2ae2a374b92242e835f687f5dfad83d33122 Mon Sep 17 00:00:00 2001
From: Michel Alexandre Salim <salimma(a)fedoraproject.org>
Date: Apr 01 2022 03:37:51 +0000
Subject: Initial Fedora package
Signed-off-by: Michel Alexandre Salim <salimma(a)fedoraproject.org>
---
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..65cf32e
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/nu-ansi-term-0.45.1.crate
diff --git a/nu-ansi-term-fix-metadata.diff b/nu-ansi-term-fix-metadata.diff
new file mode 100644
index 0000000..99e4a86
--- /dev/null
+++ b/nu-ansi-term-fix-metadata.diff
@@ -0,0 +1,9 @@
+--- nu-ansi-term-0.45.1/Cargo.toml 1970-01-01T00:00:01+00:00
++++ nu-ansi-term-0.45.1/Cargo.toml 2022-04-01T03:36:27.011008+00:00
+@@ -38,6 +38,3 @@
+
+ [features]
+ derive_serde_style = ["serde"]
+-[target."cfg(target_os=\"windows\")".dependencies.winapi]
+-version = "0.3.4"
+-features = ["consoleapi", "errhandlingapi", "fileapi", "handleapi", "processenv"]
diff --git a/rust-nu-ansi-term.spec b/rust-nu-ansi-term.spec
new file mode 100644
index 0000000..a880d6a
--- /dev/null
+++ b/rust-nu-ansi-term.spec
@@ -0,0 +1,97 @@
+# Generated by rust2rpm 21
+%bcond_without check
+%global debug_package %{nil}
+
+%global crate nu-ansi-term
+
+Name: rust-%{crate}
+Version: 0.45.1
+Release: %autorelease
+Summary: Library for ANSI terminal colors and styles (bold, underline)
+
+# Upstream license specification: MIT
+License: MIT
+URL: https://crates.io/crates/nu-ansi-term
+Source: %{crates_source}
+# Remove Windows target
+Patch0: nu-ansi-term-fix-metadata.diff
+
+ExclusiveArch: %{rust_arches}
+
+BuildRequires: rust-packaging >= 21
+
+%global _description %{expand:
+Library for ANSI terminal colors and styles (bold, underline).}
+
+%description %{_description}
+
+%package devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "%{crate}" crate.
+
+%files devel
+%license %{crate_instdir}/LICENCE
+%doc %{crate_instdir}/README.md
+%{crate_instdir}/
+
+%package -n %{name}+default-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+default-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "default" feature of the "%{crate}" crate.
+
+%files -n %{name}+default-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%package -n %{name}+derive_serde_style-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+derive_serde_style-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "derive_serde_style" feature of the "%{crate}" crate.
+
+%files -n %{name}+derive_serde_style-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%package -n %{name}+serde-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+serde-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "serde" feature of the "%{crate}" crate.
+
+%files -n %{name}+serde-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%prep
+%autosetup -n %{crate}-%{version_no_tilde} -p1
+%cargo_prep
+
+%generate_buildrequires
+%cargo_generate_buildrequires
+
+%build
+%cargo_build
+
+%install
+%cargo_install
+
+%if %{with check}
+%check
+%cargo_test
+%endif
+
+%changelog
+%autochangelog
diff --git a/sources b/sources
new file mode 100644
index 0000000..c3c4334
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (nu-ansi-term-0.45.1.crate) = 40c12b8a588de4fbf8bf155d884efc184163a5a87e621bf5df4b67c8bfb0291534b1995976f0e603297fd97072805783b3004f64bb4ecc5ff12069c199853cf5
https://src.fedoraproject.org/rpms/rust-nu-ansi-term/c/c5da2ae2a374b92242...
2Â years, 1Â month
salimma pushed to lua-posix (f36). "Convert to rpmautospec (..more)"
by notificationsï¼ fedoraproject.org
Notification time stamped 2022-04-01 03:06:02 UTC
From afe1f0b76fc8dc306aa4e6fc1850a98e7615a7f2 Mon Sep 17 00:00:00 2001
From: Michel Alexandre Salim <salimma(a)fedoraproject.org>
Date: Mar 31 2022 06:19:15 +0000
Subject: Convert to rpmautospec
Signed-off-by: Michel Alexandre Salim <salimma(a)fedoraproject.org>
---
diff --git a/changelog b/changelog
new file mode 100644
index 0000000..c9e1f94
--- /dev/null
+++ b/changelog
@@ -0,0 +1,140 @@
+* Mon Feb 14 2022 Andrew Hughes <gnu.andrew(a)redhat.com> - 35.0-6
+- Pass LDFLAGS to the build so RPM linker flags are used and annocheck passes.
+- Add patch from upstream to fix propagation of LDFLAGS into build system.
+
+* Thu Jan 20 2022 Fedora Release Engineering <releng(a)fedoraproject.org> - 35.0-5
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
+
+* Thu Jul 22 2021 Fedora Release Engineering <releng(a)fedoraproject.org> - 35.0-4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
+
+* Tue Jan 26 2021 Fedora Release Engineering <releng(a)fedoraproject.org> - 35.0-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
+
+* Tue Jul 28 2020 Fedora Release Engineering <releng(a)fedoraproject.org> - 35.0-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
+
+* Fri Jul 10 2020 Orion Poplawski <orion(a)nwra.com> - 35.0-1
+- Update to 35.0
+
+* Fri Jul 03 2020 Orion Poplawski <orion(a)nwra.com> - 34.1.1-2
+- Fix bit32 patch
+- More lua 5.4 fixes
+
+* Fri Jul 03 2020 Orion Poplawski <orion(a)nwra.com> - 34.1.1-1
+- Update to 34.1.1 (bz#1849450)
+
+* Mon Jun 29 2020 Tom Callaway <spot(a)fedoraproject.org> - 33.3.1-17
+- hack this ancient beastie to work with lua 5.4
+- maintainer, please update this to the current upstream release at your earliest convenience
+
+* Wed Jan 29 2020 Fedora Release Engineering <releng(a)fedoraproject.org> - 33.3.1-16
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
+
+* Wed Jan 22 2020 Owen Taylor <otaylor(a)redhat.com> - 33.3.1-15
+- Use RPM macros from lua-devel
+
+* Thu Jul 25 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 33.3.1-14
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
+
+* Fri Feb 01 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 33.3.1-13
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
+
+* Mon Jan 14 2019 Björn Esser <besser82(a)fedoraproject.org> - 33.3.1-12
+- Rebuilt for libcrypt.so.2 (#1666033)
+
+* Wed Jul 25 2018 Bastien Nocera <bnocera(a)redhat.com> - 33.3.1-11
++ lua-posix-33.3.1-11
+- Correct License field, it's been MIT since 2011, not
+ Public Domain (#1605203)
+
+* Fri Jul 13 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 33.3.1-10
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
+
+* Thu Feb 08 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 33.3.1-9
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
+
+* Sat Jan 20 2018 Björn Esser <besser82(a)fedoraproject.org> - 33.3.1-8
+- Rebuilt for switch to libxcrypt
+
+* Thu Aug 03 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 33.3.1-7
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
+
+* Sun Jul 30 2017 Florian Weimer <fweimer(a)redhat.com> - 33.3.1-6
+- Rebuild with binutils fix for ppc64le (#1475636)
+
+* Wed Jul 26 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 33.3.1-5
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
+
+* Fri Feb 10 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 33.3.1-4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
+
+* Mon Dec 12 2016 Orion Poplawski <orion(a)cora.nwra.com> - 33.3.1-3
+- Handle lua and perl not being in buildroots
+- Use %%license
+- Cleanup spec
+
+* Thu Feb 04 2016 Fedora Release Engineering <releng(a)fedoraproject.org> - 33.3.1-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
+
+* Fri Jul 17 2015 Orion Poplawski <orion(a)cora.nwra.com> - 33.3.1-1
+- Update to 33.3.1
+
+* Wed Jun 17 2015 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 33.2.1-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
+
+* Thu Feb 26 2015 Orion Poplawski <orion(a)cora.nwra.com> - 33.2.1-1
+- Update to 33.2.1
+
+* Tue Feb 24 2015 Orion Poplawski <orion(a)cora.nwra.com> - 32-4
+- Update spec to match packaging draft, rebuild for lua 5.3 (bug #1195707)
+
+* Sun Aug 17 2014 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 32-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
+
+* Sat Jun 07 2014 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 32-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
+
+* Wed Jun 4 2014 Orion Poplawski <orion(a)cora.nwra.com> - 32-1
+- Update to version 32
+
+* Sat Aug 03 2013 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 5.1.28-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
+
+* Sun May 12 2013 Tom Callaway <spot(a)fedoraproject.org> - 5.1.28-1
+- update to 5.1.28, lua 5.2
+
+* Thu Feb 14 2013 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 5.1.14-4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
+
+* Thu Jul 19 2012 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 5.1.14-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
+
+* Fri Jan 13 2012 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 5.1.14-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
+
+* Tue Sep 27 2011 Michel Salim <salimma(a)fedoraproject.org> - 5.1.14-1
+- Update to 5.1.14
+
+* Tue Feb 08 2011 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 5.1.7-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
+
+* Sun Aug 15 2010 Tim Niemueller <tim(a)niemueller.de> - 5.1.7-1
+- Update to 5.1.7
+- Add -fPIC to CFLAGS
+
+* Sat Jul 25 2009 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 5.1.4-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
+
+* Wed Feb 25 2009 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 5.1.4-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
+
+* Mon Dec 22 2008 Tim Niemueller <tim(a)niemueller.de> - 5.1.4-1
+- Update to 5.1.4
+
+* Sat Apr 05 2008 Tim Niemueller <tim(a)niemueller.de> - 5.1.2-2
+- Set proper CFLAGS for valid debuginfo
+
+* Fri Apr 04 2008 Tim Niemueller <tim(a)niemueller.de> - 5.1.2-1
+- Initial package
+
diff --git a/lua-posix.spec b/lua-posix.spec
index 1e791c2..64cdb06 100644
--- a/lua-posix.spec
+++ b/lua-posix.spec
@@ -6,7 +6,7 @@
Name: lua-posix
Version: 35.0
-Release: 6%{?dist}
+Release: %autorelease
Summary: A POSIX library for Lua
License: MIT
URL: http://luaforge.net/projects/luaposix/
@@ -47,143 +47,4 @@ build-aux/luke install PREFIX=%{buildroot}%{_prefix} INST_LIBDIR=%{buildroot}%{l
%changelog
-* Mon Feb 14 2022 Andrew Hughes <gnu.andrew(a)redhat.com> - 35.0-6
-- Pass LDFLAGS to the build so RPM linker flags are used and annocheck passes.
-- Add patch from upstream to fix propagation of LDFLAGS into build system.
-
-* Thu Jan 20 2022 Fedora Release Engineering <releng(a)fedoraproject.org> - 35.0-5
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
-
-* Thu Jul 22 2021 Fedora Release Engineering <releng(a)fedoraproject.org> - 35.0-4
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
-
-* Tue Jan 26 2021 Fedora Release Engineering <releng(a)fedoraproject.org> - 35.0-3
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
-
-* Tue Jul 28 2020 Fedora Release Engineering <releng(a)fedoraproject.org> - 35.0-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
-
-* Fri Jul 10 2020 Orion Poplawski <orion(a)nwra.com> - 35.0-1
-- Update to 35.0
-
-* Fri Jul 03 2020 Orion Poplawski <orion(a)nwra.com> - 34.1.1-2
-- Fix bit32 patch
-- More lua 5.4 fixes
-
-* Fri Jul 03 2020 Orion Poplawski <orion(a)nwra.com> - 34.1.1-1
-- Update to 34.1.1 (bz#1849450)
-
-* Mon Jun 29 2020 Tom Callaway <spot(a)fedoraproject.org> - 33.3.1-17
-- hack this ancient beastie to work with lua 5.4
-- maintainer, please update this to the current upstream release at your earliest convenience
-
-* Wed Jan 29 2020 Fedora Release Engineering <releng(a)fedoraproject.org> - 33.3.1-16
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
-
-* Wed Jan 22 2020 Owen Taylor <otaylor(a)redhat.com> - 33.3.1-15
-- Use RPM macros from lua-devel
-
-* Thu Jul 25 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 33.3.1-14
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
-
-* Fri Feb 01 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 33.3.1-13
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
-
-* Mon Jan 14 2019 Björn Esser <besser82(a)fedoraproject.org> - 33.3.1-12
-- Rebuilt for libcrypt.so.2 (#1666033)
-
-* Wed Jul 25 2018 Bastien Nocera <bnocera(a)redhat.com> - 33.3.1-11
-+ lua-posix-33.3.1-11
-- Correct License field, it's been MIT since 2011, not
- Public Domain (#1605203)
-
-* Fri Jul 13 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 33.3.1-10
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
-
-* Thu Feb 08 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 33.3.1-9
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
-
-* Sat Jan 20 2018 Björn Esser <besser82(a)fedoraproject.org> - 33.3.1-8
-- Rebuilt for switch to libxcrypt
-
-* Thu Aug 03 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 33.3.1-7
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
-
-* Sun Jul 30 2017 Florian Weimer <fweimer(a)redhat.com> - 33.3.1-6
-- Rebuild with binutils fix for ppc64le (#1475636)
-
-* Wed Jul 26 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 33.3.1-5
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
-
-* Fri Feb 10 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 33.3.1-4
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
-
-* Mon Dec 12 2016 Orion Poplawski <orion(a)cora.nwra.com> - 33.3.1-3
-- Handle lua and perl not being in buildroots
-- Use %%license
-- Cleanup spec
-
-* Thu Feb 04 2016 Fedora Release Engineering <releng(a)fedoraproject.org> - 33.3.1-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
-
-* Fri Jul 17 2015 Orion Poplawski <orion(a)cora.nwra.com> - 33.3.1-1
-- Update to 33.3.1
-
-* Wed Jun 17 2015 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 33.2.1-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
-
-* Thu Feb 26 2015 Orion Poplawski <orion(a)cora.nwra.com> - 33.2.1-1
-- Update to 33.2.1
-
-* Tue Feb 24 2015 Orion Poplawski <orion(a)cora.nwra.com> - 32-4
-- Update spec to match packaging draft, rebuild for lua 5.3 (bug #1195707)
-
-* Sun Aug 17 2014 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 32-3
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
-
-* Sat Jun 07 2014 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 32-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
-
-* Wed Jun 4 2014 Orion Poplawski <orion(a)cora.nwra.com> - 32-1
-- Update to version 32
-
-* Sat Aug 03 2013 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 5.1.28-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
-
-* Sun May 12 2013 Tom Callaway <spot(a)fedoraproject.org> - 5.1.28-1
-- update to 5.1.28, lua 5.2
-
-* Thu Feb 14 2013 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 5.1.14-4
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
-
-* Thu Jul 19 2012 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 5.1.14-3
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
-
-* Fri Jan 13 2012 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 5.1.14-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
-
-* Tue Sep 27 2011 Michel Salim <salimma(a)fedoraproject.org> - 5.1.14-1
-- Update to 5.1.14
-
-* Tue Feb 08 2011 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 5.1.7-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
-
-* Sun Aug 15 2010 Tim Niemueller <tim(a)niemueller.de> - 5.1.7-1
-- Update to 5.1.7
-- Add -fPIC to CFLAGS
-
-* Sat Jul 25 2009 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 5.1.4-3
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
-
-* Wed Feb 25 2009 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 5.1.4-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
-
-* Mon Dec 22 2008 Tim Niemueller <tim(a)niemueller.de> - 5.1.4-1
-- Update to 5.1.4
-
-* Sat Apr 05 2008 Tim Niemueller <tim(a)niemueller.de> - 5.1.2-2
-- Set proper CFLAGS for valid debuginfo
-
-* Fri Apr 04 2008 Tim Niemueller <tim(a)niemueller.de> - 5.1.2-1
-- Initial package
-
+%autochangelog
https://src.fedoraproject.org/rpms/lua-posix/c/afe1f0b76fc8dc306aa4e6fc18...
2Â years, 1Â month
salimma pushed to lua-posix (f36). "Update to 35.1 (..more)"
by notificationsï¼ fedoraproject.org
Notification time stamped 2022-04-01 03:06:02 UTC
From 7801a0ed2c7b1d31dbd2ef9c302f9b47579def54 Mon Sep 17 00:00:00 2001
From: Michel Alexandre Salim <salimma(a)fedoraproject.org>
Date: Apr 01 2022 02:20:16 +0000
Subject: Update to 35.1
Signed-off-by: Michel Alexandre Salim <salimma(a)fedoraproject.org>
---
diff --git a/.gitignore b/.gitignore
index 5d39617..8c0fd0b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -6,3 +6,4 @@
/release-v33.3.1.tar.gz
/release-v34.1.1.tar.gz
/lua-posix-35.0.tar.gz
+/lua-posix-35.1.tar.gz
diff --git a/lua-posix.spec b/lua-posix.spec
index 64cdb06..56681d4 100644
--- a/lua-posix.spec
+++ b/lua-posix.spec
@@ -1,11 +1,8 @@
-%{!?luaver: %global luaver %(lua -e "print(string.sub(_VERSION, 5))" || echo 0)}
-%global lualibdir %{_libdir}/lua/%{luaver}
-%global luapkgdir %{_datadir}/lua/%{luaver}
-%global commit 58016bbba40b063e8a98a7e9f14acfcd46f103d4
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
+# Tests require specl which is not yet packaged
+%bcond_with check
Name: lua-posix
-Version: 35.0
+Version: 35.1
Release: %autorelease
Summary: A POSIX library for Lua
License: MIT
@@ -15,17 +12,14 @@ BuildRequires: gcc
BuildRequires: lua-devel
%{?lua_requires}
-# Fixes passing LDFLAGS into the build, in upstream release 35.1
-# https://github.com/luaposix/luaposix/commit/4788eba65956aa9347bbb5856c920...
-Patch0: propagate_ldflags.patch
-
%description
This is a POSIX library for Lua which provides access to many POSIX features
to Lua programs.
+
%prep
-%setup -q -n luaposix-%{version}
-%patch0 -p1
+%autosetup -p1 -n luaposix-%{version}
+
%build
build-aux/luke CFLAGS="%build_cflags" LDFLAGS="%build_ldflags"
@@ -35,13 +29,15 @@ build-aux/luke CFLAGS="%build_cflags" LDFLAGS="%build_ldflags"
build-aux/luke install PREFIX=%{buildroot}%{_prefix} INST_LIBDIR=%{buildroot}%{lua_libdir}
-#check
-# Tests require specl which is not yet packaged
+%if %{with check}
+%check
+lua ./spec/spec_helper.lua
+%endif
%files
%license LICENSE
-%doc AUTHORS ChangeLog.old NEWS.md README.md
+%doc AUTHORS NEWS.md README.md
%{lua_libdir}/*
%{lua_pkgdir}/posix/
diff --git a/propagate_ldflags.patch b/propagate_ldflags.patch
deleted file mode 100644
index aff5ce8..0000000
--- a/propagate_ldflags.patch
+++ /dev/null
@@ -1,70 +0,0 @@
-commit 4788eba65956aa9347bbb5856c9208888a20330b
-Author: Gary V. Vaughan <gary(a)gnu.org>
-Date: Thu Sep 9 12:40:55 2021 -0700
-
- maint: sync luke with upstream.
-
- * build-aux/luke: Propagates LDFLAGS to module compilation commands
-
- Signed-off-by: Gary V. Vaughan <gary(a)gnu.org>
-
-diff --git a/build-aux/luke b/build-aux/luke
-index 9f476f7..9d74aa2 100755
---- a/build-aux/luke
-+++ b/build-aux/luke
-@@ -17,10 +17,10 @@ end,fatal=fatal,}
- end
- package.preload['luke.cli']=function()
- local _ENV=require'std.normalize'{'luke._base','luke.lukefile','luke.platforms','std.functional',}local function version()print[[
--luke (Luke) 0.2.0
-+luke (Luke) 0.2.2
- Written by Gary V. Vaughan <gary(a)gnu.org>, 2014
-
--Copyright (C) 2020, Gary V. Vaughan
-+Copyright (C) 2021, Gary V. Vaughan
- Luke comes with ABSOLUTELY NO WARRANTY.
- You may redistribute copies of Luke under the terms of the MIT license;
- it may be used for any purpose at absolutely no cost, without permission.
-@@ -102,7 +102,7 @@ abspath=abspath..'.lua'return src,(gsub(abspath,'/[^/]+%.lua$',''))end
- local function module_to_path(module,sources,objdir)return dropuntil(sources,function(source)return case(source,{['.*%.[ch]']=bind(c_source,{module,objdir}),['(.*%.[ch])%.in']=bind(c_source,{module,objdir}),['.*%.lua']=bind(lua_source,{module}),['(.*%.lua)%.in']=bind(lua_source,{module}),function(src)fatal("unsupported source type '%s'",src)end,})end)end
- return{build_c_module=function(L,env,luke,name)local rules=luke.modules[name]local c_module=c_module_path(luke.variables.objdir,name)local command={'$MAKEDIRS',dirname(c_module)}local status,err,out=spawn(env,unpack(command))if status~=0 then
- stdout:write(concat(command,' ')..'\n')stderr:write(err..'\n')exit(status)end
--return run(L,env,flatten('$CC $CFLAGS $LIBFLAG $PKGFLAGS $CPPFLAGS',defines(env,except(list(rules.defines,luke.defines),nil)),incdirs(rules.incdirs,luke.incdirs),rules.sources,'-o',c_module,libdirs(rules.libdirs,luke.libdirs),'$LIBS',rules.libraries,luke.libraries))end,c_modules=function(modules)return filter(keys(modules),function(name)return dropuntil(modules[name].sources,bind(match,{[2]='%.[ch]$'}))end)end,incdirs=incdirs,install_modules=function(L,env,luke,modules)return reduce(keys(modules),0,function(status,name)if status==0 then
-+return run(L,env,flatten('$CC $CFLAGS $LIBFLAG $PKGFLAGS $CPPFLAGS',defines(env,except(list(rules.defines,luke.defines),nil)),incdirs(rules.incdirs,luke.incdirs),rules.sources,'-o',c_module,'$LDFLAGS',libdirs(rules.libdirs,luke.libdirs),'$LIBS',rules.libraries,luke.libraries))end,c_modules=function(modules)return filter(keys(modules),function(name)return dropuntil(modules[name].sources,bind(match,{[2]='%.[ch]$'}))end)end,incdirs=incdirs,install_modules=function(L,env,luke,modules)return reduce(keys(modules),0,function(status,name)if status==0 then
- local src,dir=module_to_path(name,modules[name].sources,luke.variables.objdir)if not exists(interpolate(env,dir))then
- status=run(L,env,{'$MAKEDIRS',dir})end
- if status==0 then
-@@ -135,6 +135,15 @@ return with(File(progpath,'r'),function(h)return h and isfile(h.context)and prog
- end)end)L.log(found and'found '..found or prog..' not found')return found~=nil
- end
- local function check_header_compile(L,env,config,header,extra_hdrs)return with(CTest(),function(conftest)conftest:write(format('%s\n#include "%s"\n',extra_hdrs,header))return logspawn(L,env,compile_command(L,env,config,conftest.filename))end)end
-+local function check_struct_member_compile(L,env,config,structname,member,extra_hdrs)return with(CTest(),function(conftest)conftest:write(format([[
-+%s
-+int main () {
-+static %s aggr;
-+if (sizeof aggr.%s)
-+ return 0;
-+return 0;
-+}
-+]],extra_hdrs,structname,member))return logspawn(L,env,compile_command(L,env,config,conftest.filename))end)end
- local function try_link(L,env,config,lib,symbol)return with(CTest(),TmpFile(),function(conftest,a_out)conftest:write(format([[
- /* Override any GCC internal prototype to avoid an error.
- Use char because int might match the return type of a GCC
-@@ -225,7 +234,7 @@ end
- CONFIGENV.libs=lib..CONFIGENV.libs
- end
- return found_library(L,lib)end
--end)or call(function()L.verbose'\n'fatal("required symbol '%s' not found in any of libc, lib%s",symbol,concat(libraries,', lib'))end)end},{checkfunc=function(L,env,config)checking(L,'for',config.checkfunc)return found_result(L,check_func_link(L,env,config,config.checkfunc))end}),{__call=function(self,L,env,config,prefix)return case(type(config),{['number']=function()return str(config)end,['string']=function()return config
-+end)or call(function()L.verbose'\n'fatal("required symbol '%s' not found in any of libc, lib%s",symbol,concat(libraries,', lib'))end)end},{checkfunc=function(L,env,config)checking(L,'for',config.checkfunc)return found_result(L,check_func_link(L,env,config,config.checkfunc))end},{checkmember=function(L,env,config)checking(L,'for',config.checkmember)local extra_hdrs=concat(format_includes(config.includes),'\n')local i=find(config.checkmember,'%.')local structname=sub(config.checkmember,1,i-1)local member=sub(config.checkmember,i+1)return found_result(L,check_struct_member_compile(L,env,config,structname,member,extra_hdrs))end}),{__call=function(self,L,env,config,prefix)return case(type(config),{['number']=function()return str(config)end,['string']=function()return config
- end,['table']=function()return dropuntil(self,function(fname)if config[fname]~=nil then
- add_external_deps(env,config,prefix)return apply(self[fname],list(L,env,config))end
- end)or fatal("unable to configure with keys '%s'",concat(keys(config),"', '"))end,function(type)fatal("unsupported configure type '%s'",type)end,})end,})return{config_compiler=function(L,env)local CC=env.CC
-@@ -588,7 +597,7 @@ end
- return setmetatable({append=function(seq,v)local n=(int(seq.n)or len(seq))+1
- seq.n,seq[n]=n,v
- return seq
--end,arg=arg,assert=assert,char=string.char,close=io.close,concat=concat,copy=copy,dirsep=dirsep,exit=os.exit,format=string.format,getenv=os.getenv,getmetatable=getmetatable,getmetamethod=getmetamethod,gmatch=string.gmatch,gsub=string.gsub,int=int,iscallable=iscallable,len=len,lines=io.lines,list=pack,loadstring=loadstring,match=string.match,maxn=function(iterable)local n=0
-+end,arg=arg,assert=assert,char=string.char,close=io.close,concat=concat,copy=copy,dirsep=dirsep,exit=os.exit,find=string.find,format=string.format,getenv=os.getenv,getmetatable=getmetatable,getmetamethod=getmetamethod,gmatch=string.gmatch,gsub=string.gsub,int=int,iscallable=iscallable,len=len,lines=io.lines,list=pack,loadstring=loadstring,match=string.match,maxn=function(iterable)local n=0
- for k,v in next,iterable or{}do
- local i=int(k)if i and i>n then
- n=i
diff --git a/sources b/sources
index 5b6b196..316aa12 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (lua-posix-35.0.tar.gz) = 4bb61892b78d9e59418a9a6360b9f611fb9b5438b9261a2c6672f053a1b21dfd9a2060b8d2f0d3eac6185773cf84672c1769c081c4ab53d2ddae2232e4a9269b
+SHA512 (lua-posix-35.1.tar.gz) = f2c36bf69c0d73b4a2c6ab0915f81473addce427c22e82e2d1c334016dec7fecb4365fc980fa6adb0de21ad1a60bc75b73f58579e8a423990ad2067c9ae37775
https://src.fedoraproject.org/rpms/lua-posix/c/7801a0ed2c7b1d31dbd2ef9c30...
2Â years, 1Â month
salimma pushed to lua-posix (f36). "Pass LDFLAGS to the build so RPM
linker flags are used and annocheck passes. (..more)"
by notificationsï¼ fedoraproject.org
Notification time stamped 2022-04-01 03:06:02 UTC
From 61472899925990a26e0ad2b34a358f0996c9928b Mon Sep 17 00:00:00 2001
From: Andrew John Hughes <gnu_andrew(a)member.fsf.org>
Date: Feb 14 2022 16:53:12 +0000
Subject: Pass LDFLAGS to the build so RPM linker flags are used and annocheck passes.
Add patch from upstream to fix propagation of LDFLAGS into build system.
---
diff --git a/lua-posix.spec b/lua-posix.spec
index a7d2c8c..1e791c2 100644
--- a/lua-posix.spec
+++ b/lua-posix.spec
@@ -6,7 +6,7 @@
Name: lua-posix
Version: 35.0
-Release: 5%{?dist}
+Release: 6%{?dist}
Summary: A POSIX library for Lua
License: MIT
URL: http://luaforge.net/projects/luaposix/
@@ -15,15 +15,20 @@ BuildRequires: gcc
BuildRequires: lua-devel
%{?lua_requires}
+# Fixes passing LDFLAGS into the build, in upstream release 35.1
+# https://github.com/luaposix/luaposix/commit/4788eba65956aa9347bbb5856c920...
+Patch0: propagate_ldflags.patch
+
%description
This is a POSIX library for Lua which provides access to many POSIX features
to Lua programs.
%prep
%setup -q -n luaposix-%{version}
+%patch0 -p1
%build
-build-aux/luke CFLAGS="%build_cflags"
+build-aux/luke CFLAGS="%build_cflags" LDFLAGS="%build_ldflags"
%install
@@ -42,6 +47,10 @@ build-aux/luke install PREFIX=%{buildroot}%{_prefix} INST_LIBDIR=%{buildroot}%{l
%changelog
+* Mon Feb 14 2022 Andrew Hughes <gnu.andrew(a)redhat.com> - 35.0-6
+- Pass LDFLAGS to the build so RPM linker flags are used and annocheck passes.
+- Add patch from upstream to fix propagation of LDFLAGS into build system.
+
* Thu Jan 20 2022 Fedora Release Engineering <releng(a)fedoraproject.org> - 35.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
diff --git a/propagate_ldflags.patch b/propagate_ldflags.patch
new file mode 100644
index 0000000..aff5ce8
--- /dev/null
+++ b/propagate_ldflags.patch
@@ -0,0 +1,70 @@
+commit 4788eba65956aa9347bbb5856c9208888a20330b
+Author: Gary V. Vaughan <gary(a)gnu.org>
+Date: Thu Sep 9 12:40:55 2021 -0700
+
+ maint: sync luke with upstream.
+
+ * build-aux/luke: Propagates LDFLAGS to module compilation commands
+
+ Signed-off-by: Gary V. Vaughan <gary(a)gnu.org>
+
+diff --git a/build-aux/luke b/build-aux/luke
+index 9f476f7..9d74aa2 100755
+--- a/build-aux/luke
++++ b/build-aux/luke
+@@ -17,10 +17,10 @@ end,fatal=fatal,}
+ end
+ package.preload['luke.cli']=function()
+ local _ENV=require'std.normalize'{'luke._base','luke.lukefile','luke.platforms','std.functional',}local function version()print[[
+-luke (Luke) 0.2.0
++luke (Luke) 0.2.2
+ Written by Gary V. Vaughan <gary(a)gnu.org>, 2014
+
+-Copyright (C) 2020, Gary V. Vaughan
++Copyright (C) 2021, Gary V. Vaughan
+ Luke comes with ABSOLUTELY NO WARRANTY.
+ You may redistribute copies of Luke under the terms of the MIT license;
+ it may be used for any purpose at absolutely no cost, without permission.
+@@ -102,7 +102,7 @@ abspath=abspath..'.lua'return src,(gsub(abspath,'/[^/]+%.lua$',''))end
+ local function module_to_path(module,sources,objdir)return dropuntil(sources,function(source)return case(source,{['.*%.[ch]']=bind(c_source,{module,objdir}),['(.*%.[ch])%.in']=bind(c_source,{module,objdir}),['.*%.lua']=bind(lua_source,{module}),['(.*%.lua)%.in']=bind(lua_source,{module}),function(src)fatal("unsupported source type '%s'",src)end,})end)end
+ return{build_c_module=function(L,env,luke,name)local rules=luke.modules[name]local c_module=c_module_path(luke.variables.objdir,name)local command={'$MAKEDIRS',dirname(c_module)}local status,err,out=spawn(env,unpack(command))if status~=0 then
+ stdout:write(concat(command,' ')..'\n')stderr:write(err..'\n')exit(status)end
+-return run(L,env,flatten('$CC $CFLAGS $LIBFLAG $PKGFLAGS $CPPFLAGS',defines(env,except(list(rules.defines,luke.defines),nil)),incdirs(rules.incdirs,luke.incdirs),rules.sources,'-o',c_module,libdirs(rules.libdirs,luke.libdirs),'$LIBS',rules.libraries,luke.libraries))end,c_modules=function(modules)return filter(keys(modules),function(name)return dropuntil(modules[name].sources,bind(match,{[2]='%.[ch]$'}))end)end,incdirs=incdirs,install_modules=function(L,env,luke,modules)return reduce(keys(modules),0,function(status,name)if status==0 then
++return run(L,env,flatten('$CC $CFLAGS $LIBFLAG $PKGFLAGS $CPPFLAGS',defines(env,except(list(rules.defines,luke.defines),nil)),incdirs(rules.incdirs,luke.incdirs),rules.sources,'-o',c_module,'$LDFLAGS',libdirs(rules.libdirs,luke.libdirs),'$LIBS',rules.libraries,luke.libraries))end,c_modules=function(modules)return filter(keys(modules),function(name)return dropuntil(modules[name].sources,bind(match,{[2]='%.[ch]$'}))end)end,incdirs=incdirs,install_modules=function(L,env,luke,modules)return reduce(keys(modules),0,function(status,name)if status==0 then
+ local src,dir=module_to_path(name,modules[name].sources,luke.variables.objdir)if not exists(interpolate(env,dir))then
+ status=run(L,env,{'$MAKEDIRS',dir})end
+ if status==0 then
+@@ -135,6 +135,15 @@ return with(File(progpath,'r'),function(h)return h and isfile(h.context)and prog
+ end)end)L.log(found and'found '..found or prog..' not found')return found~=nil
+ end
+ local function check_header_compile(L,env,config,header,extra_hdrs)return with(CTest(),function(conftest)conftest:write(format('%s\n#include "%s"\n',extra_hdrs,header))return logspawn(L,env,compile_command(L,env,config,conftest.filename))end)end
++local function check_struct_member_compile(L,env,config,structname,member,extra_hdrs)return with(CTest(),function(conftest)conftest:write(format([[
++%s
++int main () {
++static %s aggr;
++if (sizeof aggr.%s)
++ return 0;
++return 0;
++}
++]],extra_hdrs,structname,member))return logspawn(L,env,compile_command(L,env,config,conftest.filename))end)end
+ local function try_link(L,env,config,lib,symbol)return with(CTest(),TmpFile(),function(conftest,a_out)conftest:write(format([[
+ /* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+@@ -225,7 +234,7 @@ end
+ CONFIGENV.libs=lib..CONFIGENV.libs
+ end
+ return found_library(L,lib)end
+-end)or call(function()L.verbose'\n'fatal("required symbol '%s' not found in any of libc, lib%s",symbol,concat(libraries,', lib'))end)end},{checkfunc=function(L,env,config)checking(L,'for',config.checkfunc)return found_result(L,check_func_link(L,env,config,config.checkfunc))end}),{__call=function(self,L,env,config,prefix)return case(type(config),{['number']=function()return str(config)end,['string']=function()return config
++end)or call(function()L.verbose'\n'fatal("required symbol '%s' not found in any of libc, lib%s",symbol,concat(libraries,', lib'))end)end},{checkfunc=function(L,env,config)checking(L,'for',config.checkfunc)return found_result(L,check_func_link(L,env,config,config.checkfunc))end},{checkmember=function(L,env,config)checking(L,'for',config.checkmember)local extra_hdrs=concat(format_includes(config.includes),'\n')local i=find(config.checkmember,'%.')local structname=sub(config.checkmember,1,i-1)local member=sub(config.checkmember,i+1)return found_result(L,check_struct_member_compile(L,env,config,structname,member,extra_hdrs))end}),{__call=function(self,L,env,config,prefix)return case(type(config),{['number']=function()return str(config)end,['string']=function()return config
+ end,['table']=function()return dropuntil(self,function(fname)if config[fname]~=nil then
+ add_external_deps(env,config,prefix)return apply(self[fname],list(L,env,config))end
+ end)or fatal("unable to configure with keys '%s'",concat(keys(config),"', '"))end,function(type)fatal("unsupported configure type '%s'",type)end,})end,})return{config_compiler=function(L,env)local CC=env.CC
+@@ -588,7 +597,7 @@ end
+ return setmetatable({append=function(seq,v)local n=(int(seq.n)or len(seq))+1
+ seq.n,seq[n]=n,v
+ return seq
+-end,arg=arg,assert=assert,char=string.char,close=io.close,concat=concat,copy=copy,dirsep=dirsep,exit=os.exit,format=string.format,getenv=os.getenv,getmetatable=getmetatable,getmetamethod=getmetamethod,gmatch=string.gmatch,gsub=string.gsub,int=int,iscallable=iscallable,len=len,lines=io.lines,list=pack,loadstring=loadstring,match=string.match,maxn=function(iterable)local n=0
++end,arg=arg,assert=assert,char=string.char,close=io.close,concat=concat,copy=copy,dirsep=dirsep,exit=os.exit,find=string.find,format=string.format,getenv=os.getenv,getmetatable=getmetatable,getmetamethod=getmetamethod,gmatch=string.gmatch,gsub=string.gsub,int=int,iscallable=iscallable,len=len,lines=io.lines,list=pack,loadstring=loadstring,match=string.match,maxn=function(iterable)local n=0
+ for k,v in next,iterable or{}do
+ local i=int(k)if i and i>n then
+ n=i
https://src.fedoraproject.org/rpms/lua-posix/c/61472899925990a26e0ad2b34a...
2Â years, 1Â month
salimma pushed to lua-posix (rawhide). "Convert to rpmautospec
(..more)"
by notificationsï¼ fedoraproject.org
Notification time stamped 2022-04-01 02:55:07 UTC
From afe1f0b76fc8dc306aa4e6fc1850a98e7615a7f2 Mon Sep 17 00:00:00 2001
From: Michel Alexandre Salim <salimma(a)fedoraproject.org>
Date: Mar 31 2022 06:19:15 +0000
Subject: Convert to rpmautospec
Signed-off-by: Michel Alexandre Salim <salimma(a)fedoraproject.org>
---
diff --git a/changelog b/changelog
new file mode 100644
index 0000000..c9e1f94
--- /dev/null
+++ b/changelog
@@ -0,0 +1,140 @@
+* Mon Feb 14 2022 Andrew Hughes <gnu.andrew(a)redhat.com> - 35.0-6
+- Pass LDFLAGS to the build so RPM linker flags are used and annocheck passes.
+- Add patch from upstream to fix propagation of LDFLAGS into build system.
+
+* Thu Jan 20 2022 Fedora Release Engineering <releng(a)fedoraproject.org> - 35.0-5
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
+
+* Thu Jul 22 2021 Fedora Release Engineering <releng(a)fedoraproject.org> - 35.0-4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
+
+* Tue Jan 26 2021 Fedora Release Engineering <releng(a)fedoraproject.org> - 35.0-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
+
+* Tue Jul 28 2020 Fedora Release Engineering <releng(a)fedoraproject.org> - 35.0-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
+
+* Fri Jul 10 2020 Orion Poplawski <orion(a)nwra.com> - 35.0-1
+- Update to 35.0
+
+* Fri Jul 03 2020 Orion Poplawski <orion(a)nwra.com> - 34.1.1-2
+- Fix bit32 patch
+- More lua 5.4 fixes
+
+* Fri Jul 03 2020 Orion Poplawski <orion(a)nwra.com> - 34.1.1-1
+- Update to 34.1.1 (bz#1849450)
+
+* Mon Jun 29 2020 Tom Callaway <spot(a)fedoraproject.org> - 33.3.1-17
+- hack this ancient beastie to work with lua 5.4
+- maintainer, please update this to the current upstream release at your earliest convenience
+
+* Wed Jan 29 2020 Fedora Release Engineering <releng(a)fedoraproject.org> - 33.3.1-16
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
+
+* Wed Jan 22 2020 Owen Taylor <otaylor(a)redhat.com> - 33.3.1-15
+- Use RPM macros from lua-devel
+
+* Thu Jul 25 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 33.3.1-14
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
+
+* Fri Feb 01 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 33.3.1-13
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
+
+* Mon Jan 14 2019 Björn Esser <besser82(a)fedoraproject.org> - 33.3.1-12
+- Rebuilt for libcrypt.so.2 (#1666033)
+
+* Wed Jul 25 2018 Bastien Nocera <bnocera(a)redhat.com> - 33.3.1-11
++ lua-posix-33.3.1-11
+- Correct License field, it's been MIT since 2011, not
+ Public Domain (#1605203)
+
+* Fri Jul 13 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 33.3.1-10
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
+
+* Thu Feb 08 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 33.3.1-9
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
+
+* Sat Jan 20 2018 Björn Esser <besser82(a)fedoraproject.org> - 33.3.1-8
+- Rebuilt for switch to libxcrypt
+
+* Thu Aug 03 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 33.3.1-7
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
+
+* Sun Jul 30 2017 Florian Weimer <fweimer(a)redhat.com> - 33.3.1-6
+- Rebuild with binutils fix for ppc64le (#1475636)
+
+* Wed Jul 26 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 33.3.1-5
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
+
+* Fri Feb 10 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 33.3.1-4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
+
+* Mon Dec 12 2016 Orion Poplawski <orion(a)cora.nwra.com> - 33.3.1-3
+- Handle lua and perl not being in buildroots
+- Use %%license
+- Cleanup spec
+
+* Thu Feb 04 2016 Fedora Release Engineering <releng(a)fedoraproject.org> - 33.3.1-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
+
+* Fri Jul 17 2015 Orion Poplawski <orion(a)cora.nwra.com> - 33.3.1-1
+- Update to 33.3.1
+
+* Wed Jun 17 2015 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 33.2.1-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
+
+* Thu Feb 26 2015 Orion Poplawski <orion(a)cora.nwra.com> - 33.2.1-1
+- Update to 33.2.1
+
+* Tue Feb 24 2015 Orion Poplawski <orion(a)cora.nwra.com> - 32-4
+- Update spec to match packaging draft, rebuild for lua 5.3 (bug #1195707)
+
+* Sun Aug 17 2014 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 32-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
+
+* Sat Jun 07 2014 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 32-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
+
+* Wed Jun 4 2014 Orion Poplawski <orion(a)cora.nwra.com> - 32-1
+- Update to version 32
+
+* Sat Aug 03 2013 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 5.1.28-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
+
+* Sun May 12 2013 Tom Callaway <spot(a)fedoraproject.org> - 5.1.28-1
+- update to 5.1.28, lua 5.2
+
+* Thu Feb 14 2013 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 5.1.14-4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
+
+* Thu Jul 19 2012 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 5.1.14-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
+
+* Fri Jan 13 2012 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 5.1.14-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
+
+* Tue Sep 27 2011 Michel Salim <salimma(a)fedoraproject.org> - 5.1.14-1
+- Update to 5.1.14
+
+* Tue Feb 08 2011 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 5.1.7-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
+
+* Sun Aug 15 2010 Tim Niemueller <tim(a)niemueller.de> - 5.1.7-1
+- Update to 5.1.7
+- Add -fPIC to CFLAGS
+
+* Sat Jul 25 2009 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 5.1.4-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
+
+* Wed Feb 25 2009 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 5.1.4-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
+
+* Mon Dec 22 2008 Tim Niemueller <tim(a)niemueller.de> - 5.1.4-1
+- Update to 5.1.4
+
+* Sat Apr 05 2008 Tim Niemueller <tim(a)niemueller.de> - 5.1.2-2
+- Set proper CFLAGS for valid debuginfo
+
+* Fri Apr 04 2008 Tim Niemueller <tim(a)niemueller.de> - 5.1.2-1
+- Initial package
+
diff --git a/lua-posix.spec b/lua-posix.spec
index 1e791c2..64cdb06 100644
--- a/lua-posix.spec
+++ b/lua-posix.spec
@@ -6,7 +6,7 @@
Name: lua-posix
Version: 35.0
-Release: 6%{?dist}
+Release: %autorelease
Summary: A POSIX library for Lua
License: MIT
URL: http://luaforge.net/projects/luaposix/
@@ -47,143 +47,4 @@ build-aux/luke install PREFIX=%{buildroot}%{_prefix} INST_LIBDIR=%{buildroot}%{l
%changelog
-* Mon Feb 14 2022 Andrew Hughes <gnu.andrew(a)redhat.com> - 35.0-6
-- Pass LDFLAGS to the build so RPM linker flags are used and annocheck passes.
-- Add patch from upstream to fix propagation of LDFLAGS into build system.
-
-* Thu Jan 20 2022 Fedora Release Engineering <releng(a)fedoraproject.org> - 35.0-5
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
-
-* Thu Jul 22 2021 Fedora Release Engineering <releng(a)fedoraproject.org> - 35.0-4
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
-
-* Tue Jan 26 2021 Fedora Release Engineering <releng(a)fedoraproject.org> - 35.0-3
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
-
-* Tue Jul 28 2020 Fedora Release Engineering <releng(a)fedoraproject.org> - 35.0-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
-
-* Fri Jul 10 2020 Orion Poplawski <orion(a)nwra.com> - 35.0-1
-- Update to 35.0
-
-* Fri Jul 03 2020 Orion Poplawski <orion(a)nwra.com> - 34.1.1-2
-- Fix bit32 patch
-- More lua 5.4 fixes
-
-* Fri Jul 03 2020 Orion Poplawski <orion(a)nwra.com> - 34.1.1-1
-- Update to 34.1.1 (bz#1849450)
-
-* Mon Jun 29 2020 Tom Callaway <spot(a)fedoraproject.org> - 33.3.1-17
-- hack this ancient beastie to work with lua 5.4
-- maintainer, please update this to the current upstream release at your earliest convenience
-
-* Wed Jan 29 2020 Fedora Release Engineering <releng(a)fedoraproject.org> - 33.3.1-16
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
-
-* Wed Jan 22 2020 Owen Taylor <otaylor(a)redhat.com> - 33.3.1-15
-- Use RPM macros from lua-devel
-
-* Thu Jul 25 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 33.3.1-14
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
-
-* Fri Feb 01 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 33.3.1-13
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
-
-* Mon Jan 14 2019 Björn Esser <besser82(a)fedoraproject.org> - 33.3.1-12
-- Rebuilt for libcrypt.so.2 (#1666033)
-
-* Wed Jul 25 2018 Bastien Nocera <bnocera(a)redhat.com> - 33.3.1-11
-+ lua-posix-33.3.1-11
-- Correct License field, it's been MIT since 2011, not
- Public Domain (#1605203)
-
-* Fri Jul 13 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 33.3.1-10
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
-
-* Thu Feb 08 2018 Fedora Release Engineering <releng(a)fedoraproject.org> - 33.3.1-9
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
-
-* Sat Jan 20 2018 Björn Esser <besser82(a)fedoraproject.org> - 33.3.1-8
-- Rebuilt for switch to libxcrypt
-
-* Thu Aug 03 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 33.3.1-7
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
-
-* Sun Jul 30 2017 Florian Weimer <fweimer(a)redhat.com> - 33.3.1-6
-- Rebuild with binutils fix for ppc64le (#1475636)
-
-* Wed Jul 26 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 33.3.1-5
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
-
-* Fri Feb 10 2017 Fedora Release Engineering <releng(a)fedoraproject.org> - 33.3.1-4
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
-
-* Mon Dec 12 2016 Orion Poplawski <orion(a)cora.nwra.com> - 33.3.1-3
-- Handle lua and perl not being in buildroots
-- Use %%license
-- Cleanup spec
-
-* Thu Feb 04 2016 Fedora Release Engineering <releng(a)fedoraproject.org> - 33.3.1-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
-
-* Fri Jul 17 2015 Orion Poplawski <orion(a)cora.nwra.com> - 33.3.1-1
-- Update to 33.3.1
-
-* Wed Jun 17 2015 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 33.2.1-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
-
-* Thu Feb 26 2015 Orion Poplawski <orion(a)cora.nwra.com> - 33.2.1-1
-- Update to 33.2.1
-
-* Tue Feb 24 2015 Orion Poplawski <orion(a)cora.nwra.com> - 32-4
-- Update spec to match packaging draft, rebuild for lua 5.3 (bug #1195707)
-
-* Sun Aug 17 2014 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 32-3
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
-
-* Sat Jun 07 2014 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 32-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
-
-* Wed Jun 4 2014 Orion Poplawski <orion(a)cora.nwra.com> - 32-1
-- Update to version 32
-
-* Sat Aug 03 2013 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 5.1.28-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
-
-* Sun May 12 2013 Tom Callaway <spot(a)fedoraproject.org> - 5.1.28-1
-- update to 5.1.28, lua 5.2
-
-* Thu Feb 14 2013 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 5.1.14-4
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
-
-* Thu Jul 19 2012 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 5.1.14-3
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
-
-* Fri Jan 13 2012 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 5.1.14-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
-
-* Tue Sep 27 2011 Michel Salim <salimma(a)fedoraproject.org> - 5.1.14-1
-- Update to 5.1.14
-
-* Tue Feb 08 2011 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 5.1.7-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
-
-* Sun Aug 15 2010 Tim Niemueller <tim(a)niemueller.de> - 5.1.7-1
-- Update to 5.1.7
-- Add -fPIC to CFLAGS
-
-* Sat Jul 25 2009 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 5.1.4-3
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
-
-* Wed Feb 25 2009 Fedora Release Engineering <rel-eng(a)lists.fedoraproject.org> - 5.1.4-2
-- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
-
-* Mon Dec 22 2008 Tim Niemueller <tim(a)niemueller.de> - 5.1.4-1
-- Update to 5.1.4
-
-* Sat Apr 05 2008 Tim Niemueller <tim(a)niemueller.de> - 5.1.2-2
-- Set proper CFLAGS for valid debuginfo
-
-* Fri Apr 04 2008 Tim Niemueller <tim(a)niemueller.de> - 5.1.2-1
-- Initial package
-
+%autochangelog
https://src.fedoraproject.org/rpms/lua-posix/c/afe1f0b76fc8dc306aa4e6fc18...
2Â years, 1Â month
salimma pushed to lua-posix (rawhide). "Update to 35.1 (..more)"
by notificationsï¼ fedoraproject.org
Notification time stamped 2022-04-01 02:55:07 UTC
From 7801a0ed2c7b1d31dbd2ef9c302f9b47579def54 Mon Sep 17 00:00:00 2001
From: Michel Alexandre Salim <salimma(a)fedoraproject.org>
Date: Apr 01 2022 02:20:16 +0000
Subject: Update to 35.1
Signed-off-by: Michel Alexandre Salim <salimma(a)fedoraproject.org>
---
diff --git a/.gitignore b/.gitignore
index 5d39617..8c0fd0b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -6,3 +6,4 @@
/release-v33.3.1.tar.gz
/release-v34.1.1.tar.gz
/lua-posix-35.0.tar.gz
+/lua-posix-35.1.tar.gz
diff --git a/lua-posix.spec b/lua-posix.spec
index 64cdb06..56681d4 100644
--- a/lua-posix.spec
+++ b/lua-posix.spec
@@ -1,11 +1,8 @@
-%{!?luaver: %global luaver %(lua -e "print(string.sub(_VERSION, 5))" || echo 0)}
-%global lualibdir %{_libdir}/lua/%{luaver}
-%global luapkgdir %{_datadir}/lua/%{luaver}
-%global commit 58016bbba40b063e8a98a7e9f14acfcd46f103d4
-%global shortcommit %(c=%{commit}; echo ${c:0:7})
+# Tests require specl which is not yet packaged
+%bcond_with check
Name: lua-posix
-Version: 35.0
+Version: 35.1
Release: %autorelease
Summary: A POSIX library for Lua
License: MIT
@@ -15,17 +12,14 @@ BuildRequires: gcc
BuildRequires: lua-devel
%{?lua_requires}
-# Fixes passing LDFLAGS into the build, in upstream release 35.1
-# https://github.com/luaposix/luaposix/commit/4788eba65956aa9347bbb5856c920...
-Patch0: propagate_ldflags.patch
-
%description
This is a POSIX library for Lua which provides access to many POSIX features
to Lua programs.
+
%prep
-%setup -q -n luaposix-%{version}
-%patch0 -p1
+%autosetup -p1 -n luaposix-%{version}
+
%build
build-aux/luke CFLAGS="%build_cflags" LDFLAGS="%build_ldflags"
@@ -35,13 +29,15 @@ build-aux/luke CFLAGS="%build_cflags" LDFLAGS="%build_ldflags"
build-aux/luke install PREFIX=%{buildroot}%{_prefix} INST_LIBDIR=%{buildroot}%{lua_libdir}
-#check
-# Tests require specl which is not yet packaged
+%if %{with check}
+%check
+lua ./spec/spec_helper.lua
+%endif
%files
%license LICENSE
-%doc AUTHORS ChangeLog.old NEWS.md README.md
+%doc AUTHORS NEWS.md README.md
%{lua_libdir}/*
%{lua_pkgdir}/posix/
diff --git a/propagate_ldflags.patch b/propagate_ldflags.patch
deleted file mode 100644
index aff5ce8..0000000
--- a/propagate_ldflags.patch
+++ /dev/null
@@ -1,70 +0,0 @@
-commit 4788eba65956aa9347bbb5856c9208888a20330b
-Author: Gary V. Vaughan <gary(a)gnu.org>
-Date: Thu Sep 9 12:40:55 2021 -0700
-
- maint: sync luke with upstream.
-
- * build-aux/luke: Propagates LDFLAGS to module compilation commands
-
- Signed-off-by: Gary V. Vaughan <gary(a)gnu.org>
-
-diff --git a/build-aux/luke b/build-aux/luke
-index 9f476f7..9d74aa2 100755
---- a/build-aux/luke
-+++ b/build-aux/luke
-@@ -17,10 +17,10 @@ end,fatal=fatal,}
- end
- package.preload['luke.cli']=function()
- local _ENV=require'std.normalize'{'luke._base','luke.lukefile','luke.platforms','std.functional',}local function version()print[[
--luke (Luke) 0.2.0
-+luke (Luke) 0.2.2
- Written by Gary V. Vaughan <gary(a)gnu.org>, 2014
-
--Copyright (C) 2020, Gary V. Vaughan
-+Copyright (C) 2021, Gary V. Vaughan
- Luke comes with ABSOLUTELY NO WARRANTY.
- You may redistribute copies of Luke under the terms of the MIT license;
- it may be used for any purpose at absolutely no cost, without permission.
-@@ -102,7 +102,7 @@ abspath=abspath..'.lua'return src,(gsub(abspath,'/[^/]+%.lua$',''))end
- local function module_to_path(module,sources,objdir)return dropuntil(sources,function(source)return case(source,{['.*%.[ch]']=bind(c_source,{module,objdir}),['(.*%.[ch])%.in']=bind(c_source,{module,objdir}),['.*%.lua']=bind(lua_source,{module}),['(.*%.lua)%.in']=bind(lua_source,{module}),function(src)fatal("unsupported source type '%s'",src)end,})end)end
- return{build_c_module=function(L,env,luke,name)local rules=luke.modules[name]local c_module=c_module_path(luke.variables.objdir,name)local command={'$MAKEDIRS',dirname(c_module)}local status,err,out=spawn(env,unpack(command))if status~=0 then
- stdout:write(concat(command,' ')..'\n')stderr:write(err..'\n')exit(status)end
--return run(L,env,flatten('$CC $CFLAGS $LIBFLAG $PKGFLAGS $CPPFLAGS',defines(env,except(list(rules.defines,luke.defines),nil)),incdirs(rules.incdirs,luke.incdirs),rules.sources,'-o',c_module,libdirs(rules.libdirs,luke.libdirs),'$LIBS',rules.libraries,luke.libraries))end,c_modules=function(modules)return filter(keys(modules),function(name)return dropuntil(modules[name].sources,bind(match,{[2]='%.[ch]$'}))end)end,incdirs=incdirs,install_modules=function(L,env,luke,modules)return reduce(keys(modules),0,function(status,name)if status==0 then
-+return run(L,env,flatten('$CC $CFLAGS $LIBFLAG $PKGFLAGS $CPPFLAGS',defines(env,except(list(rules.defines,luke.defines),nil)),incdirs(rules.incdirs,luke.incdirs),rules.sources,'-o',c_module,'$LDFLAGS',libdirs(rules.libdirs,luke.libdirs),'$LIBS',rules.libraries,luke.libraries))end,c_modules=function(modules)return filter(keys(modules),function(name)return dropuntil(modules[name].sources,bind(match,{[2]='%.[ch]$'}))end)end,incdirs=incdirs,install_modules=function(L,env,luke,modules)return reduce(keys(modules),0,function(status,name)if status==0 then
- local src,dir=module_to_path(name,modules[name].sources,luke.variables.objdir)if not exists(interpolate(env,dir))then
- status=run(L,env,{'$MAKEDIRS',dir})end
- if status==0 then
-@@ -135,6 +135,15 @@ return with(File(progpath,'r'),function(h)return h and isfile(h.context)and prog
- end)end)L.log(found and'found '..found or prog..' not found')return found~=nil
- end
- local function check_header_compile(L,env,config,header,extra_hdrs)return with(CTest(),function(conftest)conftest:write(format('%s\n#include "%s"\n',extra_hdrs,header))return logspawn(L,env,compile_command(L,env,config,conftest.filename))end)end
-+local function check_struct_member_compile(L,env,config,structname,member,extra_hdrs)return with(CTest(),function(conftest)conftest:write(format([[
-+%s
-+int main () {
-+static %s aggr;
-+if (sizeof aggr.%s)
-+ return 0;
-+return 0;
-+}
-+]],extra_hdrs,structname,member))return logspawn(L,env,compile_command(L,env,config,conftest.filename))end)end
- local function try_link(L,env,config,lib,symbol)return with(CTest(),TmpFile(),function(conftest,a_out)conftest:write(format([[
- /* Override any GCC internal prototype to avoid an error.
- Use char because int might match the return type of a GCC
-@@ -225,7 +234,7 @@ end
- CONFIGENV.libs=lib..CONFIGENV.libs
- end
- return found_library(L,lib)end
--end)or call(function()L.verbose'\n'fatal("required symbol '%s' not found in any of libc, lib%s",symbol,concat(libraries,', lib'))end)end},{checkfunc=function(L,env,config)checking(L,'for',config.checkfunc)return found_result(L,check_func_link(L,env,config,config.checkfunc))end}),{__call=function(self,L,env,config,prefix)return case(type(config),{['number']=function()return str(config)end,['string']=function()return config
-+end)or call(function()L.verbose'\n'fatal("required symbol '%s' not found in any of libc, lib%s",symbol,concat(libraries,', lib'))end)end},{checkfunc=function(L,env,config)checking(L,'for',config.checkfunc)return found_result(L,check_func_link(L,env,config,config.checkfunc))end},{checkmember=function(L,env,config)checking(L,'for',config.checkmember)local extra_hdrs=concat(format_includes(config.includes),'\n')local i=find(config.checkmember,'%.')local structname=sub(config.checkmember,1,i-1)local member=sub(config.checkmember,i+1)return found_result(L,check_struct_member_compile(L,env,config,structname,member,extra_hdrs))end}),{__call=function(self,L,env,config,prefix)return case(type(config),{['number']=function()return str(config)end,['string']=function()return config
- end,['table']=function()return dropuntil(self,function(fname)if config[fname]~=nil then
- add_external_deps(env,config,prefix)return apply(self[fname],list(L,env,config))end
- end)or fatal("unable to configure with keys '%s'",concat(keys(config),"', '"))end,function(type)fatal("unsupported configure type '%s'",type)end,})end,})return{config_compiler=function(L,env)local CC=env.CC
-@@ -588,7 +597,7 @@ end
- return setmetatable({append=function(seq,v)local n=(int(seq.n)or len(seq))+1
- seq.n,seq[n]=n,v
- return seq
--end,arg=arg,assert=assert,char=string.char,close=io.close,concat=concat,copy=copy,dirsep=dirsep,exit=os.exit,format=string.format,getenv=os.getenv,getmetatable=getmetatable,getmetamethod=getmetamethod,gmatch=string.gmatch,gsub=string.gsub,int=int,iscallable=iscallable,len=len,lines=io.lines,list=pack,loadstring=loadstring,match=string.match,maxn=function(iterable)local n=0
-+end,arg=arg,assert=assert,char=string.char,close=io.close,concat=concat,copy=copy,dirsep=dirsep,exit=os.exit,find=string.find,format=string.format,getenv=os.getenv,getmetatable=getmetatable,getmetamethod=getmetamethod,gmatch=string.gmatch,gsub=string.gsub,int=int,iscallable=iscallable,len=len,lines=io.lines,list=pack,loadstring=loadstring,match=string.match,maxn=function(iterable)local n=0
- for k,v in next,iterable or{}do
- local i=int(k)if i and i>n then
- n=i
diff --git a/sources b/sources
index 5b6b196..316aa12 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (lua-posix-35.0.tar.gz) = 4bb61892b78d9e59418a9a6360b9f611fb9b5438b9261a2c6672f053a1b21dfd9a2060b8d2f0d3eac6185773cf84672c1769c081c4ab53d2ddae2232e4a9269b
+SHA512 (lua-posix-35.1.tar.gz) = f2c36bf69c0d73b4a2c6ab0915f81473addce427c22e82e2d1c334016dec7fecb4365fc980fa6adb0de21ad1a60bc75b73f58579e8a423990ad2067c9ae37775
https://src.fedoraproject.org/rpms/lua-posix/c/7801a0ed2c7b1d31dbd2ef9c30...
2Â years, 1Â month
mystro256 pushed to rocm-device-libs (rawhide). "Fix llvm/clang major
requires (..more)"
by notificationsï¼ fedoraproject.org
Notification time stamped 2022-04-01 02:48:00 UTC
From 13b939a44a406d924fe8fc44ff09ea057f6810cd Mon Sep 17 00:00:00 2001
From: Jeremy Newton <alexjnewt(a)hotmail.com>
Date: Apr 01 2022 02:47:40 +0000
Subject: Fix llvm/clang major requires
If an application or library compiles with rocm-device-libs, the major
version of clang used must match the version used to compile
rocm-devices-libs.
To enforce this, this package needs to explicitly require the correct clang
package. Furthermore, while this package doesn't strictly require clang, the
bitcode isn't really useful without it.
---
diff --git a/rocm-device-libs.spec b/rocm-device-libs.spec
index dcb9411..a331857 100644
--- a/rocm-device-libs.spec
+++ b/rocm-device-libs.spec
@@ -1,11 +1,12 @@
# bitcode has no debuginfo
%global debug_package %{nil}
+%global llvm_maj_ver 14
%global upstreamname ROCm-Device-Libs
Name: rocm-device-libs
Version: 5.1.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: AMD ROCm LLVM bit code libraries
Url: https://github.com/RadeonOpenCompute/ROCm-Device-Libs
@@ -15,9 +16,11 @@ Source0: https://github.com/RadeonOpenCompute/%{upstreamname}/archive/ref
Patch0: 0001-Use-FHS-compliant-install.patch
BuildRequires: cmake
-BuildRequires: clang-devel >= 14.0.0
-BuildRequires: llvm-devel >= 14.0.0
+BuildRequires: clang-devel
+BuildRequires: clang(major) = %{llvm_maj_ver}
+BuildRequires: llvm-devel(major) = %{llvm_maj_ver}
BuildRequires: zlib-devel
+Requires: clang(major) = %{llvm_maj_ver}
#Only the following architectures are supported:
ExclusiveArch: x86_64 aarch64
@@ -51,6 +54,10 @@ libraries in the form of bit code. Specifically:
%{_libdir}/amdgcn
%changelog
+* Thu Mar 31 2022 Jeremy Newton <alexjnewt at hotmail dot com> - 5.1.0-2
+- Add clang specific major version requires
+- BR a specific clang/llvm major version combination
+
* Thu Mar 31 2022 Jeremy Newton <alexjnewt at hotmail dot com> - 5.1.0-1
- Update to 5.1.0
- Add llvm version requirement to make sure the right version is used
https://src.fedoraproject.org/rpms/rocm-device-libs/c/13b939a44a406d924fe...
2Â years, 1Â month
mystro256 pushed to gnome-shell-extension-caffeine (f36). "Fix GNOME
42 (..more)"
by notificationsï¼ fedoraproject.org
Notification time stamped 2022-04-01 02:43:11 UTC
From 1f3de63275e1196b7e116c6b7b21e1f35da911d6 Mon Sep 17 00:00:00 2001
From: Jeremy Newton <alexjnewt(a)hotmail.com>
Date: Apr 01 2022 02:32:15 +0000
Subject: Fix GNOME 42
Used in f36+, this updates to a upstream snapshot
---
diff --git a/.gitignore b/.gitignore
index 6d3921f..314aefb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
/gnome-shell-extension-caffeine-v37.tar.gz
/gnome-shell-extension-caffeine-v38.tar.gz
/gnome-shell-extension-caffeine-v39.tar.gz
+/gnome-shell-extension-caffeine-2394e7f.tar.gz
diff --git a/gnome-shell-extension-caffeine.spec b/gnome-shell-extension-caffeine.spec
index a360f14..d9585f0 100644
--- a/gnome-shell-extension-caffeine.spec
+++ b/gnome-shell-extension-caffeine.spec
@@ -1,14 +1,22 @@
+%global commit 2394e7f7180542beccaad28cb557045ff07ecd48
+%global shortcommit %(c=%{commit}; echo ${c:0:7})
+%global gitdate 20220331
+%global fgittag %{gitdate}.git%{shortcommit}
%global extdir caffeine(a)patapon.info
%global gschemadir %{_datadir}/glib-2.0/schemas
Name: gnome-shell-extension-caffeine
Version: 39
-Release: 2%{?dist}
+Release: 3%{?fgittag:.%{fgittag}}%{?dist}
Summary: Disable the screen saver and auto suspend in gnome shell
License: GPLv2
URL: https://github.com/eonpatapon/gnome-shell-extension-caffeine
+%if 0%{?shortcommit:1}
+Source0: https://github.com/eonpatapon/%{name}/archive/%{commit}/%{name}-%{shortco...
+%else
Source0: https://github.com/eonpatapon/%{name}/archive/v%{version}.tar.gz#/%{name}...
+%endif
BuildArch: noarch
@@ -24,7 +32,7 @@ is also enabled if a full screen application is running, and can be configured
to disable gnome shell's night light as well.
%prep
-%autosetup
+%autosetup %{?commit:-n %{name}-%{commit}}
%build
./update-locale.sh
@@ -51,6 +59,9 @@ fi
%{_datadir}/gnome-shell/extensions/%{extdir}
%changelog
+* Thu Mar 31 2022 Jeremy Newton <alexjnewt at hotmail dot com> - 39-3.20220331.git2394e7f
+- Update to git snapshot to fix f36
+
* Thu Jan 20 2022 Fedora Release Engineering <releng(a)fedoraproject.org> - 39-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
diff --git a/sources b/sources
index b36aca1..3399b8f 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (gnome-shell-extension-caffeine-v39.tar.gz) = f0350ddaa3c4eb7a841da38bdd4827c7f76b202dda5883dc39cc0d47a8199664b17c0189ce1dba1bf67c65f1b2b2e264d97788d610b99380f75e0a7d5768e3e8
+SHA512 (gnome-shell-extension-caffeine-2394e7f.tar.gz) = e10e8c04a2bdb706c063dcea5ba69ef79c1d6c0e8f216a3c28f08da30e097ff646070a9e65b82d14e39f18c8cf9d8db8fa4186144232bbd0ee08e02d702fb3a7
https://src.fedoraproject.org/rpms/gnome-shell-extension-caffeine/c/1f3de...
2Â years, 1Â month
mystro256 pushed to gnome-shell-extension-caffeine (rawhide). "Fix
GNOME 42 (..more)"
by notificationsï¼ fedoraproject.org
Notification time stamped 2022-04-01 02:33:21 UTC
From 1f3de63275e1196b7e116c6b7b21e1f35da911d6 Mon Sep 17 00:00:00 2001
From: Jeremy Newton <alexjnewt(a)hotmail.com>
Date: Apr 01 2022 02:32:15 +0000
Subject: Fix GNOME 42
Used in f36+, this updates to a upstream snapshot
---
diff --git a/.gitignore b/.gitignore
index 6d3921f..314aefb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
/gnome-shell-extension-caffeine-v37.tar.gz
/gnome-shell-extension-caffeine-v38.tar.gz
/gnome-shell-extension-caffeine-v39.tar.gz
+/gnome-shell-extension-caffeine-2394e7f.tar.gz
diff --git a/gnome-shell-extension-caffeine.spec b/gnome-shell-extension-caffeine.spec
index a360f14..d9585f0 100644
--- a/gnome-shell-extension-caffeine.spec
+++ b/gnome-shell-extension-caffeine.spec
@@ -1,14 +1,22 @@
+%global commit 2394e7f7180542beccaad28cb557045ff07ecd48
+%global shortcommit %(c=%{commit}; echo ${c:0:7})
+%global gitdate 20220331
+%global fgittag %{gitdate}.git%{shortcommit}
%global extdir caffeine(a)patapon.info
%global gschemadir %{_datadir}/glib-2.0/schemas
Name: gnome-shell-extension-caffeine
Version: 39
-Release: 2%{?dist}
+Release: 3%{?fgittag:.%{fgittag}}%{?dist}
Summary: Disable the screen saver and auto suspend in gnome shell
License: GPLv2
URL: https://github.com/eonpatapon/gnome-shell-extension-caffeine
+%if 0%{?shortcommit:1}
+Source0: https://github.com/eonpatapon/%{name}/archive/%{commit}/%{name}-%{shortco...
+%else
Source0: https://github.com/eonpatapon/%{name}/archive/v%{version}.tar.gz#/%{name}...
+%endif
BuildArch: noarch
@@ -24,7 +32,7 @@ is also enabled if a full screen application is running, and can be configured
to disable gnome shell's night light as well.
%prep
-%autosetup
+%autosetup %{?commit:-n %{name}-%{commit}}
%build
./update-locale.sh
@@ -51,6 +59,9 @@ fi
%{_datadir}/gnome-shell/extensions/%{extdir}
%changelog
+* Thu Mar 31 2022 Jeremy Newton <alexjnewt at hotmail dot com> - 39-3.20220331.git2394e7f
+- Update to git snapshot to fix f36
+
* Thu Jan 20 2022 Fedora Release Engineering <releng(a)fedoraproject.org> - 39-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
diff --git a/sources b/sources
index b36aca1..3399b8f 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (gnome-shell-extension-caffeine-v39.tar.gz) = f0350ddaa3c4eb7a841da38bdd4827c7f76b202dda5883dc39cc0d47a8199664b17c0189ce1dba1bf67c65f1b2b2e264d97788d610b99380f75e0a7d5768e3e8
+SHA512 (gnome-shell-extension-caffeine-2394e7f.tar.gz) = e10e8c04a2bdb706c063dcea5ba69ef79c1d6c0e8f216a3c28f08da30e097ff646070a9e65b82d14e39f18c8cf9d8db8fa4186144232bbd0ee08e02d702fb3a7
https://src.fedoraproject.org/rpms/gnome-shell-extension-caffeine/c/1f3de...
2Â years, 1Â month