Skip to content

Commit 9ee6215

Browse files
committed
Fixed RPM generation (using supplied spec file) for gnustep-make
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@32603 72102866-910b-0410-8b05-ffd578937521
1 parent ecba301 commit 9ee6215

File tree

3 files changed

+14
-3
lines changed

3 files changed

+14
-3
lines changed

ChangeLog

+8
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
2011-03-16 Nicola Pero <nicola.pero@meta-innovation.com>
2+
3+
* GNUmakefile.in (rpm): Depend on svn-dist and updated
4+
location of .tar.gz file to copy.
5+
* gnustep-make.spec.in (CFLAGS): Added --with-layout=gnustep
6+
to configure command.
7+
(%files): Added /etc/GNUstep/GNUstep.conf.
8+
19
2011-03-16 Nicola Pero <nicola.pero@meta-innovation.com>
210

311
* Documentation/gnustep-filesystem.texi: Updated documentation for

GNUmakefile.in

+2-2
Original file line numberDiff line numberDiff line change
@@ -377,8 +377,8 @@ test-RPM_TOPDIR:
377377
# rpmbuild and used 'rpm -ba' instead. It can be removed when we are
378378
# reasonably sure no more old RPM versions (not having rpmbuild), are
379379
# still around.
380-
rpm: test-RPM_TOPDIR dist
381-
cp ../gnustep-make-$(GNUSTEP_MAKE_VERSION).tar.gz $(RPM_TOPDIR)/SOURCES/
380+
rpm: test-RPM_TOPDIR svn-dist
381+
cp gnustep-make-$(GNUSTEP_MAKE_VERSION).tar.gz $(RPM_TOPDIR)/SOURCES/
382382
cp gnustep-make.spec $(RPM_TOPDIR)/SPECS/
383383
cd $(RPM_TOPDIR)/SPECS/
384384
if which rpmbuild > /dev/null 2>/dev/null; then \

gnustep-make.spec.in

+4-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ GNUstep filesystem layout based on %{gs_prefix}.
3333
%setup -n %{gs_name}-%{gs_version}
3434

3535
%build
36-
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{gs_prefix} --with-library-combo=%{gs_libcombo}
36+
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{gs_prefix} --with-library-combo=%{gs_libcombo} --with-layout=gnustep
3737
make
3838

3939
%install
@@ -65,6 +65,9 @@ rm -rf $RPM_BUILD_ROOT
6565
# the package everything which was installed inside /usr/GNUstep/
6666
%{gs_prefix}
6767

68+
# Also include the GNUstep config file
69+
/etc/GNUstep/GNUstep.conf
70+
6871
# Add the profiles for linux as configuration files <FIXME gdomap etc>
6972
%ifos Linux
7073
%config /etc/profile.d/GNUstep.sh

0 commit comments

Comments
 (0)