|
|
@ -6,10 +6,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
Name: uuid
|
|
|
|
Name: uuid
|
|
|
|
Version: 1.6.2
|
|
|
|
Version: 1.6.2
|
|
|
|
Release: 43%{?dist}
|
|
|
|
Release: 55%{?dist}
|
|
|
|
Summary: Universally Unique Identifier library
|
|
|
|
Summary: Universally Unique Identifier library
|
|
|
|
License: MIT
|
|
|
|
License: MIT
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
|
|
|
|
URL: http://www.ossp.org/pkg/lib/uuid/
|
|
|
|
URL: http://www.ossp.org/pkg/lib/uuid/
|
|
|
|
Source0: ftp://ftp.ossp.org/pkg/lib/uuid/uuid-%{version}.tar.gz
|
|
|
|
Source0: ftp://ftp.ossp.org/pkg/lib/uuid/uuid-%{version}.tar.gz
|
|
|
|
Patch0: uuid-1.6.1-ossp.patch
|
|
|
|
Patch0: uuid-1.6.1-ossp.patch
|
|
|
@ -23,10 +22,12 @@ Patch3: uuid-1.6.2-hwaddr.patch
|
|
|
|
Patch4: uuid-1.6.2-nostrip.patch
|
|
|
|
Patch4: uuid-1.6.2-nostrip.patch
|
|
|
|
Patch5: uuid-1.6.2-manfix.patch
|
|
|
|
Patch5: uuid-1.6.2-manfix.patch
|
|
|
|
Patch6: uuid-aarch64.patch
|
|
|
|
Patch6: uuid-aarch64.patch
|
|
|
|
Patch7: uuid-1.6.2-ldflagsfix.patch
|
|
|
|
|
|
|
|
Patch8: uuid-1.6.2-vaendfix.patch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
# use ldflags for libs too
|
|
|
|
|
|
|
|
Patch7: uuid-1.6.2-ldflags.patch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: libtool
|
|
|
|
BuildRequires: libtool
|
|
|
|
|
|
|
|
|
|
|
|
Obsoletes: %{name}-pgsql < 1.6.2-24
|
|
|
|
Obsoletes: %{name}-pgsql < 1.6.2-24
|
|
|
@ -44,7 +45,6 @@ Data::UUID APIs.
|
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
%package devel
|
|
|
|
Summary: Development support for Universally Unique Identifier library
|
|
|
|
Summary: Development support for Universally Unique Identifier library
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
|
|
|
Requires: pkgconfig
|
|
|
|
Requires: pkgconfig
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
@ -53,7 +53,6 @@ Development headers and libraries for OSSP uuid.
|
|
|
|
|
|
|
|
|
|
|
|
%package c++
|
|
|
|
%package c++
|
|
|
|
Summary: C++ support for Universally Unique Identifier library
|
|
|
|
Summary: C++ support for Universally Unique Identifier library
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
%description c++
|
|
|
|
%description c++
|
|
|
@ -61,7 +60,6 @@ C++ libraries for OSSP uuid.
|
|
|
|
|
|
|
|
|
|
|
|
%package c++-devel
|
|
|
|
%package c++-devel
|
|
|
|
Summary: C++ development support for Universally Unique Identifier library
|
|
|
|
Summary: C++ development support for Universally Unique Identifier library
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
|
|
|
Requires: %{name}-c++ = %{version}-%{release}
|
|
|
|
Requires: %{name}-c++ = %{version}-%{release}
|
|
|
|
Requires: %{name}-devel = %{version}-%{release}
|
|
|
|
Requires: %{name}-devel = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
@ -70,12 +68,21 @@ C++ development headers and libraries for OSSP uuid.
|
|
|
|
|
|
|
|
|
|
|
|
%package perl
|
|
|
|
%package perl
|
|
|
|
Summary: Perl support for Universally Unique Identifier library
|
|
|
|
Summary: Perl support for Universally Unique Identifier library
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
|
|
|
BuildRequires: perl-devel
|
|
|
|
BuildRequires: perl-devel
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
|
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
|
|
|
|
BuildRequires: perl(Carp)
|
|
|
|
|
|
|
|
BuildRequires: perl(Config)
|
|
|
|
BuildRequires: perl(Data::UUID)
|
|
|
|
BuildRequires: perl(Data::UUID)
|
|
|
|
|
|
|
|
BuildRequires: perl(Exporter)
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
|
|
|
|
BuildRequires: perl(IO::File)
|
|
|
|
|
|
|
|
BuildRequires: perl(MIME::Base64)
|
|
|
|
|
|
|
|
BuildRequires: perl(strict)
|
|
|
|
BuildRequires: perl(Test::More)
|
|
|
|
BuildRequires: perl(Test::More)
|
|
|
|
|
|
|
|
BuildRequires: perl(Tie::Scalar)
|
|
|
|
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
|
|
|
|
BuildRequires: perl(XSLoader)
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
Requires: perl(Data::UUID)
|
|
|
|
Requires: perl(Data::UUID)
|
|
|
@ -85,7 +92,6 @@ Perl OSSP uuid module.
|
|
|
|
|
|
|
|
|
|
|
|
%package dce
|
|
|
|
%package dce
|
|
|
|
Summary: DCE support for Universally Unique Identifier library
|
|
|
|
Summary: DCE support for Universally Unique Identifier library
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
%description dce
|
|
|
|
%description dce
|
|
|
@ -93,7 +99,6 @@ DCE OSSP uuid library.
|
|
|
|
|
|
|
|
|
|
|
|
%package dce-devel
|
|
|
|
%package dce-devel
|
|
|
|
Summary: DCE development support for Universally Unique Identifier library
|
|
|
|
Summary: DCE development support for Universally Unique Identifier library
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
|
|
|
Requires: %{name}-dce = %{version}-%{release}
|
|
|
|
Requires: %{name}-dce = %{version}-%{release}
|
|
|
|
Requires: %{name}-devel = %{version}-%{release}
|
|
|
|
Requires: %{name}-devel = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
@ -109,8 +114,7 @@ DCE development headers and libraries for OSSP uuid.
|
|
|
|
%patch4 -p1 -b .nostrip
|
|
|
|
%patch4 -p1 -b .nostrip
|
|
|
|
%patch5 -p1 -b .manfix
|
|
|
|
%patch5 -p1 -b .manfix
|
|
|
|
%patch6 -p1 -b .aarch64
|
|
|
|
%patch6 -p1 -b .aarch64
|
|
|
|
%patch7 -p1 -b .ldflagsfix
|
|
|
|
%patch7 -p1 -b .ldflags
|
|
|
|
%patch8 -p1 -b .vaendfix
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
# Build the library.
|
|
|
|
# Build the library.
|
|
|
@ -121,6 +125,7 @@ export PHP_NAME=$(pwd)/php/modules/ossp-uuid.so
|
|
|
|
export PGSQL_NAME=$(pwd)/pgsql/libossp-uuid.so
|
|
|
|
export PGSQL_NAME=$(pwd)/pgsql/libossp-uuid.so
|
|
|
|
export CFLAGS="$RPM_OPT_FLAGS"
|
|
|
|
export CFLAGS="$RPM_OPT_FLAGS"
|
|
|
|
export CXXFLAGS="$RPM_OPT_FLAGS"
|
|
|
|
export CXXFLAGS="$RPM_OPT_FLAGS"
|
|
|
|
|
|
|
|
export LDFLAGS="-Wl,-z,now -Wl,-z,relro %{?__global_ldflags}"
|
|
|
|
%configure \
|
|
|
|
%configure \
|
|
|
|
--disable-static \
|
|
|
|
--disable-static \
|
|
|
|
--without-perl \
|
|
|
|
--without-perl \
|
|
|
@ -173,23 +178,11 @@ perl -MData::UUID -e 'print "Testing compatibility of Data::UUID version $Data::
|
|
|
|
LD_LIBRARY_PATH=../.libs make test TEST_FILES=uuid_compat.ts
|
|
|
|
LD_LIBRARY_PATH=../.libs make test TEST_FILES=uuid_compat.ts
|
|
|
|
popd
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
%ldconfig_scriptlets
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%ldconfig_scriptlets c++
|
|
|
|
|
|
|
|
%ldconfig_scriptlets dce
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%post c++ -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%post dce -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%postun c++ -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%postun dce -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
|
|
|
%doc AUTHORS ChangeLog HISTORY NEWS PORTING README SEEALSO THANKS TODO USERS
|
|
|
|
%doc AUTHORS ChangeLog HISTORY NEWS PORTING README SEEALSO THANKS TODO USERS
|
|
|
|
%{_bindir}/uuid
|
|
|
|
%{_bindir}/uuid
|
|
|
|
%{_libdir}/libossp-uuid.so.*
|
|
|
|
%{_libdir}/libossp-uuid.so.*
|
|
|
@ -197,7 +190,6 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
%exclude %{_mandir}/man1/uuid-config.*
|
|
|
|
%exclude %{_mandir}/man1/uuid-config.*
|
|
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
|
|
|
%{_bindir}/uuid-config*
|
|
|
|
%{_bindir}/uuid-config*
|
|
|
|
%{_includedir}/uuid.h
|
|
|
|
%{_includedir}/uuid.h
|
|
|
|
%{_libdir}/libossp-uuid.so
|
|
|
|
%{_libdir}/libossp-uuid.so
|
|
|
@ -206,39 +198,68 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
%{_mandir}/man1/uuid-config.*
|
|
|
|
%{_mandir}/man1/uuid-config.*
|
|
|
|
|
|
|
|
|
|
|
|
%files c++
|
|
|
|
%files c++
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
|
|
|
%{_libdir}/libossp-uuid++.so.*
|
|
|
|
%{_libdir}/libossp-uuid++.so.*
|
|
|
|
|
|
|
|
|
|
|
|
%files c++-devel
|
|
|
|
%files c++-devel
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
|
|
|
%{_includedir}/uuid++.hh
|
|
|
|
%{_includedir}/uuid++.hh
|
|
|
|
%{_libdir}/libossp-uuid++.so
|
|
|
|
%{_libdir}/libossp-uuid++.so
|
|
|
|
%{_mandir}/man3/uuid++.3*
|
|
|
|
%{_mandir}/man3/uuid++.3*
|
|
|
|
|
|
|
|
|
|
|
|
%files perl
|
|
|
|
%files perl
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
|
|
|
%{perl_vendorarch}/auto/*
|
|
|
|
%{perl_vendorarch}/auto/*
|
|
|
|
%{perl_vendorarch}/OSSP*
|
|
|
|
%{perl_vendorarch}/OSSP*
|
|
|
|
%{_mandir}/man3/OSSP::uuid.3*
|
|
|
|
%{_mandir}/man3/OSSP::uuid.3*
|
|
|
|
|
|
|
|
|
|
|
|
%files dce
|
|
|
|
%files dce
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
|
|
|
%{_libdir}/libossp-uuid_dce.so.*
|
|
|
|
%{_libdir}/libossp-uuid_dce.so.*
|
|
|
|
|
|
|
|
|
|
|
|
%files dce-devel
|
|
|
|
%files dce-devel
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
|
|
|
%{_includedir}/uuid_dce.h
|
|
|
|
%{_includedir}/uuid_dce.h
|
|
|
|
%{_libdir}/libossp-uuid_dce.so
|
|
|
|
%{_libdir}/libossp-uuid_dce.so
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Fri Oct 30 2020 Michal Hlavinka <mhlavink@redhat.com> - 1.6.2-43
|
|
|
|
* Thu Feb 24 2022 Michal Hlavinka <mhlavink@redhat.com> - 1.6.2-55
|
|
|
|
- fix multilib compatibility (#1853169)
|
|
|
|
- fix build flags (#2044896)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 1.6.2-53
|
|
|
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Aug 6 2021 Florian Weimer <fweimer@redhat.com> - 1.6.2-52
|
|
|
|
|
|
|
|
- Rebuild to pick up new build flags from redhat-rpm-config (#1984652)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.6.2-51
|
|
|
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.2-50
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.2-49
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1.6.2-48
|
|
|
|
|
|
|
|
- Perl 5.32 rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Mar 16 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1.6.2-47
|
|
|
|
|
|
|
|
- Specify all perl dependencies
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.2-46
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.2-45
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.6.2-44
|
|
|
|
|
|
|
|
- Perl 5.30 rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.2-43
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Oct 15 2018 Michal Hlavinka <mhlavink@redhat.com> - 1.6.2-42
|
|
|
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.2-42
|
|
|
|
- fix coverity scan found issues (#1602724)
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Oct 02 2018 Michal Hlavinka <mhlavink@redhat.com> - 1.6.2-41
|
|
|
|
* Thu Jun 28 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.6.2-41
|
|
|
|
- make sure ldflags are used (#1630635)
|
|
|
|
- Perl 5.28 rebuild
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.2-40
|
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.2-40
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|