public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Denis Arnaud <denis.arnaud_fedora@m4x.org>
To: git-commits@fedoraproject.org
Subject: [rpms/soci] update-to-4.1.4: Update to upstream release 4.0.0-rc1
Date: Sat, 20 Jun 2026 04:39:46 GMT [thread overview]
Message-ID: <178193038610.1.11535343966259765548.rpms-soci-060bcf37ffcf@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/soci
Branch : update-to-4.1.4
Commit : 060bcf37ffcf119ca5c9c890edd3b75f698d8fd4
Author : Denis Arnaud <denis.arnaud_fedora@m4x.org>
Date : 2019-10-26T12:56:29+02:00
Stats : +20/-21 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/soci/c/060bcf37ffcf119ca5c9c890edd3b75f698d8fd4?branch=update-to-4.1.4
Log:
Update to upstream release 4.0.0-rc1
Slightly modernized the RPM spec file
---
diff --git a/.gitignore b/.gitignore
index 584c1ff..8d7d3eb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,10 +1,10 @@
soci-*.tar.*
soci-*.zip
soci-*.src.rpm
-.gitignore
clog
.build-*
-/soci-3.?.?
+/soci-?.?.?
+/soci-?.?.?-rc*
/noarch
/x86_64
diff --git a/soci.spec b/soci.spec
index 0b4ec7e..9f7d301 100644
--- a/soci.spec
+++ b/soci.spec
@@ -32,10 +32,8 @@ Summary: The database access library for C++ programmers
License: Boost
URL: http://%{name}.sourceforge.net
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{full_version}.tar.gz
-#Patch0: soci-001-fix-auto_ptr-c++11.patch
-#Patch1: sqlite-params-default-init-fix.patch
-
+BuildRequires: dos2unix
BuildRequires: gcc gcc-c++
BuildRequires: cmake
BuildRequires: boost-devel
@@ -184,8 +182,6 @@ library. The documentation is the same as at the %{name} web page.
%prep
%setup -q -n %{name}-%{full_version}
-#%%patch0 -p1
-#%%patch1 -p1
# Rename change-log and license file, so that they comply with
# packaging standard
@@ -195,7 +191,11 @@ mv LICENSE_1_0.txt COPYING
echo "2019-10-26:" > NEWS
echo "- Version 4.0.0-rc1" >> NEWS
echo "- See the ChangeLog file for more details." >> NEWS
-
+# Remove the spurious executable permission
+chmod a-x AUTHORS README ChangeLog COPYING NEWS
+find docs -type f -exec chmod a-x {} \;
+# Unix ends of line
+dos2unix AUTHORS README ChangeLog COPYING NEWS
%build
# Support for building tests.
@@ -210,7 +210,6 @@ echo "- See the ChangeLog file for more details." >> NEWS
mkdir tmpbuild
pushd tmpbuild
-# -DCMAKE_INSTALL_PREFIX:PATH=$RPM_BUILD_ROOT
%cmake \
-DSOCI_EMPTY=%{?with_empty:ON}%{?without_empty:OFF} \
-DSOCI_SQLITE3=%{?with_sqlite3:ON}%{?without_sqlite3:OFF} \
@@ -219,17 +218,20 @@ pushd tmpbuild
-DSOCI_ODBC=%{?with_odbc:ON}%{?without_odbc:OFF} \
-DWITH_ORACLE=%{?with_oracle:ON %{?_with_oracle_incdir} %{?_with_oracle_libdir}}%{?without_oracle:OFF} \
%{soci_testflags} ..
-make VERBOSE=1 %{?_smp_mflags}
+%make_build
popd
%install
-rm -rf $RPM_BUILD_ROOT
pushd tmpbuild
-make install DESTDIR=$RPM_BUILD_ROOT
+%make_install
popd
-##
-# Remove unpackaged files from the buildroot
-rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
+
+# CMake helpers
+mkdir -p %{buildroot}%{_datadir}/%{name}
+mv -f %{buildroot}%{_prefix}/cmake %{buildroot}%{_datadir}/%{name}/CMake
+
+# Remove unpackaged files from the buildroot
+rm -f %{buildroot}%{_libdir}/*.a
%ldconfig_scriptlets
@@ -283,37 +285,33 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
%{?with_empty:%{_includedir}/%{name}/empty/}
%{_libdir}/lib%{name}_core.so
%{?with_empty:%{_libdir}/lib%{name}_empty.so}
+%{_datadir}/%{name}/CMake
%{?with_sqlite3:%files sqlite3-devel
-%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING NEWS README
%dir %{_includedir}/%{name}
%{_includedir}/%{name}/sqlite3/
%{_libdir}/lib%{name}_sqlite3.so}
%{?with_mysql:%files mysql-devel
-%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING NEWS README
%dir %{_includedir}/%{name}
%{_includedir}/%{name}/mysql
%{_libdir}/lib%{name}_mysql.so}
%{?with_postgresql:%files postgresql-devel
-%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING NEWS README
%dir %{_includedir}/%{name}
%{_includedir}/%{name}/postgresql
%{_libdir}/lib%{name}_postgresql.so}
%{?with_odbc:%files odbc-devel
-%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING NEWS README
%dir %{_includedir}/%{name}
%{_includedir}/%{name}/odbc/
%{_libdir}/lib%{name}_odbc.so}
%{?with_oracle:%files oracle-devel
-%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING NEWS README
%dir %{_includedir}/%{name}
%{_includedir}/%{name}/oracle
@@ -321,12 +319,13 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
%files doc
-%doc AUTHORS ChangeLog COPYING NEWS README doc
+%doc AUTHORS ChangeLog COPYING NEWS README docs
%changelog
* Sat Oct 26 2019 Denis Arnaud <denis.arnaud_fedora@m4x.org> 4.0.0-1
- Update to upstream release 4.0.0-rc1
+- Slightly modernized the RPM spec file
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.3-20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
next reply other threads:[~2026-06-20 4:39 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-20 4:39 Denis Arnaud [this message]
-- strict thread matches above, loose matches on Subject: below --
2026-06-20 4:39 [rpms/soci] update-to-4.1.4: Update to upstream release 4.0.0-rc1 Denis Arnaud
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=178193038610.1.11535343966259765548.rpms-soci-060bcf37ffcf@fedoraproject.org \
--to=denis.arnaud_fedora@m4x.org \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox