|
@@ -1,7 +1,9 @@
|
|
|
|
+%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
|
|
|
|
+
|
|
Name: libatomic_ops
|
|
Name: libatomic_ops
|
|
Summary: Atomic memory update operations
|
|
Summary: Atomic memory update operations
|
|
Version: 7.4.4
|
|
Version: 7.4.4
|
|
-Release: 3%{?_dist_release}
|
|
+Release: 4%{?_dist_release}
|
|
|
|
|
|
# libatomic_ops MIT, libatomic_ops_gpl GPLv2
|
|
# libatomic_ops MIT, libatomic_ops_gpl GPLv2
|
|
License: GPLv2 and MIT
|
|
License: GPLv2 and MIT
|
|
@@ -47,6 +49,25 @@ Requires: %{name}-devel%{?_isa} = %{version}-%{release}
|
|
%description static
|
|
%description static
|
|
Files for developing with %{name} and linking statically.
|
|
Files for developing with %{name} and linking statically.
|
|
|
|
|
|
|
|
+%package -n compat32-%{name}
|
|
|
|
+Summary: Atomic memory update operations
|
|
|
|
+Group: System Environment/Libraries
|
|
|
|
+Requires: %{name} = %{version}-%{release}
|
|
|
|
+%description -n compat32-%{name}
|
|
|
|
+Provides implementations for atomic memory update operations on a
|
|
|
|
+number of architectures. This allows direct use of these in reasonably
|
|
|
|
+portable code. Unlike earlier similar packages, this one explicitly
|
|
|
|
+considers memory barrier semantics, and allows the construction of code
|
|
|
|
+that involves minimum overhead across a variety of architectures.
|
|
|
|
+
|
|
|
|
+%package -n compat32-%{name}-devel
|
|
|
|
+Summary: Development files for %{name}
|
|
|
|
+Group: Development/Libraries
|
|
|
|
+Requires: compat32-%{name} = %{version}-%{release}
|
|
|
|
+Requires: %{name}-devel = %{version}-%{release}
|
|
|
|
+%description -n compat32-%{name}-devel
|
|
|
|
+Files for developing with %{name}.
|
|
|
|
+
|
|
|
|
|
|
%prep
|
|
%prep
|
|
%autosetup -p1
|
|
%autosetup -p1
|
|
@@ -105,8 +126,24 @@ make check %{?arch_ignore}
|
|
%{_libdir}/libatomic_ops.a
|
|
%{_libdir}/libatomic_ops.a
|
|
%{_libdir}/libatomic_ops_gpl.a
|
|
%{_libdir}/libatomic_ops_gpl.a
|
|
|
|
|
|
|
|
+%if %{build_compat32}
|
|
|
|
+%files -n compat32-%{name}
|
|
|
|
+%defattr(-,root,root)
|
|
|
|
+%{_libdir}/libatomic_ops.so.1*
|
|
|
|
+%{_libdir}/libatomic_ops_gpl.so.1*
|
|
|
|
+
|
|
|
|
+%files -n compat32-%{name}-devel
|
|
|
|
+%defattr(-,root,root)
|
|
|
|
+%{_libdir}/libatomic_ops.so
|
|
|
|
+%{_libdir}/libatomic_ops_gpl.so
|
|
|
|
+%{_libdir}/pkgconfig/atomic_ops.pc
|
|
|
|
+%endif
|
|
|
|
+
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Sat Jul 2 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 7.4.4-4
|
|
|
|
+- added compat32 pachages.
|
|
|
|
+
|
|
* Sat Jul 2 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 7.4.4-3
|
|
* Sat Jul 2 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 7.4.4-3
|
|
- fixed %%changelog.
|
|
- fixed %%changelog.
|
|
|
|
|