File tree 2 files changed +11
-5
lines changed
2 files changed +11
-5
lines changed Original file line number Diff line number Diff line change 3
3
# VERSION, RELEASE and LSB_VERSION get used by the spec file
4
4
PACKAGE =lsb-appchk-perl
5
5
VERSION =4.0.1
6
- RELEASE =1
6
+ RELEASE =2
7
7
# default version we will test against - change as needed
8
8
LSB_VERSION =4.0
9
9
@@ -70,13 +70,17 @@ all: rpm_package
70
70
endif
71
71
72
72
clean :
73
- @rm -f * .rpm * .deb * .tar.gz * perldeps.pl
73
+ @rm -f * .rpm * .deb * .tar.gz * perldeps.pl $( PACKAGE ) .spec
74
74
75
75
gensrc :
76
76
mysql $(DBOPTS ) $$ LSBDB < get_perl_modules.sql > $(MODULE_LIST )
77
77
78
78
tarball : $(MODULE_LIST ) $(SOURCE1 ) $(SOURCE2 )
79
79
80
+ # Specfile generation rule
81
+ % .spec : % .spec.sed
82
+ sed -e " s#@VERSION@#` echo $( VERSION) ` #" -e " s#@RELEASE@#` echo $( RELEASE) ` #" < $< > $@
83
+
80
84
deb_package : rpm_package
81
85
@fakeroot alien -cdk $(RPM_BINARY_NAME )
82
86
Original file line number Diff line number Diff line change
1
+ # %{ver}, %{rel} are provided by the Makefile
2
+ %d e fine ver @VERSION@
3
+ %d e fine rel @RELEASE@
1
4
%d e fine basedir /opt/lsb
2
- # %{version}, %{rel} are provided by the Makefile
5
+
3
6
Summa ry: LSB Perl Application Checker
4
7
N a me: lsb-appchk-perl
5
- Version: %{version }
8
+ Ve rsion: %{ver }
6
9
R elease: %{rel}
7
10
Li cense: GPL
8
11
G r oup: Development/Tools
@@ -13,7 +16,6 @@ Source3: lsb-perl-modules.list
13
16
P a tch0: perldeps-patch-for-lsb.patch
14
17
P a tch1: perldeps-bug-2006.patch
15
18
UR L: http://www.linuxbase.org/test
16
- #Prefix: %{_prefix}
17
19
Bui ldRoot: %{_tmppath}/%{name}-root
18
20
Aut oReqProv: n o
19
21
Bui ldArch: noarch
You can’t perform that action at this time.
0 commit comments