فهرست منبع

copy the correct header files to conform with ISO standard C++

Michael Schloh von Bennewitz 21 سال پیش
والد
کامیت
c6ab5b5273
2فایلهای تغییر یافته به همراه6 افزوده شده و 2 حذف شده
  1. 3 1
      postgresql/postgresql.spec
  2. 3 1
      postgresql8/postgresql8.spec

+ 3 - 1
postgresql/postgresql.spec

@@ -391,8 +391,10 @@ AutoReqProv:  no
       %{l_shtool} mkdir -f -p -m 755 \
           $RPM_BUILD_ROOT%{l_prefix}/include/pqxx
       %{l_shtool} install -c -m 644 \
-          include/pqxx/*.h \
+          include/pqxx/* \
           $RPM_BUILD_ROOT%{l_prefix}/include/pqxx/
+      rm -f $RPM_BUILD_ROOT%{l_prefix}/include/pqxx/Makefile*
+      rm -f $RPM_BUILD_ROOT%{l_prefix}/include/pqxx/config.h*
       %{l_shtool} install -c -m 644 \
           src/.libs/libpqxx.a \
           $RPM_BUILD_ROOT%{l_prefix}/lib/

+ 3 - 1
postgresql8/postgresql8.spec

@@ -393,8 +393,10 @@ Provides:     postgresql = %{version}
       %{l_shtool} mkdir -f -p -m 755 \
           $RPM_BUILD_ROOT%{l_prefix}/include/pqxx
       %{l_shtool} install -c -m 644 \
-          include/pqxx/*.h \
+          include/pqxx/* \
           $RPM_BUILD_ROOT%{l_prefix}/include/pqxx/
+      rm -f $RPM_BUILD_ROOT%{l_prefix}/include/pqxx/Makefile*
+      rm -f $RPM_BUILD_ROOT%{l_prefix}/include/pqxx/config.h*
       %{l_shtool} install -c -m 644 \
           src/.libs/libpqxx.a \
           $RPM_BUILD_ROOT%{l_prefix}/lib/