commit libcamgm for openSUSE:Factory
Hello community, here is the log from the commit of package libcamgm for openSUSE:Factory checked in at 2014-06-25 06:58:01 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libcamgm (Old) and /work/SRC/openSUSE:Factory/.libcamgm.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "libcamgm" Changes: -------- --- /work/SRC/openSUSE:Factory/libcamgm/libcamgm.changes 2014-05-02 20:52:17.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.libcamgm.new/libcamgm.changes 2014-06-25 06:58:11.000000000 +0200 @@ -1,0 +2,17 @@ +Thu Jun 19 14:18:08 UTC 2014 - mc@suse.com + +- replace expired certificate in the testsuite + +------------------------------------------------------------------- +Thu May 15 14:35:48 UTC 2014 - tchvatal@suse.com + +- Add back support for other fedora as it is still sometimes used + +------------------------------------------------------------------- +Thu May 15 14:12:56 UTC 2014 - tchvatal@suse.com + +- Cleanup with spec-cleaner +- Remove conditional for other distros that we don't even build for +- Silence some of the rpmlint warnings + +------------------------------------------------------------------- Old: ---- libcamgm-1.0.4.tar.bz2 New: ---- libcamgm-1.0.5.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libcamgm.spec ++++++ --- /var/tmp/diff_new_pack.PKfVCt/_old 2014-06-25 06:58:12.000000000 +0200 +++ /var/tmp/diff_new_pack.PKfVCt/_new 2014-06-25 06:58:12.000000000 +0200 @@ -16,28 +16,25 @@ # -%define ruby_archdir %(ruby -r rbconfig -e "print RbConfig::CONFIG['vendorarchdir']") - Name: libcamgm -Version: 1.0.4 +Version: 1.0.5 Release: 0 +Summary: CA Management Library +License: LGPL-2.1 +Group: Development/Libraries/C and C++ Url: https://github.com/openSUSE/libcamgm -BuildRoot: %{_tmppath}/%{name}-%{version}-build - Source0: libcamgm-%{version}.tar.bz2 Source1: baselibs.conf -Prefix: /usr - BuildRequires: autoconf BuildRequires: automake BuildRequires: boost-devel -BuildRequires: curl BuildRequires: dejagnu BuildRequires: doxygen +BuildRequires: fdupes BuildRequires: gcc-c++ -BuildRequires: libopenssl-devel +BuildRequires: libcurl-devel BuildRequires: libtool -BuildRequires: openssl +BuildRequires: openssl-devel BuildRequires: pcre-devel BuildRequires: perl-gettext BuildRequires: pkg-config @@ -46,19 +43,13 @@ BuildRequires: swig BuildRequires: translation-update-upstream Requires: openssl - +BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?fedora_version} BuildRequires: openssl-perl -Requires: openssl-perl -%endif -%if 0%{?fedora_version} >= 7 BuildRequires: perl-ExtUtils-Embed +Requires: openssl-perl %endif -Summary: CA Management Library -License: LGPL-2.1 -Group: Development/Libraries/C and C++ - %description The CA Management Library provides methods for managing a certificate authority. @@ -69,16 +60,12 @@ %description -n %{name}100 The CA Management Library provides methods for managing a certificate authority. - %package devel -Requires: %{name}100 = %version -Requires: openssl-devel -Requires: pcre-devel Summary: CA Management Library Development Files Group: Development/Libraries/C and C++ -%if 0%{?suse_version} >= 1030 -Requires: libopenssl-devel -%endif +Requires: %{name}100 = %{version} +Requires: openssl-devel +Requires: pcre-devel %description devel The CA Management Library provides methods for managing @@ -86,13 +73,13 @@ development documentation. %package -n perl-camgm -%if 0%{?fedora_version} >= 7 -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +Summary: CA Management Library Perl Bindings +Group: Development/Languages/Perl +%if 0%{?fedora_version} +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) %else Requires: perl = %{perl_version} %endif -Summary: CA Management Library Perl Bindings -Group: Development/Languages/Perl %description -n perl-camgm The CA Management Library provides methods for managing @@ -101,9 +88,9 @@ This package provides the perl bindings to the CA Management Library. %package -n ruby-camgm -Requires: ruby Summary: CA Management Library Ruby Bindings Group: Development/Languages/Ruby +Requires: ruby %description -n ruby-camgm The CA Management Library provides methods for managing @@ -112,9 +99,9 @@ This package provides the ruby bindings to the CA Management Library. %package -n python-camgm -Requires: python Summary: CA Management Library Python Bindings Group: Development/Languages/Python +Requires: python %description -n python-camgm The CA Management Library provides methods for managing @@ -123,67 +110,63 @@ This package provides the python bindings to the CA Management Library. %prep -%setup +%setup -q translation-update-upstream %build -autoreconf --force --install --verbose +autoreconf -fvi -export CFLAGS="$RPM_OPT_FLAGS -DNDEBUG" -export CXXFLAGS="$RPM_OPT_FLAGS -DNDEBUG" +export CFLAGS="%{optflags} -DNDEBUG" +export CXXFLAGS="%{optflags} -DNDEBUG" -# workaround for fedora gettext check on x86_64 -sed -i -e 's/return (int) gettext/return (long) gettext/g' ./configure -./configure --libdir=%{_libdir} --prefix=%{prefix} --mandir=%{_mandir} \ - --sysconfdir=/etc --localstatedir=/var -make %{?jobs:-j%jobs} +# workaround for gettext check on x86_64 +sed -i -e 's/return (int) gettext/return (long) gettext/g' configure + +%configure +make %{?_smp_mflags} %install -make install DESTDIR="$RPM_BUILD_ROOT" +make DESTDIR=%{buildroot} install %{?_smp_mflags} -mkdir -p $RPM_BUILD_ROOT/var/lib/ -install -d -m 0700 $RPM_BUILD_ROOT/var/lib/CAM -install -d -m 0755 $RPM_BUILD_ROOT/var/lib/CAM/.cas/ -install -m 0644 %{_builddir}/%{name}-%{version}/src/openssl.cnf.tmpl $RPM_BUILD_ROOT/var/lib/CAM/ -%find_lang %name +mkdir -p %{buildroot}%{_localstatedir}/lib/ +install -d -m 0700 %{buildroot}%{_localstatedir}/lib/CAM +install -d -m 0755 %{buildroot}%{_localstatedir}/lib/CAM/.cas/ +install -m 0644 %{_builddir}/%{name}-%{version}/src/openssl.cnf.tmpl %{buildroot}%{_localstatedir}/lib/CAM/ +%find_lang %{name} +%fdupes %{buildroot} %check -# testcases run only successfull with openssl >= 1.0 -%if 0%{?suse_version} > 1220 # required for perl test cases -export LD_LIBRARY_PATH="$RPM_BUILD_ROOT/usr/lib/" +export LD_LIBRARY_PATH="%{buildroot}%{_libexecdir}/" %ifarch x86_64 -make check DESTDIR="$RPM_BUILD_ROOT" +make check DESTDIR=%{buildroot} %{?_smp_mflags} %else # openssl command output differ between architectures # openssl 1.0.1c -make check DESTDIR="$RPM_BUILD_ROOT" ||: -%endif +make check DESTDIR=%{buildroot} %{?_smp_mflags} ||: %endif -%post -n %{name}100 -/sbin/ldconfig +%post -n %{name}100 -p /sbin/ldconfig -%postun -n %{name}100 -/sbin/ldconfig +%postun -n %{name}100 -p /sbin/ldconfig -%files -n %{name}100 -f %name.lang +%files -n %{name}100 -f %{name}.lang %defattr(-,root,root) -%docdir %_defaultdocdir/libcamgm -%dir %_defaultdocdir/libcamgm -%_defaultdocdir/libcamgm/COPYING -%_defaultdocdir/libcamgm/README.mkd -%attr(0700,root,root) %dir /var/lib/CAM -%attr(0755,root,root) %dir /var/lib/CAM/.cas -%config /var/lib/CAM/openssl.cnf.tmpl +%docdir %{_defaultdocdir}/libcamgm +%dir %{_defaultdocdir}/libcamgm +%{_defaultdocdir}/libcamgm/COPYING +%{_defaultdocdir}/libcamgm/README.mkd +%attr(0700,root,root) %dir %{_localstatedir}/lib/CAM +%attr(0755,root,root) %dir %{_localstatedir}/lib/CAM/.cas +%config %{_localstatedir}/lib/CAM/openssl.cnf.tmpl %{_libdir}/lib*.so.* %files devel %defattr(-,root,root) -%docdir %_defaultdocdir/libcamgm -%dir %_defaultdocdir/libcamgm -%_defaultdocdir/libcamgm/autodocs -%_defaultdocdir/libcamgm/examples +%docdir %{_defaultdocdir}/libcamgm +%dir %{_defaultdocdir}/libcamgm +%{_defaultdocdir}/libcamgm/autodocs +%{_defaultdocdir}/libcamgm/examples %{_libdir}/lib*.so %{_libdir}/lib*.la %dir %{_includedir}/ca-mgm @@ -202,10 +185,10 @@ %files -n ruby-camgm %defattr(-,root,root) -%ruby_archdir/*.so +%{rb_vendorarchdir}/*.so %files -n python-camgm %defattr(-,root,root) -%py_libdir/* +%{python_sitearch}/* %changelog ++++++ libcamgm-1.0.4.tar.bz2 -> libcamgm-1.0.5.tar.bz2 ++++++ ++++ 4277 lines of diff (skipped) -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de