|
|
2f0b17 |
Name: chan
|
|
|
2f0b17 |
Version: 0.0.4
|
|
|
2f0b17 |
Release: 6%{?dist}
|
|
|
2f0b17 |
Summary: Pure C implementation of Go channels
|
|
|
2f0b17 |
License: ASL 2.0
|
|
|
2f0b17 |
URL: https://github.com/tylertreat/%{name}
|
|
|
2f0b17 |
Source0: https://github.com/tylertreat/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
|
|
|
2f0b17 |
|
|
|
2f0b17 |
BuildRequires: gcc autoconf automake libtool
|
|
|
2f0b17 |
BuildRequires: make
|
|
|
2f0b17 |
#Requires:
|
|
|
2f0b17 |
|
|
|
2f0b17 |
%description
|
|
|
2f0b17 |
Pure C implementation of Go channels. Unbuffered, buffered
|
|
|
2f0b17 |
and closing channels are available.
|
|
|
2f0b17 |
|
|
|
2f0b17 |
%package devel
|
|
|
2f0b17 |
Summary: Development files for %{name}
|
|
|
2f0b17 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
2f0b17 |
|
|
|
2f0b17 |
%description devel
|
|
|
2f0b17 |
The %{name}-devel package contains libraries and header files for
|
|
|
2f0b17 |
developing applications that use %{name}.
|
|
|
2f0b17 |
|
|
|
2f0b17 |
|
|
|
2f0b17 |
%prep
|
|
|
2f0b17 |
%autosetup -n %{name}-%{version}
|
|
|
2f0b17 |
|
|
|
2f0b17 |
|
|
|
2f0b17 |
%build
|
|
|
2f0b17 |
./autogen.sh
|
|
|
2f0b17 |
%configure --disable-static
|
|
|
2f0b17 |
%make_build
|
|
|
2f0b17 |
|
|
|
2f0b17 |
%check
|
|
|
2f0b17 |
%make_build src/chan_test
|
|
|
2f0b17 |
./src/chan_test
|
|
|
2f0b17 |
|
|
|
2f0b17 |
%install
|
|
|
2f0b17 |
rm -rf $RPM_BUILD_ROOT
|
|
|
2f0b17 |
%make_install
|
|
|
2f0b17 |
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
|
|
2f0b17 |
|
|
|
2f0b17 |
%ldconfig_post
|
|
|
2f0b17 |
|
|
|
2f0b17 |
%ldconfig_postun
|
|
|
2f0b17 |
|
|
|
2f0b17 |
|
|
|
2f0b17 |
%files
|
|
|
2f0b17 |
%license LICENSE
|
|
|
2f0b17 |
%doc README.md
|
|
|
2f0b17 |
%{_libdir}/lib%{name}.so.0.0.0
|
|
|
2f0b17 |
%{_libdir}/lib%{name}.so.0
|
|
|
2f0b17 |
|
|
|
2f0b17 |
%files devel
|
|
|
2f0b17 |
%dir %{_includedir}/%{name}
|
|
|
2f0b17 |
%{_includedir}/%{name}/queue.h
|
|
|
2f0b17 |
%{_includedir}/%{name}/%{name}.h
|
|
|
2f0b17 |
%{_libdir}/lib%{name}.so
|
|
|
2f0b17 |
|
|
|
2f0b17 |
|
|
|
2f0b17 |
%changelog
|
|
|
2f0b17 |
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 0.0.4-6
|
|
|
2f0b17 |
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
2f0b17 |
Related: rhbz#1991688
|
|
|
2f0b17 |
|
|
|
2f0b17 |
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 0.0.4-5
|
|
|
2f0b17 |
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
2f0b17 |
|
|
|
2f0b17 |
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.4-4
|
|
|
2f0b17 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
2f0b17 |
|
|
|
2f0b17 |
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.4-3
|
|
|
2f0b17 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
2f0b17 |
|
|
|
2f0b17 |
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.4-2
|
|
|
2f0b17 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
2f0b17 |
|
|
|
2f0b17 |
* Wed Aug 14 2019 Lukáš Zapletal 0.0.4-1
|
|
|
2f0b17 |
- Initial package version
|